From 5da9c06841bd3736c54771de728d18e2d73d251b Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 22 Apr 2026 15:24:27 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 189 +++++++++++++++++++++++------------------------ 1 file changed, 94 insertions(+), 95 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 6f4cbaf..0078053 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -2,7 +2,6 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import ReactLenis from "lenis/react"; -import { useState } from "react"; import ContactSplitForm from '@/components/sections/contact/ContactSplitForm'; import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia'; import FooterBaseCard from '@/components/sections/footer/FooterBaseCard'; @@ -14,9 +13,8 @@ import ProductCardThree from '@/components/sections/product/ProductCardThree'; import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive'; export default function LandingPage() { - const handleQuantityChange = (quantity: number) => { - // Logic for 3lb weight limit restriction - console.log(`Setting product to ${quantity} lbs`); + const handleQuantityChange = (id: string, quantity: number) => { + console.log(`Setting product ${id} to ${quantity} lbs`); }; return ( @@ -33,105 +31,106 @@ export default function LandingPage() { headingFontWeight="extrabold" > - + -
- -
+
+ +
-
- -
+
+ +
-
- -
+
+ handleQuantityChange("1", q) }, + { id: "2", name: "Specialty Filling", price: "$10", imageSrc: "http://img.b2bpic.net/free-photo/baker-holds-homemade-craft-bread-his-hands_166373-749.jpg?_wi=2", onQuantityChange: (q) => handleQuantityChange("2", q) }, + ]} + /> +
-
- -
+
+ +
-
- -
+
+ +
-
- -
+
+ +
-
- -
+
+ +
- +
); -- 2.49.1