diff options
| author | seth <[email protected]> | 2024-04-08 22:58:22 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-04-08 22:58:22 -0400 |
| commit | d8a20e3032a0ce97b6ddc29840e135eda9b3f43c (patch) | |
| tree | 40a4059020ff4c9d500d4022f5b84e7bf2c46fd4 /src/components/Nav.astro | |
| parent | 33a4eb02a8307be1bcfaaabbe3adaf25d0088d3b (diff) | |
refactor; use plain css
Diffstat (limited to 'src/components/Nav.astro')
| -rw-r--r-- | src/components/Nav.astro | 30 |
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> |
