mirror of
https://github.com/andatoshiki/toshiki-notebook.git
synced 2026-06-06 09:16:45 +00:00
fix: update navbar components and links
This commit is contained in:
parent
461034c9d5
commit
131e84887f
@ -2,14 +2,14 @@ import { DefaultTheme } from 'vitepress/theme'
|
||||
|
||||
export const nav: DefaultTheme.Config['nav'] = [
|
||||
{
|
||||
text: '📚 Academic',
|
||||
text: 'Academic',
|
||||
items: [
|
||||
{
|
||||
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: '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: '' },
|
||||
@ -22,11 +22,30 @@ export const nav: DefaultTheme.Config['nav'] = [
|
||||
],
|
||||
activeMatch: '/academic/',
|
||||
},
|
||||
|
||||
{
|
||||
text: '💾 Save',
|
||||
text: 'Application',
|
||||
items: [
|
||||
{ text: '📰 Reading', link: '/save/reading/index', activeMatch: '/save/reading/' },
|
||||
{ text: '🥠 Vocabulary', link: '/academic/vocabulary/index', activeMatch: '/academic/vocabulary/' },
|
||||
{
|
||||
text: 'Personal projects',
|
||||
items: [
|
||||
{
|
||||
text: 'markdown-it-katex',
|
||||
link: '/application/markdown-it-katex/index',
|
||||
activeMatch: '/application/markdown-it-katex/',
|
||||
},
|
||||
{ text: '', link: '', activeMatch: '' },
|
||||
],
|
||||
},
|
||||
],
|
||||
activeMatch: '/save/',
|
||||
},
|
||||
|
||||
{
|
||||
text: 'Save',
|
||||
items: [
|
||||
{ text: 'Reading', link: '/save/reading/index', activeMatch: '/save/reading/' },
|
||||
{ text: 'Vocabulary', link: '/academic/vocabulary/index', activeMatch: '/academic/vocabulary/' },
|
||||
],
|
||||
activeMatch: '/save/',
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user