test(nav): add navbar grouped sections with K-12 under academics

This commit is contained in:
andatoshiki 2023-03-02 11:42:46 +08:00
parent cff6e3a33f
commit 435cb3bf10

View File

@ -4,11 +4,15 @@ export const nav: DefaultTheme.Config['nav'] = [
{
text: '📚 Academic',
items: [
{ text: '🧪 Chemistry', link: '/academic/chemistry/index', activeMatch: '/academic/chemistry/' },
{ text: '✍️ Literature', link: '/academic/literature/index', activeMatch: '/academic/literature/' },
{
text: 'K-12',
items: [
{ text: '🧪 Chemistry', link: '/academic/chemistry/index', activeMatch: '/academic/chemistry/' },
{ text: '🧮 Discrete Math.', link: '/discrete-math/index', activeMatch: '/categories/fragments/' },
{ text: '✍️ Literature', link: '/academic/literature/index', activeMatch: '/academic/literature/' },
],
},
{ text: '', link: '', activeMatch: '' },
{ text: '🧮 Discrete Math.', link: '/discrete-math/index', activeMatch: '/categories/fragments/' },
{ text: '🥠 Vocabulary', link: '/academic/vocabulary/index', activeMatch: '/academic/vocabulary/' },
{ text: '', link: '', activeMatch: '' },
{ text: '', link: '', activeMatch: '' },
{ text: '', link: '', activeMatch: '' },
@ -20,7 +24,10 @@ export const nav: DefaultTheme.Config['nav'] = [
},
{
text: '💾 Save',
items: [{ text: '📰 Reading', link: '/save/reading/index', activeMatch: '/save/reading/' }],
activeMatch: '/courses/',
items: [
{ text: '📰 Reading', link: '/save/reading/index', activeMatch: '/save/reading/' },
{ text: '🥠 Vocabulary', link: '/academic/vocabulary/index', activeMatch: '/academic/vocabulary/' },
],
activeMatch: '/save/',
},
]