From 2cbc22348ef038181e1dc89635a3be005604a4ca Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 12 Feb 2024 20:29:15 -0500 Subject: back to astro --- src/components/Nav.astro | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/components/Nav.astro (limited to 'src/components/Nav.astro') diff --git a/src/components/Nav.astro b/src/components/Nav.astro new file mode 100644 index 0000000..c08662d --- /dev/null +++ b/src/components/Nav.astro @@ -0,0 +1,28 @@ +--- +import config from "@root/astro.config.ts"; + +interface NavLink { + name: string; + url: string; +} + +const links: NavLink[] = [ + { name: "home", url: "/" }, + { + name: "miniflux", + url: `https://miniflux.${Astro.url.hostname || config.site}`, + }, + { + name: "github", + url: "https://github.com/getchoo", + }, +]; +--- + + -- cgit v1.2.3