summaryrefslogtreecommitdiff
path: root/src/components/Nav.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Nav.astro')
-rw-r--r--src/components/Nav.astro30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/components/Nav.astro b/src/components/Nav.astro
deleted file mode 100644
index f427548..0000000
--- a/src/components/Nav.astro
+++ /dev/null
@@ -1,30 +0,0 @@
----
-import config from "@root/astro.config.ts";
-
-interface NavLink {
- name: string;
- url: string;
-}
-
-const minifluxUrl = process.env.MINIFLUX_URL || `https://miniflux.${Astro.url.hostname || config.site}`;
-
-const links: NavLink[] = [
- { name: "home", url: "/" },
- {
- name: "miniflux",
- url: minifluxUrl,
- },
- {
- name: "github",
- url: "https://github.com/getchoo",
- },
-];
----
-
-<nav class="space-y-5 text-xl my-5">
- <p class="space-x-2">
- {links.map(({ name, url }) => <a href={url}>{name}</a>)}
- </p>
-
- <hr />
-</nav>