Skip to content

Commit

Permalink
add rss to navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
nexxeln committed Mar 23, 2024
1 parent 51cf271 commit 72810ea
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/components/Navbar.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
---
const links = [
{ href: "/blog", label: "blog" },
{ href: "/music", label: "music" },
{ href: "/rss.xml", label: "rss" },
]
---

<div class="flex gap-x-4 text-neutral-500 ">
<a href="/blog" target="_self" class="hover:(underline underline-offset-4 transition-transform)">blog</a>
<a href="/music" target="_self" class="hover:(underline underline-offset-4 transition-transform)">music</a>
{links.map(link => (
<a href={link.href} target="_self" class="hover:(underline underline-offset-4 transition-transform)">{link.label}</a>
))}
</div>

0 comments on commit 72810ea

Please sign in to comment.