From fdbeadb8e693584b238ef072de8713cdf3e4a5b7 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 6 Mar 2026 16:29:10 +0000 Subject: [PATCH] Update src/app/reviews/page.tsx --- src/app/reviews/page.tsx | 111 ++++++++++----------------------------- 1 file changed, 28 insertions(+), 83 deletions(-) diff --git a/src/app/reviews/page.tsx b/src/app/reviews/page.tsx index 2962a16..f6eb651 100644 --- a/src/app/reviews/page.tsx +++ b/src/app/reviews/page.tsx @@ -10,27 +10,13 @@ import { Clock, Users, Award } from "lucide-react"; export default function ReviewsPage() { 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 ( @@ -60,41 +44,17 @@ export default function ReviewsPage() {