16 Commits

Author SHA1 Message Date
6f83f105ce Merge version_12_1783097984147 into main
Merge version_12_1783097984147 into main
2026-07-03 17:02:30 +00:00
kudinDmitriyUp
ec07521e6f Bob AI: fix build errors (attempt 1) 2026-07-03 17:01:46 +00:00
kudinDmitriyUp
dd2fb07049 Bob AI: Added a structured pricing comparison table section. 2026-07-03 17:00:59 +00:00
2c34a642b7 Merge version_11_1783097853295 into main
Merge version_11_1783097853295 into main
2026-07-03 16:59:20 +00:00
kudinDmitriyUp
f75f10a447 Bob AI: Added a newsletter signup section before the footer. 2026-07-03 16:58:31 +00:00
40cc266c9c Merge version_10_1783097659433 into main
Merge version_10_1783097659433 into main
2026-07-03 16:57:01 +00:00
kudinDmitriyUp
77d5ba721a Bob AI: Replaced contact section with a single-field email form and 2026-07-03 16:56:11 +00:00
40cd0dd55b Merge version_9_1783097441907 into main
Merge version_9_1783097441907 into main
2026-07-03 16:52:22 +00:00
kudinDmitriyUp
1dd53b266d Bob AI: Added background music with a toggle button 2026-07-03 16:51:31 +00:00
ca77bbff42 Merge version_8_1783089540816 into main
Merge version_8_1783089540816 into main
2026-07-03 14:41:05 +00:00
f18a94ea3f Merge version_7_1783089120744 into main
Merge version_7_1783089120744 into main
2026-07-03 14:33:54 +00:00
bf880a6f34 Merge version_6_1783088950296 into main
Merge version_6_1783088950296 into main
2026-07-03 14:31:11 +00:00
89ffb05621 Merge version_5_1783088809140 into main
Merge version_5_1783088809140 into main
2026-07-03 14:28:51 +00:00
f65a66bb7a Merge version_4_1783088538597 into main
Merge version_4_1783088538597 into main
2026-07-03 14:23:59 +00:00
7282580819 Merge version_3_1783087895510 into main
Merge version_3_1783087895510 into main
2026-07-03 14:13:32 +00:00
c6d88dd4b7 Merge version_2_1783085755118 into main
Merge version_2_1783085755118 into main
2026-07-03 13:36:09 +00:00
5 changed files with 223 additions and 22 deletions

View File

