diff --git a/web/src/components/Layout/Footer.astro b/web/src/components/Layout/Footer.astro index 649c781..f7f9522 100644 --- a/web/src/components/Layout/Footer.astro +++ b/web/src/components/Layout/Footer.astro @@ -1,13 +1,25 @@ --- import Section from "../Section.astro"; -type NavigationItem = { - path: string; - label: string; -}; +enum NavigationItemType { + Link, + Text, +} + +type NavigationItem = + | { + path: string; + label: string; + type: NavigationItemType.Link; + } + | { + type: NavigationItemType.Text; + content: string; + }; type NavigationGroup = { title: string; + class?: string; items: Array; }; @@ -17,36 +29,60 @@ const tree: Array = [ items: [ { path: "/", + type: NavigationItemType.Link, label: "Landing", }, { path: "https://github.com/tempblade/creator", + type: NavigationItemType.Link, label: "GitHub", }, { path: "https://tempblade.com", + type: NavigationItemType.Link, label: "tempblade", }, ], }, { title: "Legal", - items: [{ path: "/legal/imprint", label: "Imprint" }], + items: [ + { + path: "/legal/imprint", + label: "Imprint", + type: NavigationItemType.Link, + }, + ], + }, + { + title: "", + class: "ml-auto mr-0 self-end", + items: [ + { + type: NavigationItemType.Text, + content: "Made with ❤️ in Rottweil", + }, + ], }, ]; ---