Skip to content

Commit

Permalink
feat: update main nav and sidenav to reflect new structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Yolijn committed Mar 1, 2024
1 parent e174ee7 commit 6c2963a
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 16 deletions.
8 changes: 7 additions & 1 deletion docs/voorbeelden/patronen/formulieren/_category_.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"label": "Formulieren"
"label": "Formulieren",
"link": {
"type": "generated-index",
"title": "Patronen - Formulieren",
"keywords": ["patronen", "formulieren"],
"slug": "voorbeelden/patronen/formulieren"
}
}
11 changes: 2 additions & 9 deletions navConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,11 @@ const navbar: Navbar = {
label: 'Componenten',
className: 'utrecht-link',
},
// {
// type: 'doc',
// docId: 'voorbeelden',
// position: 'left',
// label: 'Voorbeelden',
// className: 'utrecht-link',
// },
{
type: 'doc',
docId: 'onderzoek/README',
docId: 'voorbeelden',
position: 'left',
label: 'Onderzoek',
label: 'Voorbeelden',
className: 'utrecht-link',
},
{
Expand Down
23 changes: 17 additions & 6 deletions sidebarConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,17 +141,28 @@ const sidebars: SidebarsConfig = {
{
type: 'category',
label: 'Patronen',
link: {
type: 'generated-index',
title: 'Patronen',
slug: 'voorbeelden/patronen',
keywords: ['Patronen', 'overzicht'],
},
items: [{ type: 'autogenerated', dirName: 'voorbeelden/patronen' }],
},
{
type: 'category',
label: 'Templates',
items: [{ type: 'autogenerated', dirName: 'voorbeelden/templates' }],
},
// {
// type: 'category',
// label: 'Templates',
// link: {
// type: 'generated-index',
// title: 'Templates',
// slug: 'voorbeelden/templates',
// keywords: ['Templates', 'overzicht'],
// },
// items: [{ type: 'autogenerated', dirName: 'voorbeelden/templates' }],
// },
],
},
],
onderzoek: [{ type: 'autogenerated', dirName: 'onderzoek' }],
community: [
{
type: 'category',
Expand Down

0 comments on commit 6c2963a

Please sign in to comment.