Skip to content

Commit 4df5c1c

Browse files
authored
Merge pull request #1674 from QuickSwap/feature/powerby-algebra-pools
2 parents ef0ebe6 + 3bc9184 commit 4df5c1c

File tree

3 files changed

+31
-7
lines changed

3 files changed

+31
-7
lines changed

src/assets/images/algebra-logo.png

-1.29 KB
Loading

src/pages/PoolsPage/PoolsPage.tsx

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import { HypeLabAds } from 'components';
2020
import LockLiquidity from './lpLock/LockLiquidity';
2121
import { useParams } from 'react-router-dom';
2222
import { SingleTokenSupplyLiquidity } from './SingleToken/SupplyLiquidity';
23+
import AlgebraLogo from 'assets/images/algebra-logo.png';
2324

2425
const YourLiquidityPools = lazy(() => import('./YourLiquidityPools'));
2526
const MyLiquidityPoolsV3 = lazy(() => import('./v3/MyLiquidityPoolsV3'));
@@ -77,7 +78,7 @@ const PoolsPage: React.FC = () => {
7778
}, [showPools]);
7879

7980
return (
80-
<Box width='100%' mb={3}>
81+
<Box mb={3} p={3}>
8182
{isMobile ? (
8283
<>
8384
<Box mt={2} className='pageHeading'>
@@ -92,6 +93,19 @@ const PoolsPage: React.FC = () => {
9293
</Box>
9394
)}
9495
</Box>
96+
<Box
97+
style={{
98+
display: 'flex',
99+
alignItems: 'center',
100+
gap: '4px',
101+
justifyContent: 'end',
102+
}}
103+
>
104+
<p>
105+
<span>{t('poweredBy')}</span>
106+
</p>
107+
<img src={AlgebraLogo} alt='poweredby' style={{ width: '72px' }} />
108+
</Box>
95109
{showVersion && (
96110
<Box my={2}>
97111
<VersionToggle />
@@ -108,6 +122,18 @@ const PoolsPage: React.FC = () => {
108122
</Box>
109123
)}
110124
</Box>
125+
<Box
126+
style={{
127+
display: 'flex',
128+
alignItems: 'center',
129+
gap: '4px',
130+
}}
131+
>
132+
<p>
133+
<span>{t('poweredBy')}</span>
134+
</p>
135+
<img src={AlgebraLogo} alt='poweredby' style={{ width: '72px' }} />
136+
</Box>
111137
</Box>
112138
)}
113139
{/* <Box margin='24px auto'>

src/pages/SwapPage/SwapMain.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -283,12 +283,10 @@ const SwapMain: React.FC = () => {
283283
justifyContent: 'end',
284284
}}
285285
>
286-
<p style={{ fontSize: '12px' }}>Powered by</p>
287-
<img
288-
src={AlgebraLogo}
289-
alt='poweredby'
290-
style={{ width: '26%', marginBottom: '2px' }}
291-
/>
286+
<p>
287+
<span>{t('poweredBy')}</span>
288+
</p>
289+
<img src={AlgebraLogo} alt='poweredby' style={{ width: '72px' }} />
292290
</Box>
293291
)}
294292
</Box>

0 commit comments

Comments
 (0)