Skip to content

Commit

Permalink
fix: order of cards & typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Majorfi committed Dec 1, 2023
1 parent 37ce90f commit bfcb4d7
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 61 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# 0.3.2 (01/12/2023)

- Fix: description overwritten by default
- Fix: order of Apps on the index page
- Fix: typo in `every` (previously `Every`)

# 0.3.1 (30/11/2023)

Expand Down
52 changes: 26 additions & 26 deletions apps/common/components/Apps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,19 @@ export const APPS: {[key in AppName]: TApp} = {
/>
)
},
veYFI: {
name: AppName.VEYFI,
menu: VEYFI_MENU,
href: '/veyfi',
manifest: veyfiManifest,
icon: (
<LogoYearn
className={'h-8 w-8'}
back={'text-primary'}
front={'text-white'}
/>
)
},
yCRV: {
name: AppName.YCRV,
href: '/ycrv',
Expand Down Expand Up @@ -100,32 +113,6 @@ export const APPS: {[key in AppName]: TApp} = {
/>
)
},
veYFI: {
name: AppName.VEYFI,
menu: VEYFI_MENU,
href: '/veyfi',
manifest: veyfiManifest,
icon: (
<LogoYearn
className={'h-8 w-8'}
back={'text-primary'}
front={'text-white'}
/>
)
},
yBribe: {
name: AppName.YBRIBE,
href: '/ybribe',
menu: YBRIBE_MENU,
manifest: ybribeManifest,
icon: (
<LogoYearn
className={'h-8 w-8'}
back={'text-neutral-900'}
front={'text-neutral-0'}
/>
)
},
yETH: {
name: AppName.YETH,
href: 'https://yeth.yearn.fi',
Expand Down Expand Up @@ -159,5 +146,18 @@ export const APPS: {[key in AppName]: TApp} = {
priority
/>
)
},
yBribe: {
name: AppName.YBRIBE,
href: '/ybribe',
menu: YBRIBE_MENU,
manifest: ybribeManifest,
icon: (
<LogoYearn
className={'h-8 w-8'}
back={'text-neutral-900'}
front={'text-neutral-0'}
/>
)
}
};
58 changes: 23 additions & 35 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,33 +34,6 @@ const apps = [
/>
)
},
{
href: '/ycrv',
title: 'yCRV',
description: 'get the best CRV yields in DeFi.',
icon: (
<ImageWithFallback
alt={'yCRV'}
width={100}
height={100}
src={`${process.env.BASE_YEARN_ASSETS_URI}/1/${YCRV_TOKEN_ADDRESS}/logo-128.png`}
loading={'eager'}
priority
/>
)
},
// {
// href: '/ybal',
// title: 'yBal',
// description: 'get the best Balancer yields in DeFi.',
// icon: <Image
// alt={'yBal'}
// width={100}
// height={100}
// src={`${process.env.BASE_YEARN_ASSETS_URI}/1/${YBAL_TOKEN_ADDRESS}/logo-128.png`}
// loading={'eager'}
// priority />
// },
{
href: '/veyfi',
title: 'veYFI',
Expand All @@ -74,14 +47,17 @@ const apps = [
)
},
{
href: '/ybribe',
title: 'yBribe',
description: 'sell votes, or buy them.\njust like democracy.',
href: '/ycrv',
title: 'yCRV',
description: 'get the best CRV yields in DeFi.',
icon: (
<LogoYearn
className={'h-[100px] w-[100px]'}
back={'text-neutral-900'}
front={'text-neutral-0'}
<ImageWithFallback
alt={'yCRV'}
width={100}
height={100}
src={`${process.env.BASE_YEARN_ASSETS_URI}/1/${YCRV_TOKEN_ADDRESS}/logo-128.png`}
loading={'eager'}
priority
/>
)
},
Expand All @@ -103,7 +79,7 @@ const apps = [
{
href: 'https://yprisma.yearn.fi',
title: 'yPrisma',
description: 'Every rainbow needs a pot of gold.',
description: 'every rainbow needs a pot of gold.',
icon: (
<ImageWithFallback
alt={'yPrisma'}
Expand All @@ -114,6 +90,18 @@ const apps = [
priority
/>
)
},
{
href: '/ybribe',
title: 'yBribe',
description: 'sell votes, or buy them.\njust like democracy.',
icon: (
<LogoYearn
className={'h-[100px] w-[100px]'}
back={'text-neutral-900'}
front={'text-neutral-0'}
/>
)
}
];
function AppBox({app}: {app: (typeof apps)[0]}): ReactElement {
Expand Down

1 comment on commit bfcb4d7

@vercel
Copy link

@vercel vercel bot commented on bfcb4d7 Dec 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.