diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index 21183cb..7c254dd 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -11,27 +11,13 @@ import { Shield, Clock, Zap, MapPin } from "lucide-react"; export default function AboutPage() { const navItems = [ - { name: "Home", id: "home" }, - { name: "Services", id: "services" }, - { name: "About", id: "about" }, - { name: "Reviews", id: "reviews" }, - { name: "Contact", id: "contact" }, + { name: "Home", id: "/" }, + { name: "Services", id: "/services" }, + { name: "About", id: "/about" }, + { name: "Reviews", id: "/reviews" }, + { name: "Contact", id: "/contact" }, ]; - const handleNavigation = (id: string) => { - if (id === "home") { - window.location.href = "/"; - } else if (id === "services") { - window.location.href = "/"; - } else if (id === "about") { - window.location.href = "/about"; - } else if (id === "reviews") { - window.location.href = "/reviews"; - } else if (id === "contact") { - window.location.href = "/"; - } - }; - return ( @@ -76,25 +60,13 @@ export default function AboutPage() {