Update src/app/shop/[id]/page.tsx
This commit is contained in:
@@ -68,9 +68,9 @@ export default function ProductPage({ params }: ProductPageProps) {
|
||||
|
||||
const navItems = [{ "name": "Home", "id": "/" }, { "name": "Shop", "id": "/shop" }];
|
||||
const footerColumns = [
|
||||
{ "title": "Vitality", "items": [{ "label": "About", "href": "about" }, { "label": "Innovations", "href": "features" }] },
|
||||
{ "title": "Connect", "items": [{ "label": "Contact", "href": "contact" }, { "label": "FAQ", "href": "faq" }] },
|
||||
{ "title": "Resources", "items": [{ "label": "Insights", "href": "blog" }, { "label": "Press", "href": "#" }] }
|
||||
{ "title": "Vitality", "items": [{ "label": "About", "href": "/#about" }, { "label": "Innovations", "href": "/#features" }] },
|
||||
{ "title": "Connect", "items": [{ "label": "Contact", "href": "/#contact" }, { "label": "FAQ", "href": "/#faq" }] },
|
||||
{ "title": "Resources", "items": [{ "label": "Insights", "href": "/blog" }, { "label": "Press", "href": "#" }] }
|
||||
];
|
||||
|
||||
if (isLoading) {
|
||||
@@ -88,12 +88,11 @@ export default function ProductPage({ params }: ProductPageProps) {
|
||||
headingFontWeight="medium"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="navbar" data-section="navbar">
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleCentered
|
||||
navItems={navItems}
|
||||
brandName="Vitality"
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
mobileButton={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
/>
|
||||
</div>
|
||||
<div id="loading-section" data-section="loading-section">
|
||||
@@ -128,12 +127,11 @@ export default function ProductPage({ params }: ProductPageProps) {
|
||||
headingFontWeight="medium"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="navbar" data-section="navbar">
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleCentered
|
||||
navItems={navItems}
|
||||
brandName="Vitality"
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
mobileButton={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
/>
|
||||
</div>
|
||||
<div id="not-found-section" data-section="not-found-section">
|
||||
@@ -175,12 +173,11 @@ export default function ProductPage({ params }: ProductPageProps) {
|
||||
headingFontWeight="medium"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="navbar" data-section="navbar">
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleCentered
|
||||
navItems={navItems}
|
||||
brandName="Vitality"
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
mobileButton={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
/>
|
||||
</div>
|
||||
<div id="product-detail-card" data-section="product-detail-card">
|
||||
|
||||
Reference in New Issue
Block a user