From 0b90dc53b9db728f467251e135b00841de22c180 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Criado-P=C3=A9rez?= Date: Thu, 24 Mar 2022 14:35:59 +0100 Subject: [PATCH] navigation --- src/common/navigation.yaml | 6 ++++++ src/components/header.tsx | 24 ++++-------------------- 2 files changed, 10 insertions(+), 20 deletions(-) diff --git a/src/common/navigation.yaml b/src/common/navigation.yaml index f45acc55..1aa48f05 100644 --- a/src/common/navigation.yaml +++ b/src/common/navigation.yaml @@ -84,6 +84,12 @@ sections: - external: href: 'https://stacks.js.org/' title: Stacks.js + - external: + href: 'https://www.stacks.co/learn/learning-resources' + title: Learning Resources + - external: + href: 'https://www.stacks.co/explore/discover-apps' + title: Discover Apps sections: - title: Contracts usePageTitles: true diff --git a/src/components/header.tsx b/src/components/header.tsx index b2d1d1a7..15dce3d9 100644 --- a/src/components/header.tsx +++ b/src/components/header.tsx @@ -64,25 +64,6 @@ interface NavItem { } const nav: NavItem[] = [ - { - label: 'Start building', - href: '', - children: [ - { - label: 'Documentation', - href: 'https://docs.stacks.co/', - target: '_self', - }, - { - label: 'GitHub', - href: 'https://github.com/stacks-network', - }, - { - label: LEARNING_RESOURCES, - href: 'https://www.stacks.co/learn/learning-resources', - }, - ], - }, { label: COMMUNITY, href: '', @@ -95,9 +76,12 @@ const nav: NavItem[] = [ label: 'Forum', href: 'https://forum.stacks.org', }, + { + label: 'GitHub', + href: 'https://github.com/stacks-network', + }, ], }, - { label: 'Discover apps', href: 'https://www.stacks.co/explore/discover-apps' }, { label: LANGUAGES, href: '',