From e72cd8878ffde72d5dbcaf09d77bf55113fec5ea Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 22 Apr 2026 15:23:31 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 171 ++++++++--------------------------------------- 1 file changed, 29 insertions(+), 142 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 6a42fb4..b24cba6 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -2,6 +2,7 @@ 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'; @@ -9,10 +10,17 @@ import HeroSplitTestimonial from '@/components/sections/hero/HeroSplitTestimonia import MediaAbout from '@/components/sections/about/MediaAbout'; import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple'; import PricingCardThree from '@/components/sections/pricing/PricingCardThree'; -import ProductCardOne from '@/components/sections/product/ProductCardOne'; +import ProductCardThree from '@/components/sections/product/ProductCardThree'; import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive'; export default function LandingPage() { + const [order, setOrder] = useState({ weight: 0, flavor: "" }); + + const handleQuantityChange = (id: string, qty: number) => { + // Logic for 3lb weight limit restriction + console.log(`Setting product ${id} to ${qty} lbs`); + }; + return ( @@ -48,54 +51,12 @@ export default function LandingPage() {
@@ -103,33 +64,23 @@ export default function LandingPage() {
-
@@ -137,18 +88,7 @@ export default function LandingPage() { @@ -158,15 +98,7 @@ export default function LandingPage() { @@ -215,13 +122,10 @@ export default function LandingPage() { title="Visit or Order With Us" description="Drop us a note for inquiries or catering requests." inputs={[ - { - name: "name", type: "text", placeholder: "Name"}, - { - name: "email", type: "email", placeholder: "Email"}, + { name: "name", type: "text", placeholder: "Name" }, + { name: "email", type: "email", placeholder: "Email" }, ]} - textarea={{ - name: "message", placeholder: "Your message"}} + textarea={{ name: "message", placeholder: "Your message" }} imageSrc="http://img.b2bpic.net/free-photo/view-beautiful-woman-looking-away-with-coffee_197531-33702.jpg" /> @@ -229,24 +133,7 @@ export default function LandingPage() {