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 - */