From 901183f3683d7d27268abfc4aa6f178eab367285 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 24 Feb 2026 07:46:00 +0000 Subject: [PATCH] Update src/app/shop/[id]/page.tsx --- src/app/shop/[id]/page.tsx | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/src/app/shop/[id]/page.tsx b/src/app/shop/[id]/page.tsx index ace2518..1008e23 100644 --- a/src/app/shop/[id]/page.tsx +++ b/src/app/shop/[id]/page.tsx @@ -11,6 +11,17 @@ import { useProductDetail } from "@/hooks/useProductDetail"; import { useCart } from "@/hooks/useCart"; import { useCheckout } from "@/hooks/useCheckout"; +// Define common navigation items for sub-pages to maintain consistency +const ALL_NAV_ITEMS_SUB_PAGES = [ + { name: "Home", id: "/" }, + { name: "Products", id: "/products" }, + { name: "Shop", id: "/shop" }, + { name: "Blog", id: "/blog" }, + { name: "About", id: "/#about" }, + { name: "Testimonials", id: "/#testimonials" }, + { name: "FAQs", id: "/#faqs" } +]; + interface ProductPageProps { params: Promise<{ id: string }>; } @@ -88,10 +99,10 @@ function ProductPageContent({ params }: ProductPageProps) { headingFontWeight="light" > -