Update src/app/shop/[id]/page.tsx
This commit is contained in:
@@ -5,9 +5,9 @@ import { useRouter } from "next/navigation";
|
||||
import ReactLenis from "lenis/react";
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
||||
import ProductDetailCard from "@/components/ecommerce/productDetail/ProductDetailCard";
|
||||
import ProductCart from "@/components/ecommerce/cart/ProductCart";
|
||||
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
||||
import { useProductDetail } from "@/hooks/useProductDetail";
|
||||
import { useCart } from "@/hooks/useCart";
|
||||
import { useCheckout } from "@/hooks/useCheckout";
|
||||
@@ -85,8 +85,8 @@ export default function ProductPage({ params }: ProductPageProps) {
|
||||
<NavbarStyleCentered
|
||||
brandName="Blue Collar"
|
||||
navItems={[
|
||||
{"name":"Home","id":"/"},
|
||||
{"name":"Shop","id":"/shop"}
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Shop", id: "/shop" }
|
||||
]}
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
/>
|
||||
@@ -94,17 +94,6 @@ export default function ProductPage({ params }: ProductPageProps) {
|
||||
<main className="min-h-screen flex items-center justify-center pt-20">
|
||||
<p className="text-foreground">Loading product...</p>
|
||||
</main>
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterSimple
|
||||
columns={[
|
||||
{"title":"Navigate","items":[{"label":"Home","href":"#"},{"label":"Menu","href":"#menu"},{"label":"Hours & Location","href":"#location"},{"label":"Events","href":"#events"}]},
|
||||
{"title":"Connect","items":[{"label":"Facebook","href":"https://facebook.com"},{"label":"Instagram","href":"https://instagram.com"},{"label":"Contact Us","href":"#contact"},{"label":"Reserve Table","href":"#contact"}]},
|
||||
{"title":"Legal","items":[{"label":"Privacy Policy","href":"#"},{"label":"Terms of Service","href":"#"},{"label":"House Rules","href":"#"}]}
|
||||
]}
|
||||
bottomLeftText="© 2025 Blue Collar Sports Bar, LLC. Manchester, Iowa."
|
||||
bottomRightText="Built by real people, for real people."
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
@@ -129,8 +118,8 @@ export default function ProductPage({ params }: ProductPageProps) {
|
||||
<NavbarStyleCentered
|
||||
brandName="Blue Collar"
|
||||
navItems={[
|
||||
{"name":"Home","id":"/"},
|
||||
{"name":"Shop","id":"/shop"}
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Shop", id: "/shop" }
|
||||
]}
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
/>
|
||||
@@ -146,17 +135,6 @@ export default function ProductPage({ params }: ProductPageProps) {
|
||||
</button>
|
||||
</div>
|
||||
</main>
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterSimple
|
||||
columns={[
|
||||
{"title":"Navigate","items":[{"label":"Home","href":"#"},{"label":"Menu","href":"#menu"},{"label":"Hours & Location","href":"#location"},{"label":"Events","href":"#events"}]},
|
||||
{"title":"Connect","items":[{"label":"Facebook","href":"https://facebook.com"},{"label":"Instagram","href":"https://instagram.com"},{"label":"Contact Us","href":"#contact"},{"label":"Reserve Table","href":"#contact"}]},
|
||||
{"title":"Legal","items":[{"label":"Privacy Policy","href":"#"},{"label":"Terms of Service","href":"#"},{"label":"House Rules","href":"#"}]}
|
||||
]}
|
||||
bottomLeftText="© 2025 Blue Collar Sports Bar, LLC. Manchester, Iowa."
|
||||
bottomRightText="Built by real people, for real people."
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
@@ -180,8 +158,8 @@ export default function ProductPage({ params }: ProductPageProps) {
|
||||
<NavbarStyleCentered
|
||||
brandName="Blue Collar"
|
||||
navItems={[
|
||||
{"name":"Home","id":"/"},
|
||||
{"name":"Shop","id":"/shop"}
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Shop", id: "/shop" }
|
||||
]}
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
/>
|
||||
@@ -225,9 +203,25 @@ export default function ProductPage({ params }: ProductPageProps) {
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterSimple
|
||||
columns={[
|
||||
{"title":"Navigate","items":[{"label":"Home","href":"#"},{"label":"Menu","href":"#menu"},{"label":"Hours & Location","href":"#location"},{"label":"Events","href":"#events"}]},
|
||||
{"title":"Connect","items":[{"label":"Facebook","href":"https://facebook.com"},{"label":"Instagram","href":"https://instagram.com"},{"label":"Contact Us","href":"#contact"},{"label":"Reserve Table","href":"#contact"}]},
|
||||
{"title":"Legal","items":[{"label":"Privacy Policy","href":"#"},{"label":"Terms of Service","href":"#"},{"label":"House Rules","href":"#"}]}
|
||||
{
|
||||
title: "Navigate", items: [
|
||||
{ label: "Home", href: "/" },
|
||||
{ label: "Shop", href: "/shop" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Connect", items: [
|
||||
{ label: "Facebook", href: "https://facebook.com" },
|
||||
{ label: "Instagram", href: "https://instagram.com" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Legal", items: [
|
||||
{ label: "Privacy Policy" },
|
||||
{ label: "Terms of Service" },
|
||||
{ label: "House Rules" }
|
||||
]
|
||||
}
|
||||
]}
|
||||
bottomLeftText="© 2025 Blue Collar Sports Bar, LLC. Manchester, Iowa."
|
||||
bottomRightText="Built by real people, for real people."
|
||||
|
||||
Reference in New Issue
Block a user