diff options
| author | Leo Goetz <dev@leogtz.de> | 2026-05-08 15:37:39 +0200 |
|---|---|---|
| committer | Leo Goetz <dev@leogtz.de> | 2026-05-08 15:37:39 +0200 |
| commit | d4f98e2d1f85fbdffa2470071e22bba2dacc00c0 (patch) | |
| tree | 02aff46bd5791d1eddca4432f89bc44945b8b033 /src/components/Navbar.astro | |
Diffstat (limited to 'src/components/Navbar.astro')
| -rw-r--r-- | src/components/Navbar.astro | 20 |
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> |
