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.astro23
1 files changed, 15 insertions, 8 deletions
diff --git a/src/components/Nav.astro b/src/components/Nav.astro
index f122ee7..fc2599c 100644
--- a/src/components/Nav.astro
+++ b/src/components/Nav.astro
@@ -7,12 +7,19 @@ const navLinks = [
];
---
-<nav>
- {
- navLinks.map(({ name, url }) => (
- <div>
- <a href={url}>{name}</a>
- </div>
- ))
- }
+<nav class="navbar">
+ <div class="navbar-start"></div>
+ <div class="navbar-center lg:flex">
+ <ul class="menu menu-horizontal">
+ {
+ navLinks.map(({ name, url }) => (
+ <li>
+ <a class="btn btn-ghost text-xl" href={url}>
+ {name}
+ </a>
+ </li>
+ ))
+ }
+ </ul>
+ </div>
</nav>