From 960e260dc176582efb56bed42c4c25fe72bd658f Mon Sep 17 00:00:00 2001 From: Gareth Fuller Date: Thu, 10 Oct 2024 08:56:32 +0100 Subject: [PATCH] chore: Deprecate pages (#5913) --- src/components/navs/AppNav/AppNavActions.vue | 2 - .../navs/AppNav/AppSidebar/SidebarContent.vue | 7 - .../navs/AppNav/DesktopLinks/DesktopLinks.vue | 24 -- src/pages/index.vue | 258 ++---------------- src/plugins/router/nav-guards.ts | 12 + 5 files changed, 30 insertions(+), 273 deletions(-) diff --git a/src/components/navs/AppNav/AppNavActions.vue b/src/components/navs/AppNav/AppNavActions.vue index 4e36c04163..1fa06f0e1f 100644 --- a/src/components/navs/AppNav/AppNavActions.vue +++ b/src/components/navs/AppNav/AppNavActions.vue @@ -2,7 +2,6 @@ import { computed } from 'vue'; import DarkModeToggle from '@/components/btns/DarkModeToggle.vue'; -import FeedbackBtn from '@/components/btns/FeedbackBtn.vue'; import useBreakpoints from '@/composables/useBreakpoints'; import { useSidebar } from '@/composables/useSidebar'; import useWeb3 from '@/services/web3/useWeb3'; @@ -37,7 +36,6 @@ function connectWalletHandler() {
- (); const navLinks = [ - { label: t('pool'), path: '/', goal: Goals.ClickNavPools }, - { label: t('swap'), path: `/${networkSlug}/swap`, goal: Goals.ClickNavSwap }, { label: t('claim'), path: `/${networkSlug}/claim`, goal: Goals.ClickNavClaim, }, - { - label: t('portfolio'), - path: `/${networkSlug}/portfolio`, - goal: Goals.ClickNavPortfolio, - }, { label: 'veBAL', path: `/${networkSlug}/vebal`, goal: Goals.ClickNavVebal }, ]; diff --git a/src/components/navs/AppNav/DesktopLinks/DesktopLinks.vue b/src/components/navs/AppNav/DesktopLinks/DesktopLinks.vue index cebf5e7479..a3d5851ecc 100644 --- a/src/components/navs/AppNav/DesktopLinks/DesktopLinks.vue +++ b/src/components/navs/AppNav/DesktopLinks/DesktopLinks.vue @@ -21,22 +21,6 @@ function isActive(page: string): boolean {