From 917772780a7dd2f42f3fa0051305e534bdf1e44f Mon Sep 17 00:00:00 2001 From: Sascha Date: Wed, 13 Aug 2025 14:55:47 +0200 Subject: [PATCH] =?UTF-8?q?Men=C3=BC=20in=20Array=20verschoben?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/layout/navigation.tsx | 71 ++++++++-------------------- 1 file changed, 21 insertions(+), 50 deletions(-) diff --git a/src/components/layout/navigation.tsx b/src/components/layout/navigation.tsx index e24cc71..f0cccd9 100644 --- a/src/components/layout/navigation.tsx +++ b/src/components/layout/navigation.tsx @@ -8,41 +8,29 @@ type Props = { export default function Navbar({ theme, setTheme }: Props) { const [menuOpen, setMenuOpen] = useState(false); + const menuItems = [ + 'About', + 'Services', + 'Skills', + 'Certifications', + 'Projects', + 'Contact', + ]; + return ( // TODO Centralize strings, create buttons via loops
Sascha Bach
- - - - - - + {menuItems.map((item) => ( + + ))} {/* Burger Button für Mobile */}
- - - - - - + {menuItems.map((item) => ( + + ))}
)}
); } -/*About - - Services - - Skills - - Certifications - - - Projects - - - Contact - */