Skip to content

Commit

Permalink
SOV-3372: update alpha links (#680)
Browse files Browse the repository at this point in the history
* feat: clean up candy box menu links to alpha dapp

* chore: add changeset
  • Loading branch information
soulBit authored Nov 20, 2023
1 parent 42c092e commit 4509411
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 26 deletions.
5 changes: 5 additions & 0 deletions .changeset/wicked-kings-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'frontend': patch
---

SOV-3372: clean up Sovryn Alpha links in dapp candybox menu
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { useOnClickOutside } from '@sovryn/ui';

import { ReactComponent as AppsIcon } from '../../../../../assets/images/apps-icon.svg';
import { translations } from '../../../../../locales/i18n';
import { getBitocracyUrl, generateD1Link } from '../../../../../utils/helpers';
import { generateD1Link } from '../../../../../utils/helpers';
import { ProductLink } from '../ProductLink/ProductLink';
import styles from './ProductLinks.module.css';

Expand Down Expand Up @@ -39,11 +39,6 @@ export const ProductLinks: FC = () => {
{t(translations.productLinks.title)}
</h3>
<ol className={styles.list}>
<ProductLink
href={generateD1Link('/swap')}
label={t(translations.productLinks.swap.title)}
description={t(translations.productLinks.swap.description)}
/>
<ProductLink
href={generateD1Link('/spot')}
label={t(translations.productLinks.spot.title)}
Expand All @@ -54,26 +49,6 @@ export const ProductLinks: FC = () => {
label={t(translations.productLinks.trade.title)}
description={t(translations.productLinks.trade.description)}
/>
<ProductLink
href={generateD1Link('/yield-farm')}
label={t(translations.productLinks.yield.title)}
description={t(translations.productLinks.yield.description)}
/>
<ProductLink
href={generateD1Link('/lend')}
label={t(translations.productLinks.lend.title)}
description={t(translations.productLinks.lend.description)}
/>
<ProductLink
href={generateD1Link('/borrow')}
label={t(translations.productLinks.borrow.title)}
description={t(translations.productLinks.borrow.description)}
/>
<ProductLink
href={getBitocracyUrl()}
label={t(translations.productLinks.vote.title)}
description={t(translations.productLinks.vote.description)}
/>
</ol>
</div>
</li>
Expand Down

0 comments on commit 4509411

Please sign in to comment.