Merge version_3 into main #6

Merged
bender merged 1 commits from version_3 into main 2026-04-22 15:24:02 +00:00

View File

@@ -14,11 +14,9 @@ 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) => {
const handleQuantityChange = (quantity: number) => {
// Logic for 3lb weight limit restriction
console.log(`Setting product ${id} to ${qty} lbs`);
console.log(`Setting product to ${quantity} lbs`);
};
return (
@@ -50,8 +48,6 @@ export default function LandingPage() {
<div id="hero" data-section="hero">
<HeroSplitTestimonial
useInvertedBackground={true}
background={{ variant: "gradient-bars" }}
title="Artisanal Baking, Elevated Every Day"
description="Handcrafted pastries and custom cakes made from premium ingredients. Order online or visit us for an exceptional tasting experience."
testimonials={[]}
@@ -62,10 +58,10 @@ export default function LandingPage() {
<div id="about" data-section="about">
<MediaAbout
useInvertedBackground={false}
title="Craftsmanship at Our Core"
description={["We believe that the best baked goods start with patience, quality ingredients, and traditional techniques. Every pastry is a testament to our passion."]}
description="We believe that the best baked goods start with patience, quality ingredients, and traditional techniques. Every pastry is a testament to our passion."
imageSrc="http://img.b2bpic.net/free-photo/chef-using-flour-knead-dough-so-it-won-t-stick-hands_23-2148742217.jpg?_wi=2"
useInvertedBackground={false}
/>
</div>
@@ -73,10 +69,10 @@ export default function LandingPage() {
<ProductCardThree
title="Custom Order Form"
description="Select your items and weight. Orders are limited to 3lbs max for custom designs."
textboxLayout="default"
gridVariant="four-items-2x2-equal-grid"
animationType="slide-up"
useInvertedBackground={true}
textboxLayout="default"
products={[
{ id: "1", name: "Custom Cake Base", price: "$50", imageSrc: "http://img.b2bpic.net/free-photo/delicious-baked-pastry-bangle-formed-inside-pan-bright-pastry-cookie-biscuit-sweet-sugar_140725-32072.jpg?_wi=2", onQuantityChange: handleQuantityChange },
{ 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: handleQuantityChange },