From c91759aa4d663d8dae2711b0c2e36ab2deea3d2e Mon Sep 17 00:00:00 2001 From: Eric Winer Date: Tue, 22 Oct 2024 16:42:21 -0400 Subject: [PATCH 1/2] remove broken links on homepage, navbar, and footer --- src/components/Footer.tsx | 31 +- src/components/navigation/categories.ts | 26 +- .../desktop/MainNavigationMenu.module.scss | 4 + .../navigation/desktop/MainNavigationMenu.tsx | 50 ++-- .../navigation/mobile/AccordionMenu.tsx | 66 +++-- src/components/pages/Home.tsx | 276 +++--------------- 6 files changed, 118 insertions(+), 335 deletions(-) diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 919cdadb..8df3d0a2 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -40,10 +40,6 @@ const sections = [ title: 'Docs', url: 'https://docs.near.org/', }, - { - title: 'Sandbox', - url: 'https://dev.near.org/sandbox', - }, { title: 'Tools', url: 'https://docs.near.org/tools/welcome', @@ -66,23 +62,6 @@ const sections = [ }, ], }, - { - title: 'Discover', - links: [ - { - title: 'Applications', - url: 'https://dev.near.org/applications', - }, - { - title: 'Components', - url: 'https://dev.near.org/components', - }, - { - title: 'Gateways', - url: 'https://dev.near.org/gateways', - }, - ], - }, { title: 'Ecosystem', links: [ @@ -90,6 +69,10 @@ const sections = [ title: 'Overview', url: '/ecosystem', }, + { + title: 'Applications', + url: 'https://dev.near.org/applications', + }, { title: 'News', url: 'https://dev.near.org/nearweekapp.near/widget/nearweek.com', @@ -127,10 +110,6 @@ const sections = [ title: 'Brand Toolkit', url: 'https://near.org/brand', }, - { - title: 'Privacy', - url: 'https://dev.near.org/privacy', - }, { title: 'Terms of Use', url: 'https://dev.near.org/terms', @@ -192,7 +171,7 @@ export const Footer = () => {