Switch to version 5: modified src/app/shop/[id]/page.tsx
This commit is contained in:
@@ -95,9 +95,7 @@ function ProductPageContent({ params }: ProductPageProps) {
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "/#about" },
|
||||
{ name: "Shop", id: "/shop" },
|
||||
{ name: "Team", id: "/#team" },
|
||||
{ name: "Testimonials", id: "/#testimonials" },
|
||||
{ name: "Contact", id: "/#contact" }
|
||||
{ name: "Testimonials", id: "/#testimonials" }
|
||||
]}
|
||||
brandName="Angola"
|
||||
bottomLeftText="Experience the Beauty"
|
||||
@@ -136,9 +134,7 @@ function ProductPageContent({ params }: ProductPageProps) {
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "/#about" },
|
||||
{ name: "Shop", id: "/shop" },
|
||||
{ name: "Team", id: "/#team" },
|
||||
{ name: "Testimonials", id: "/#testimonials" },
|
||||
{ name: "Contact", id: "/#contact" }
|
||||
{ name: "Testimonials", id: "/#testimonials" }
|
||||
]}
|
||||
brandName="Angola"
|
||||
bottomLeftText="Experience the Beauty"
|
||||
@@ -184,9 +180,7 @@ function ProductPageContent({ params }: ProductPageProps) {
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "/#about" },
|
||||
{ name: "Shop", id: "/shop" },
|
||||
{ name: "Team", id: "/#team" },
|
||||
{ name: "Testimonials", id: "/#testimonials" },
|
||||
{ name: "Contact", id: "/#contact" }
|
||||
{ name: "Testimonials", id: "/#testimonials" }
|
||||
]}
|
||||
brandName="Angola"
|
||||
bottomLeftText="Experience the Beauty"
|
||||
@@ -212,7 +206,7 @@ function ProductPageContent({ params }: ProductPageProps) {
|
||||
sku={meta.sku}
|
||||
buttons={[
|
||||
{ text: "Add To Cart", onClick: handleAddToCart },
|
||||
{ text: "Buy Now", onClick: handleBuyNow }
|
||||
{ text: "Buy Now", onClick: handleBuyNow },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -226,8 +220,8 @@ function ProductPageContent({ params }: ProductPageProps) {
|
||||
total={`$${cartTotal}`}
|
||||
buttons={[
|
||||
{
|
||||
text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout
|
||||
}
|
||||
text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout,
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -236,10 +230,9 @@ function ProductPageContent({ params }: ProductPageProps) {
|
||||
imageSrc="http://img.b2bpic.net/free-photo/beautiful-decoration-cute-little-dried-colorful-flowers-wallpaper_343596-3238.jpg?_wi=4"
|
||||
imageAlt="Soft, blurred pastel flowers in a tranquil setting"
|
||||
columns={[
|
||||
{ title: "Shop", items: [{ label: "Bouquets", href: "/shop" }, { label: "Arrangements", href: "/shop" }, { label: "Custom Orders", href: "/#contact" }] },
|
||||
{ title: "Shop", items: [{ label: "Bouquets", href: "/shop" }, { label: "Arrangements", href: "/shop" }, { label: "Custom Orders", href: "/shop" }] },
|
||||
{ title: "Company", items: [
|
||||
{ label: "About Us", href: "/#about" },
|
||||
{ label: "Contact", href: "/#contact" }
|
||||
{ label: "About Us", href: "/#about" }
|
||||
] },
|
||||
{ title: "Connect", items: [{ label: "Instagram", href: "https://instagram.com/angola_flowers" }, { label: "Facebook", href: "https://facebook.com/angola_flowers" }] }
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user