diff options
Diffstat (limited to 'src/components/NavBar.astro')
| -rw-r--r-- | src/components/NavBar.astro | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/components/NavBar.astro b/src/components/NavBar.astro deleted file mode 100644 index b7c0216..0000000 --- a/src/components/NavBar.astro +++ /dev/null @@ -1,20 +0,0 @@ ---- -interface NavLink { - name: string; - url: string; -} - -const links: NavLink[] = [ - { name: "home", url: "/" }, - { - name: "github", - url: "https://github.com/getchoo", - }, -]; ---- - -<div id="nav_links"> - {links.map(({ name, url }) => <a href={url}>{name}</a>)} -</div> - -<hr /> |
