From 5fad5ab6ee291dbb8a3aeff1ca8c67c2b76e31c6 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 9 Jun 2026 15:07:16 +0000 Subject: [PATCH 1/2] Update src/app/checkout/page.tsx --- src/app/checkout/page.tsx | 49 +++++++++++++++++++++++---------------- 1 file changed, 29 insertions(+), 20 deletions(-) diff --git a/src/app/checkout/page.tsx b/src/app/checkout/page.tsx index 0cc58b8..27cba5a 100644 --- a/src/app/checkout/page.tsx +++ b/src/app/checkout/page.tsx @@ -22,15 +22,33 @@ export default function CheckoutPage() { - -
-

- Your Payment Area -

-

- Proceed with your secure payment for PodWave AirPods. -

-

- (This is a placeholder for your dedicated payment processing.) -

+
+

Your Checkout

From afe255e7854a888c6dce1ed6f6d6cb64f062f8d8 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 9 Jun 2026 15:07:17 +0000 Subject: [PATCH 2/2] Update src/app/page.tsx --- src/app/page.tsx | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 3d5ba01..5e1e6d2 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -13,8 +13,14 @@ import ProductCardThree from '@/components/sections/product/ProductCardThree'; import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive'; import TextAbout from '@/components/sections/about/TextAbout'; import { Award, Bluetooth, Globe, Headphones } from "lucide-react"; +import { useCallback } from "react"; export default function LandingPage() { + const handleButtonClick = useCallback((buttonText: string, sectionId: string) => { + console.log(`Button "${buttonText}" clicked in section: ${sectionId}`); + // Add specific functionality here based on buttonText or sectionId + }, []); + return ( handleButtonClick("Discover Features", "home")}, { - text: "Explore AirPods", href: "#products"}, + text: "Explore AirPods", href: "#products", onClick: () => handleButtonClick("Explore AirPods", "home")}, ]} imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Eu6bBOTdX8kN4amCUkA0dEWXTg/uploaded-1701389278929-airpods-pro-2-new-features-a-closer-look-at-its-superior-audio-capabilities.jpg?_wi=1" imageAlt="PodWave AirPods Pro" @@ -175,13 +181,13 @@ export default function LandingPage() { animationType="slide-up" products={[ { - id: "prod1", name: "PodWave Pro Buds", price: "$249", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Eu6bBOTdX8kN4amCUkA0dEWXTg/uploaded-1701389278929-airpods-pro-2-new-features-a-closer-look-at-its-superior-audio-capabilities.jpg?_wi=3", imageAlt: "PodWave Pro Buds", priceButtonProps: { text: "Buy Now", href: "/checkout" } + id: "prod1", name: "PodWave Pro Buds", price: "$249", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Eu6bBOTdX8kN4amCUkA0dEWXTg/uploaded-1701389278929-airpods-pro-2-new-features-a-closer-look-at-its-superior-audio-capabilities.jpg?_wi=3", imageAlt: "PodWave Pro Buds", priceButtonProps: { text: "Buy Now", href: "/checkout", onClick: () => handleButtonClick("Buy Now (PodWave Pro Buds)", "products") } }, { - id: "prod2", name: "PodWave Max Headphones", price: "$549", imageSrc: "http://img.b2bpic.net/free-photo/black-wireless-headphones-black-surface_417767-115.jpg", imageAlt: "PodWave Max Headphones", priceButtonProps: { text: "Buy Now", href: "/checkout" } + id: "prod2", name: "PodWave Max Headphones", price: "$549", imageSrc: "http://img.b2bpic.net/free-photo/black-wireless-headphones-black-surface_417767-115.jpg", imageAlt: "PodWave Max Headphones", priceButtonProps: { text: "Buy Now", href: "/checkout", onClick: () => handleButtonClick("Buy Now (PodWave Max Headphones)", "products") } }, { - id: "prod3", name: "PodWave Classic Buds", price: "$179", imageSrc: "http://img.b2bpic.net/free-photo/wireless-earbuds-with-neon-cyberpunk-style-lighting_23-2151074306.jpg", imageAlt: "PodWave Classic Buds", priceButtonProps: { text: "Buy Now", href: "/checkout" } + id: "prod3", name: "PodWave Classic Buds", price: "$179", imageSrc: "http://img.b2bpic.net/free-photo/wireless-earbuds-with-neon-cyberpunk-style-lighting_23-2151074306.jpg", imageAlt: "PodWave Classic Buds", priceButtonProps: { text: "Buy Now", href: "/checkout", onClick: () => handleButtonClick("Buy Now (PodWave Classic Buds)", "products") } }, ]} title="Our Exclusive AirPods Collection" @@ -259,7 +265,7 @@ export default function LandingPage() { description="Ready to immerse yourself in pure sound? Get in touch with our team for personalized assistance or explore our premium AirPods now." buttons={[ { - text: "Get Started", href: "#products"}, + text: "Get Started", href: "#products", onClick: () => handleButtonClick("Get Started", "contact")}, ]} />