update navbar

This commit is contained in:
steph 2022-12-11 18:59:01 -08:00
parent 653682a4b8
commit 1b0ea981f9

View File

@ -32,19 +32,13 @@ export default defineConfig({
function nav() { function nav() {
return [ return [
{ text: 'Intro', link: '/intro/', activeMatch: '/intro/' }, { text: 'Docs', link: '/intro/', activeMatch: '/intro/' },
{ {
text: 'Configuration', text: 'Tutorials',
link: '/config/Tutorials', link: '/config/Tutorials',
activeMatch: '/config/', activeMatch: '/config/',
}, },
{ text: 'Syntax', link: '/syntax/classDiagram', activeMatch: '/syntax/' }, { text: 'Integrations', link: '/misc/integrations', activeMatch: '/misc/' },
{ text: 'Misc', link: '/misc/integrations', activeMatch: '/misc/' },
{
text: 'Community',
link: '/community/n00b-overview',
activeMatch: '/community/',
},
{ {
text: version, text: version,
items: [ items: [
@ -62,6 +56,14 @@ function nav() {
text: '💻 Live Editor', text: '💻 Live Editor',
link: 'https://mermaid.live', link: 'https://mermaid.live',
}, },
{
text: 'Slack',
link: 'https://mermaid-talk.slack.com',
},
{
text: 'GitHub',
link: 'https://github.com/mermaid-js/mermaid',
},
]; ];
} }