From bfcb4d7b84bb5dfefbbe2e3f81b90bbc85fa13c8 Mon Sep 17 00:00:00 2001 From: Major Date: Fri, 1 Dec 2023 10:54:15 +0100 Subject: [PATCH] fix: order of cards & typo --- CHANGELOG.md | 2 ++ apps/common/components/Apps.tsx | 52 ++++++++++++++--------------- pages/index.tsx | 58 +++++++++++++-------------------- 3 files changed, 51 insertions(+), 61 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36f430b0c..3ff41ffd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/apps/common/components/Apps.tsx b/apps/common/components/Apps.tsx index d301b5089..84f1930c6 100644 --- a/apps/common/components/Apps.tsx +++ b/apps/common/components/Apps.tsx @@ -65,6 +65,19 @@ export const APPS: {[key in AppName]: TApp} = { /> ) }, + veYFI: { + name: AppName.VEYFI, + menu: VEYFI_MENU, + href: '/veyfi', + manifest: veyfiManifest, + icon: ( + + ) + }, yCRV: { name: AppName.YCRV, href: '/ycrv', @@ -100,32 +113,6 @@ export const APPS: {[key in AppName]: TApp} = { /> ) }, - veYFI: { - name: AppName.VEYFI, - menu: VEYFI_MENU, - href: '/veyfi', - manifest: veyfiManifest, - icon: ( - - ) - }, - yBribe: { - name: AppName.YBRIBE, - href: '/ybribe', - menu: YBRIBE_MENU, - manifest: ybribeManifest, - icon: ( - - ) - }, yETH: { name: AppName.YETH, href: 'https://yeth.yearn.fi', @@ -159,5 +146,18 @@ export const APPS: {[key in AppName]: TApp} = { priority /> ) + }, + yBribe: { + name: AppName.YBRIBE, + href: '/ybribe', + menu: YBRIBE_MENU, + manifest: ybribeManifest, + icon: ( + + ) } }; diff --git a/pages/index.tsx b/pages/index.tsx index efeb1e82d..3b70ac0c2 100755 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -34,33 +34,6 @@ const apps = [ /> ) }, - { - href: '/ycrv', - title: 'yCRV', - description: 'get the best CRV yields in DeFi.', - icon: ( - - ) - }, - // { - // href: '/ybal', - // title: 'yBal', - // description: 'get the best Balancer yields in DeFi.', - // icon: {'yBal'} - // }, { href: '/veyfi', title: 'veYFI', @@ -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: ( - ) }, @@ -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: ( ) + }, + { + href: '/ybribe', + title: 'yBribe', + description: 'sell votes, or buy them.\njust like democracy.', + icon: ( + + ) } ]; function AppBox({app}: {app: (typeof apps)[0]}): ReactElement {