diff --git a/docs/config.ts b/docs/config.ts index 0fbaafa..f69608c 100644 --- a/docs/config.ts +++ b/docs/config.ts @@ -4,9 +4,10 @@ export interface Docs { export interface SidebarItem { text: string; - items: SidebarItem[] & { + items: { + text: string; link: string; - }[] + }[]; } export const docs: Docs = { diff --git a/src/components/widgets/Navbar.astro b/src/components/widgets/Navbar.astro index 3394b95..8ac845a 100644 --- a/src/components/widgets/Navbar.astro +++ b/src/components/widgets/Navbar.astro @@ -30,7 +30,7 @@ const navItems = [ xHyroM