From b06ffdbc94a487acc91a91af2595be48b2e8e893 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 6 Mar 2026 16:29:09 +0000 Subject: [PATCH 1/5] Update src/app/about/page.tsx --- src/app/about/page.tsx | 95 ++++++++++-------------------------------- 1 file changed, 23 insertions(+), 72 deletions(-) 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() {