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: "Home", id: "/" },
|
||||||
{ name: "About", id: "/#about" },
|
{ name: "About", id: "/#about" },
|
||||||
{ name: "Shop", id: "/shop" },
|
{ name: "Shop", id: "/shop" },
|
||||||
{ name: "Team", id: "/#team" },
|
{ name: "Testimonials", id: "/#testimonials" }
|
||||||
{ name: "Testimonials", id: "/#testimonials" },
|
|
||||||
{ name: "Contact", id: "/#contact" }
|
|
||||||
]}
|
]}
|
||||||
brandName="Angola"
|
brandName="Angola"
|
||||||
bottomLeftText="Experience the Beauty"
|
bottomLeftText="Experience the Beauty"
|
||||||
@@ -136,9 +134,7 @@ function ProductPageContent({ params }: ProductPageProps) {
|
|||||||
{ name: "Home", id: "/" },
|
{ name: "Home", id: "/" },
|
||||||
{ name: "About", id: "/#about" },
|
{ name: "About", id: "/#about" },
|
||||||
{ name: "Shop", id: "/shop" },
|
{ name: "Shop", id: "/shop" },
|
||||||
{ name: "Team", id: "/#team" },
|
{ name: "Testimonials", id: "/#testimonials" }
|
||||||
{ name: "Testimonials", id: "/#testimonials" },
|
|
||||||
{ name: "Contact", id: "/#contact" }
|
|
||||||
]}
|
]}
|
||||||
brandName="Angola"
|
brandName="Angola"
|
||||||
bottomLeftText="Experience the Beauty"
|
bottomLeftText="Experience the Beauty"
|
||||||
@@ -184,9 +180,7 @@ function ProductPageContent({ params }: ProductPageProps) {
|
|||||||
{ name: "Home", id: "/" },
|
{ name: "Home", id: "/" },
|
||||||
{ name: "About", id: "/#about" },
|
{ name: "About", id: "/#about" },
|
||||||
{ name: "Shop", id: "/shop" },
|
{ name: "Shop", id: "/shop" },
|
||||||
{ name: "Team", id: "/#team" },
|
{ name: "Testimonials", id: "/#testimonials" }
|
||||||
{ name: "Testimonials", id: "/#testimonials" },
|
|
||||||
{ name: "Contact", id: "/#contact" }
|
|
||||||
]}
|
]}
|
||||||
brandName="Angola"
|
brandName="Angola"
|
||||||
bottomLeftText="Experience the Beauty"
|
bottomLeftText="Experience the Beauty"
|
||||||
@@ -212,7 +206,7 @@ function ProductPageContent({ params }: ProductPageProps) {
|
|||||||
sku={meta.sku}
|
sku={meta.sku}
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "Add To Cart", onClick: handleAddToCart },
|
{ text: "Add To Cart", onClick: handleAddToCart },
|
||||||
{ text: "Buy Now", onClick: handleBuyNow }
|
{ text: "Buy Now", onClick: handleBuyNow },
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -226,8 +220,8 @@ function ProductPageContent({ params }: ProductPageProps) {
|
|||||||
total={`$${cartTotal}`}
|
total={`$${cartTotal}`}
|
||||||
buttons={[
|
buttons={[
|
||||||
{
|
{
|
||||||
text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout
|
text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout,
|
||||||
}
|
},
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</div>
|
</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"
|
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"
|
imageAlt="Soft, blurred pastel flowers in a tranquil setting"
|
||||||
columns={[
|
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: [
|
{ title: "Company", items: [
|
||||||
{ label: "About Us", href: "/#about" },
|
{ label: "About Us", href: "/#about" }
|
||||||
{ label: "Contact", href: "/#contact" }
|
|
||||||
] },
|
] },
|
||||||
{ title: "Connect", items: [{ label: "Instagram", href: "https://instagram.com/angola_flowers" }, { label: "Facebook", href: "https://facebook.com/angola_flowers" }] }
|
{ 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