summaryrefslogtreecommitdiff
path: root/src/components/Navbar.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Navbar.astro')
-rw-r--r--src/components/Navbar.astro20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro
new file mode 100644
index 0000000..ec561bb
--- /dev/null
+++ b/src/components/Navbar.astro
@@ -0,0 +1,20 @@
+---
+import { Image } from "astro:assets";
+import logo from "../../public/logo.png";
+---
+
+<header class="flex justify-between items-center my-2">
+ <a href="/"
+ ><Image
+ loading="eager"
+ src={logo}
+ alt="GTZ Logo"
+ width={50}
+ height={50}
+ /></a
+ >
+ <nav class="flex gap-5">
+ <a href="/projects" class="hover:underline">Projekte</a>
+ <a href="/blog" class="hover:underline">Blog</a>
+ </nav>
+</header>