-
-
Save c0depanda/a4c8b13090aa2449bb77f757b2dba65f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
themeConfig: { | |
nav: [ | |
// Normal Links | |
{ text: 'Guide', link: '/guide/' }, | |
{ text: 'External', link: 'https://google.com' }, | |
// Links with dropdown | |
{ | |
text: 'Languages', | |
items: [ | |
{ text: 'Chinese', link: '/language/chinese' }, | |
{ text: 'Japanese', link: '/language/japanese' } | |
] | |
}, | |
// Grouped Items inside dropdown | |
{ | |
text: 'Languages', | |
items: [ | |
{ | |
text: 'Group1', | |
items: [ | |
{ text: 'Chinese', link: '/language/chinese' }, | |
{ text: 'Japanese', link: '/language/japanese' } | |
] | |
}, | |
] | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment