Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ strategies: add leverage in featured strategies #1432

Merged
merged 2 commits into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"i18n:scan": "i18next-scanner --config i18next-scanner.config.cjs"
},
"engines": {
"node": ">=16"
"node": "^20"
},
"dependencies": {
"@emotion/react": "^11.11.4",
Expand Down
58 changes: 29 additions & 29 deletions pages/strategies.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,35 +134,6 @@ const Strategies: NextPage = () => {
source: 'exactly' as const,
imgPath: '/img/strategies/featured_staking.svg',
},
{
title: t('Debit to Credit'),
description: t(
'Easily turn your current crypto-funded debit card into a credit card by getting a USDC borrow at a fixed rate.',
),
tags: [{ text: t('Advanced'), size: 'small' as const }],
button: (
<Link href={{ pathname: '/debit2credit' }} style={{ width: '100%' }}>
<Button
fullWidth
variant="contained"
onClick={() =>
track('Button Clicked', {
location: 'Strategies',
name: 'debit to credit',
href: '/debit2credit',
isNew: false,
})
}
>
{t('Get Started')}
</Button>
</Link>
),
isNew: false,
source: 'exactly' as const,
imgPath: '/img/strategies/featured_debit2credit.svg',
chainId: optimism.id,
},
{
title: t('Maximize your yield'),
description: t(
Expand Down Expand Up @@ -192,6 +163,35 @@ const Strategies: NextPage = () => {
source: 'exactly' as const,
imgPath: '/img/strategies/featured_leverage.svg',
},
{
title: t('Debit to Credit'),
description: t(
'Easily turn your current crypto-funded debit card into a credit card by getting a USDC borrow at a fixed rate.',
),
tags: [{ text: t('Advanced'), size: 'small' as const }],
button: (
<Link href={{ pathname: '/debit2credit' }} style={{ width: '100%' }}>
<Button
fullWidth
variant="contained"
onClick={() =>
track('Button Clicked', {
location: 'Strategies',
name: 'debit to credit',
href: '/debit2credit',
isNew: false,
})
}
>
{t('Get Started')}
</Button>
</Link>
),
isNew: false,
source: 'exactly' as const,
imgPath: '/img/strategies/featured_debit2credit.svg',
chainId: optimism.id,
},
{
title: t('Refinance Loans'),
description: t(
Expand Down
Loading