Update src/app/shop/[id]/page.tsx
This commit is contained in:
@@ -84,13 +84,12 @@ export default function ProductPage({ params }: ProductPageProps) {
|
||||
<div id="navbar" data-section="navbar">
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{"name":"Home","id":"/"},
|
||||
{"name":"Shop","id":"/shop"}
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Shop", id: "/shop" }
|
||||
]}
|
||||
brandName="StartupHub"
|
||||
bottomLeftText="Empowering Innovation"
|
||||
bottomRightText="hello@startuphub.io"
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
/>
|
||||
</div>
|
||||
<main className="min-h-screen flex items-center justify-center pt-20">
|
||||
@@ -119,13 +118,12 @@ export default function ProductPage({ params }: ProductPageProps) {
|
||||
<div id="navbar" data-section="navbar">
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{"name":"Home","id":"/"},
|
||||
{"name":"Shop","id":"/shop"}
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Shop", id: "/shop" }
|
||||
]}
|
||||
brandName="StartupHub"
|
||||
bottomLeftText="Empowering Innovation"
|
||||
bottomRightText="hello@startuphub.io"
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
/>
|
||||
</div>
|
||||
<main className="min-h-screen flex items-center justify-center pt-20">
|
||||
@@ -161,14 +159,13 @@ export default function ProductPage({ params }: ProductPageProps) {
|
||||
<div id="navbar" data-section="navbar">
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{"name":"Home","id":"/"},
|
||||
{"name":"Shop","id":"/shop"},
|
||||
{"name":"Contact","id":"/contacts"}
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Shop", id: "/shop" },
|
||||
{ name: "Contact", id: "/contacts" }
|
||||
]}
|
||||
brandName="StartupHub"
|
||||
bottomLeftText="Empowering Innovation"
|
||||
bottomRightText="hello@startuphub.io"
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
/>
|
||||
</div>
|
||||
<div id="product-detail-card" data-section="product-detail-card">
|
||||
@@ -188,7 +185,7 @@ export default function ProductPage({ params }: ProductPageProps) {
|
||||
sku={meta.sku}
|
||||
buttons={[
|
||||
{ text: "Add To Cart", onClick: handleAddToCart },
|
||||
{ text: "Buy Now", onClick: handleBuyNow },
|
||||
{ text: "Buy Now", onClick: handleBuyNow }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -202,18 +199,39 @@ export default function ProductPage({ params }: ProductPageProps) {
|
||||
total={`$${cartTotal}`}
|
||||
buttons={[
|
||||
{
|
||||
text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout,
|
||||
},
|
||||
text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout
|
||||
}
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBaseReveal
|
||||
columns={[
|
||||
{"title":"Product","items":[{"label":"Features","href":"features"},{"label":"Security","href":"security"},{"label":"Pricing","href":"pricing"},{"label":"Updates","href":"updates"}]},
|
||||
{"title":"Company","items":[{"label":"About Us","href":"about"},{"label":"Blog","href":"blog"},{"label":"Careers","href":"careers"},{"label":"Press","href":"press"}]},
|
||||
{"title":"Resources","items":[{"label":"Documentation","href":"docs"},{"label":"API Reference","href":"api"},{"label":"Community","href":"community"},{"label":"Support","href":"support"}]}
|
||||
]
|
||||
{
|
||||
title: "Product", items: [
|
||||
{ label: "Features", href: "features" },
|
||||
{ label: "Security", href: "security" },
|
||||
{ label: "Pricing", href: "pricing" },
|
||||
{ label: "Updates", href: "updates" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "about" },
|
||||
{ label: "Blog", href: "blog" },
|
||||
{ label: "Careers", href: "careers" },
|
||||
{ label: "Press", href: "press" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Resources", items: [
|
||||
{ label: "Documentation", href: "docs" },
|
||||
{ label: "API Reference", href: "api" },
|
||||
{ label: "Community", href: "community" },
|
||||
{ label: "Support", href: "support" }
|
||||
]
|
||||
}
|
||||
]}
|
||||
copyrightText="© 2025 StartupHub. All rights reserved."
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user