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" > -