diff --git a/src/components/Navigation.tsx b/src/components/Navigation.tsx index 0c2268a..fa09b28 100755 --- a/src/components/Navigation.tsx +++ b/src/components/Navigation.tsx @@ -3,11 +3,13 @@ import { useState, useEffect } from "react"; import { Menu, X } from "lucide-react"; import Image from "next/image"; +import Link from "next/link"; const navLinks = [ - { href: "#about", label: "About" }, - { href: "#projects", label: "Projects" }, - { href: "#contact", label: "Contact" }, + { href: "/#about", label: "About" }, + { href: "/services", label: "Services" }, + { href: "/#projects", label: "Projects" }, + { href: "/#contact", label: "Contact" }, ]; export default function Navigation() { @@ -30,7 +32,7 @@ export default function Navigation() { }`} >
- + Wild Dragon Wild Dragon - + {/* Desktop nav */} -
- {navLinks.map((link) => ( - - {link.label} - - ))} +
+ {navLinks.map((link) => + link.href.startsWith("/#") ? ( + + {link.label} + + ) : ( + + {link.label} + + ) + )}
{/* Mobile toggle */} @@ -87,20 +100,28 @@ export default function Navigation() { )}