From afdc982863b6cca573f1db58e1795aa8c45fabca Mon Sep 17 00:00:00 2001
From: schererleander <leander@schererleander.de>
Date: Fri, 30 May 2025 01:01:17 +0200
Subject: rewrite site

---
 src/components/Navbar.tsx | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 src/components/Navbar.tsx

(limited to 'src/components/Navbar.tsx')

diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx
new file mode 100644
index 0000000..624f9f1
--- /dev/null
+++ b/src/components/Navbar.tsx
@@ -0,0 +1,25 @@
+import { Link } from "react-router-dom";
+import ThemeToggle from "./ThemeToggle";
+
+export default function Navbar() {
+  const navItems = [
+    { label: 'Home', href: '/' },
+    { label: 'Gear', href: '/gear' },
+    { label: 'Projects', href: '/projects' },
+    { label: 'Homelab', href: '/homelab' },
+    { label: '3D Printing', href: '/printing' }
+  ];
+
+  return (
+    <nav className="sticky top-0 backdrop-blur flex items-center">
+      <div className="max-w-2xl mx-auto flex px-4 py-4 text-sm">
+        <div className="flex gap-6 items-center">
+          {navItems.map(({ label, href }) => (
+            <Link className="hover:underline" key={label} to={href}>{label}</Link>
+          ))}
+          <ThemeToggle />
+        </div>
+      </div>
+    </nav>
+  );
+}
\ No newline at end of file
-- 
cgit v1.3.1

