diff --git a/src/app/shop/[id]/page.tsx b/src/app/shop/[id]/page.tsx
index a4f6e89..5506e8e 100644
--- a/src/app/shop/[id]/page.tsx
+++ b/src/app/shop/[id]/page.tsx
@@ -2,7 +2,7 @@
import { use, useCallback } from "react";
import { useRouter } from "next/navigation";
-import ReactLenis from "lenis/react";
+import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ProductDetailCard from "@/components/ecommerce/productDetail/ProductDetailCard";
@@ -15,6 +15,28 @@ interface ProductPageProps {
params: Promise<{ id: string }>;
}
+const navItems = [
+ { name: "Home", id: "/" },
+ { name: "About", id: "/about" },
+ { name: "Menu", id: "/menu" },
+ { name: "Contact", id: "/contact" },
+];
+
+const Footer = () => (
+
+);
+
export default function ProductPage({ params }: ProductPageProps) {
const { id } = use(params);
const router = useRouter();
@@ -79,22 +101,21 @@ export default function ProductPage({ params }: ProductPageProps) {
secondaryButtonStyle="solid"
headingFontWeight="semibold"
>
-
-
- setCartOpen(true) }}
- buttonClassName="shadow-md"
- logoHref="#"
- />
-
-
-
- Loading product...
-
-
-
+
+ setCartOpen(true) }}
+ buttonClassName="shadow-md"
+ logoHref="/"
+ />
+
+
+
+ Loading product...
+
+
+
);
}
@@ -113,30 +134,29 @@ export default function ProductPage({ params }: ProductPageProps) {
secondaryButtonStyle="solid"
headingFontWeight="semibold"
>
-
-
- setCartOpen(true) }}
- buttonClassName="shadow-md"
- logoHref="#"
- />
-
-
-
-
-
Product not found
-
-
-
-
-
+
+ setCartOpen(true) }}
+ buttonClassName="shadow-md"
+ logoHref="/"
+ />
+
+
+
+
+
Product not found
+
+
+
+
+
);
}
@@ -154,53 +174,52 @@ export default function ProductPage({ params }: ProductPageProps) {
secondaryButtonStyle="solid"
headingFontWeight="semibold"
>
-
-
- setCartOpen(true) }}
- buttonClassName="shadow-md"
- logoHref="#"
- />
-
-
-
0 ? variants : undefined}
- quantity={quantityVariant}
- ribbon={meta.ribbon}
- inventoryStatus={meta.inventoryStatus}
- inventoryQuantity={meta.inventoryQuantity}
- sku={meta.sku}
- buttons={[
- { text: "Add To Cart", onClick: handleAddToCart },
- { text: "Buy Now", onClick: handleBuyNow },
- ]}
- />
-
-
-
setCartOpen(false)}
- items={cartItems}
- onQuantityChange={updateQuantity}
- onRemove={removeItem}
- total={`$${cartTotal}`}
- buttons={[
- {
- text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout,
- },
- ]}
- />
-
-
+
+ setCartOpen(true) }}
+ buttonClassName="shadow-md"
+ logoHref="/"
+ />
+
+
+
0 ? variants : undefined}
+ quantity={quantityVariant}
+ ribbon={meta.ribbon}
+ inventoryStatus={meta.inventoryStatus}
+ inventoryQuantity={meta.inventoryQuantity}
+ sku={meta.sku}
+ buttons={[
+ { text: "Add To Cart", onClick: handleAddToCart },
+ { text: "Buy Now", onClick: handleBuyNow },
+ ]}
+ />
+
+
+
setCartOpen(false)}
+ items={cartItems}
+ onQuantityChange={updateQuantity}
+ onRemove={removeItem}
+ total={`$${cartTotal}`}
+ buttons={[
+ {
+ text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout,
+ },
+ ]}
+ />
+
+
);
}