Skip to content

Commit

Permalink
Merge pull request #1931 from SwaprHQ/smolUpdate
Browse files Browse the repository at this point in the history
Few small changes due
  • Loading branch information
0xVenky authored Dec 10, 2024
2 parents 28178df + 16238fd commit eeb83cd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion src/components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,9 @@ function Header() {
<path d="M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"></path>
</svg>
</div>
<HeaderLink data-testid="pools-nav-link" id="pools-nav-link" to="/pools">
{t('Pools V2')}
</HeaderLink>
<div style={{ display: 'flex', alignItems: 'center' }}>
<HeaderLink id="stackly-nav-link" href={STACKLY_URL}>
{t('DCA')}
Expand Down Expand Up @@ -450,7 +453,9 @@ function Header() {
</Text>
</HeaderMobileLink>

<HeaderMobileLink id="pools-nav-link-mobile" to="/pools">
{t('Pools V2')}
</HeaderMobileLink>
<HeaderMobileLink id="stackly-nav-link" href={STACKLY_URL}>
{t('DCA')}
<Text ml="4px" fontSize="11px">
Expand Down
4 changes: 4 additions & 0 deletions src/pages/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ export default function App() {
<Text as="span" fontWeight="bold">
swapr.eth.limo
</Text>
&nbsp;or&nbsp;
<Text as="span" fontWeight="bold">
swapr.eth.link
</Text>
</TextBanner>
<CloseIcon height={16} width={16} onClick={() => setIsOpenBanner(false)} />
</WarningBanner>
Expand Down
4 changes: 0 additions & 4 deletions src/pages/Pools/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ import { TYPE } from '../../theme'
import { PageWrapper } from '../../ui/StyledElements/PageWrapper'
import { getAccountAnalyticsLink } from '../../utils'
import { unwrappedToken } from '../../utils/wrappedCurrency'

import LiquidityV3Banner from './LiquidityV3Banner'

const TitleRow = styled(RowBetween)`
${({ theme }) => theme.mediaWidth.upToSmall`
flex-wrap: wrap;
Expand Down Expand Up @@ -225,7 +222,6 @@ export default function Pools() {
<PageWrapper>
<AutoColumn gap="lg" justify="center">
<AutoColumn gap="27px" style={{ width: '100%' }}>
<LiquidityV3Banner />
<Title
aggregatedDataFilter={aggregatedDataFilter}
onCurrencySelection={handleCurrencySelect}
Expand Down

0 comments on commit eeb83cd

Please sign in to comment.