Update src/app/shop/[id]/page.tsx

This commit is contained in:
2026-02-22 22:26:55 +00:00
parent 6e122e7211
commit 0b10afcec5

View File

@@ -1,6 +1,6 @@
"use client";
import { Suspense, use, useCallback } from "react";
import { Suspense, useCallback } from "react";
import { useRouter } from "next/navigation";
import ReactLenis from "lenis/react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
@@ -93,13 +93,13 @@ function ProductPageContent({ params }: ProductPageProps) {
const footerComponent = (
<div id="footer" data-section="footer">
<FooterMedia
imageSrc="https://img.b2bpic.net/free-photo/ripe-big-pumpkin-burlap_114579-29487.jpg?_wi=5"
imageSrc="https://img.b2bpic.net/free-photo/ripe-big-pumpkin-burlap_114579-29487.jpg"
imageAlt="Rustic fabric or dough texture as footer background."
logoText="Смачна Випічка"
columns={[
{ title: "Menu", items: [{ label: "Breads", href: "#products" }, { label: "Pastries", href: "#products" }, { label: "Custom Cakes", href: "#contact" }] },
{ title: "About Us", items: [{ label: "Our Story", href: "#about" }, { label: "Reviews", href: "#testimonials" }] },
{ title: "Support", items: [{ label: "FAQ", href: "#faq" }, { label: "Contact", href: "#contact" }] }
{ title: "Menu", items: [{ label: "Breads", href: "/#products" }, { label: "Pastries", href: "/#products" }, { label: "Custom Cakes", href: "/#contact" }] },
{ title: "About Us", items: [{ label: "Our Story", href: "/#about" }, { label: "Reviews", href: "/#testimonials" }] },
{ title: "Support", items: [{ label: "FAQ", href: "/#faq" }, { label: "Contact", href: "/#contact" }] }
]}
copyrightText="© 2024 Смачна Випічка. All rights reserved."
mediaClassName="opacity-60"
@@ -217,8 +217,7 @@ function ProductPageContent({ params }: ProductPageProps) {
total={`$${cartTotal}`}
buttons={[
{
text: isCheckoutLoading ? "Processing..." : "Check Out",
onClick: handleCheckout,
text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout,
},
]}
/>
@@ -227,4 +226,4 @@ function ProductPageContent({ params }: ProductPageProps) {
</ReactLenis>
</ThemeProvider>
);
}
}