@@ -19,7 +19,10 @@ import FaqSection from './HomePage/sections/Faq';
import CertificationsSection from './HomePage/sections/Certifications';
import ClientLogosSection from './HomePage/sections/ClientLogos';
import FloatingCtaSection from './HomePage/sections/FloatingCta';
import GuaranteeSection from './HomePage/sections/Guarantee';export default function HomePage(): React.JSX.Element {
import GuaranteeSection from './HomePage/sections/Guarantee';
import BackgroundMusicSection from './HomePage/sections/BackgroundMusic';
import NewsletterSection from './HomePage/sections/Newsletter';
import PricingSection from './HomePage/sections/Pricing';export default function HomePage(): React.JSX.Element {
return (
<>
<HeroSection />
@@ -37,11 +40,14 @@ import GuaranteeSection from './HomePage/sections/Guarantee';export default func
<ClientLogosSection />
<SocialProofSection />
<PricingSection />
<FaqSection />
<GuaranteeSection />
<ContactSection />
<NewsletterSection />
<FloatingCtaSection />
<BackgroundMusicSection />
</>
);
}

View File

@@ -0,0 +1,46 @@
import { useState, useRef, useEffect } from 'react';
import { Volume2, VolumeX } from 'lucide-react';
export default function BackgroundMusicSection() {
const [isPlaying, setIsPlaying] = useState(false);
const audioRef = useRef<HTMLAudioElement>(null);
useEffect(() => {
if (audioRef.current) {
audioRef.current.volume = 0.15;
audioRef.current.play().then(() => {
setIsPlaying(true);
}).catch(() => {
setIsPlaying(false);
});
}
}, []);
const togglePlay = () => {
if (audioRef.current) {
if (isPlaying) {
audioRef.current.pause();
} else {
audioRef.current.play();
}
setIsPlaying(!isPlaying);
}
};
return (
<div data-webild-section="background-music" id="background-music" className="fixed bottom-4 right-4 z-50">
<audio
ref={audioRef}
src="https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3"
loop
/>
<button
onClick={togglePlay}
className="w-10 h-10 rounded-full bg-background/90 backdrop-blur border border-black/10 flex items-center justify-center text-foreground hover:bg-background transition-colors shadow-lg"
aria-label="Toggle background music"
>
{isPlaying ? <Volume2 size={18} /> : <VolumeX size={18} />}
</button>
</div>
);
}

View File

@@ -1,28 +1,19 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "contact" section.
// Created by add_section_from_catalog (ContactCenter).
import React from 'react';
import ContactCta from '@/components/sections/contact/ContactCta';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
import ContactCenter from '@/components/sections/contact/ContactCenter';
export default function ContactSection(): React.JSX.Element {
return (
<div id="contact" data-section="contact">
<SectionErrorBoundary name="contact">
<ContactCta
tag="Visit Us"
text="Ready to taste the difference? Stop by our bakery or pre-order online for the freshest loaves."
primaryButton={{
text: "Visit Our Shop",
href: "#",
}}
secondaryButton={{
text: "Call to Order",
href: "#",
}}
textAnimation="slide-up"
/>
</SectionErrorBoundary>
</div>
<div data-webild-section="contact" data-section="contact" id="contact">
<ContactCenter
inputPlaceholder="Email Address"
textAnimation="slide-up"
title="Reserve Your Loaf"
tag="Pre-Order"
description="Our small-batch sourdough sells out quickly. Enter your email below to secure your fresh-baked bread."
buttonText="Secure My Loaf"
/>
</div>
);
}

View File

@@ -0,0 +1,38 @@
import React from 'react';
import TextAnimation from '@/components/ui/TextAnimation';
import Input from '@/components/ui/Input';
import Button from '@/components/ui/Button';
import Tag from '@/components/ui/Tag';
export default function NewsletterSection() {
return (
<div data-webild-section="newsletter" id="newsletter" className="py-24 bg-background">
<div className="w-content-width mx-auto text-center flex flex-col items-center">
<Tag text="Industry Insights" className="mb-6" />
<TextAnimation
text="Join Our Artisan Community"
variant="slide-up"
tag="h2"
gradientText={false}
className="text-4xl font-bold text-foreground mb-4"
/>
<p className="text-lg text-accent mb-8 max-w-2xl">
Not ready to order yet? Subscribe to our newsletter for baking tips, behind-the-scenes stories, and exclusive early access to seasonal loaves.
</p>
<form className="flex flex-col sm:flex-row gap-4 justify-center w-full max-w-md" onSubmit={(e) => e.preventDefault()}>
<Input
type="email"
placeholder="Enter your email address"
className="flex-1"
required
/>
<Button
text="Subscribe"
variant="primary"
className="w-full sm:w-auto"
/>
</form>
</div>
</div>
);
}

View File

@@ -0,0 +1,120 @@
import { Check } from "lucide-react";
import Button from "@/components/ui/Button";
import Card from "@/components/ui/Card";
import Tag from "@/components/ui/Tag";
import TextAnimation from "@/components/ui/TextAnimation";
import ScrollReveal from "@/components/ui/ScrollReveal";
export default function PricingSection() {
const plans = [
{
name: "Single Loaf",
price: "$12",
period: "/loaf",
description: "Perfect for trying our signature 48-hour sourdough.",
features: [
"1 Classic Sourdough Loaf",
"Freshly baked same-day",
"In-store pickup",
],
buttonText: "Order Now",
highlighted: false,
},
{
name: "Weekly Subscription",
price: "$40",
period: "/month",
description: "Never run out of fresh, artisan bread for your family.",
features: [
"1 Loaf per week (4 total)",
"Priority baking schedule",
"Free local delivery",
"Early access to seasonal flavors",
],
buttonText: "Subscribe",
highlighted: true,
highlightText: "Most Popular",
},
{
name: "Wholesale",
price: "Custom",
period: "",
description: "For cafes and restaurants serving quality to their guests.",
features: [
"Bulk pricing available",
"Custom loaf sizes & shapes",
"Daily morning delivery",
"Dedicated account manager",
],
buttonText: "Request Quote",
highlighted: false,
},
];
return (
<section id="pricing" data-webild-section="pricing" className="relative w-full bg-background">
<div className="w-content-width mx-auto">
<div className="flex flex-col items-center text-center">
<ScrollReveal variant="fade">
<Tag text="Pricing & Tiers" className="mb-4" />
</ScrollReveal>
<TextAnimation
text="Choose Your Bread Journey"
variant="fade-blur"
tag="h2"
className="text-4xl md:text-5xl font-bold text-foreground mb-6"
gradientText={false}
/>
<ScrollReveal variant="fade" delay={0.1}>
<p className="text-lg text-accent max-w-content-width mx-auto">
Simple, transparent pricing for individuals, families, and local businesses. Evaluate the best fit for your needs.
</p>
</ScrollReveal>
</div>
<div className="grid grid-cols-1 md:grid-cols-3 gap-8 items-center">
{plans.map((plan, index) => (
<ScrollReveal variant="fade" key={index} delay={index * 0.1} className="h-full">
<Card className={`relative h-full flex flex-col p-8 ${plan.highlighted ?'border-2 border-[var(--primary-cta)] shadow-xl md:scale-105 z-10' : ''}`}>
{plan.highlighted && (
<div className="absolute top-0 left-1/2 -translate-x-1/2 -translate-y-1/2">
<span className="bg-foreground text-background text-xs font-bold px-4 py-1.5 rounded-full uppercase tracking-wider whitespace-nowrap">
{plan.highlightText}
</span>
</div>
)}
<div className="mb-8">
<h3 className="text-xl font-semibold text-foreground mb-2">{plan.name}</h3>
<div className="flex items-baseline gap-1 mb-4">
<span className="text-4xl font-bold text-foreground">{plan.price}</span>
{plan.period && <span className="text-accent">{plan.period}</span>}
</div>
<p className="text-accent text-sm">{plan.description}</p>
</div>
<div className="flex-grow mb-8">
<ul className="space-y-4">
{plan.features.map((feature, fIndex) => (
<li key={fIndex} className="flex items-start gap-3">
<Check className="w-5 h-5 text-foreground shrink-0" />
<span className="text-foreground text-sm">{feature}</span>
</li>
))}
</ul>
</div>
<Button
text={plan.buttonText}
variant={plan.highlighted ? 'primary' : 'secondary'}
className="w-full justify-center"
href="#contact"
/>
</Card>
</ScrollReveal>
))}
</div>
</div>
</section>
);
}