diff options
| author | seth <[email protected]> | 2024-04-10 07:32:28 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-04-10 07:51:09 -0400 |
| commit | 1db44ec4133547e9cc2f351b56b1d59fafbc5002 (patch) | |
| tree | ce76ab4ffbeda7614faa85e543c7daf16a353fe2 /src/components/NavBar.astro | |
| parent | 4d93e97d6aa9442d91ad34df1819f10dc8f0ed9c (diff) | |
factor out components
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 /> |
