Browse Source

navigation

patch-criadoperez4
Alejandro Criado-Pérez 3 years ago
parent
commit
0b90dc53b9
No known key found for this signature in database GPG Key ID: 766DF93C61C31C03
  1. 6
      src/common/navigation.yaml
  2. 24
      src/components/header.tsx

6
src/common/navigation.yaml

@ -84,6 +84,12 @@ sections:
- external: - external:
href: 'https://stacks.js.org/' href: 'https://stacks.js.org/'
title: Stacks.js 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: sections:
- title: Contracts - title: Contracts
usePageTitles: true usePageTitles: true

24
src/components/header.tsx

@ -64,25 +64,6 @@ interface NavItem {
} }
const nav: 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, label: COMMUNITY,
href: '', href: '',
@ -95,9 +76,12 @@ const nav: NavItem[] = [
label: 'Forum', label: 'Forum',
href: 'https://forum.stacks.org', 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, label: LANGUAGES,
href: '', href: '',

Loading…
Cancel
Save