diff --git a/src/components/base/Header.astro b/src/components/base/Header.astro index bf31fc0..88f880d 100644 --- a/src/components/base/Header.astro +++ b/src/components/base/Header.astro @@ -1,6 +1,5 @@ --- interface MenuItem { - identifier: string; name: string; url: string; } @@ -8,42 +7,34 @@ interface MenuItem { /** Config for the menu displayed in site navbar. */ const menu: MenuItem[] = [ { - identifier: 'posts', name: 'Posts', url: '/posts/', }, { - identifier: 'repos', name: 'Repos', url: '/repos/', }, { - identifier: 'slides', name: 'Slides', url: '/slides/', }, { - identifier: 'aoc', - name: 'AoC', - url: '/aoc/', + name: 'Wiki', + url: '/wiki/', }, { - identifier: 'songs', name: 'Songs', url: '/songs/', }, { - identifier: 'map', name: 'Map', url: '/map/', }, { - identifier: 'about', name: 'About', url: '/about/', }, { - identifier: 'search', name: 'Search', url: '/search/' } diff --git a/src/components/tree/Tree.astro b/src/components/tree/Tree.astro index 5c4d57e..6bde128 100644 --- a/src/components/tree/Tree.astro +++ b/src/components/tree/Tree.astro @@ -5,19 +5,20 @@ import type { Maybe } from "purify-ts"; interface Props { + heading: string; tree: Tree; slug: string; prefix: Maybe; } -const { tree, slug, prefix } = Astro.props; +const { heading, tree, slug, prefix } = Astro.props; ---