Merge version_1 into main #5

Merged
bender merged 2 commits from version_1 into main 2026-02-13 22:01:56 +00:00
2 changed files with 12 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
"use client"
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';

View File

@@ -241,7 +241,14 @@ export default function ProductPage({ params }: ProductPageProps) {
<div id="productDetail" data-section="productDetail">
<ProductDetailCard
layout="default"
name={product.name}
price={product.priceDisplay}
images={images}
buttons={[
{ text: "Add to Cart", onClick: handleAddToCart },
{ text: "Buy Now", onClick: handleBuyNow }
]}
/>
</div>
@@ -250,6 +257,10 @@ export default function ProductPage({ params }: ProductPageProps) {
onClose={() => setCartOpen(false)}
items={cartItems}
total={cartTotal}
buttons={[
{ text: "Continue Shopping", onClick: () => setCartOpen(false) },
{ text: "Checkout", onClick: handleCheckout }
]}
/>
<div id="footer" data-section="footer">