Merge version_2_1781348212351 into main #2
@@ -1,190 +1,30 @@
|
||||
import AboutText from '@/components/sections/about/AboutText';
|
||||
import ContactCta from '@/components/sections/contact/ContactCta';
|
||||
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
|
||||
import FeaturesDetailedCards from '@/components/sections/features/FeaturesDetailedCards';
|
||||
import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento';
|
||||
import HeroOverlayMarquee from '@/components/sections/hero/HeroOverlayMarquee';
|
||||
import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards';
|
||||
import SocialProofMarquee from '@/components/sections/social-proof/SocialProofMarquee';
|
||||
import TestimonialOverlayCards from '@/components/sections/testimonial/TestimonialOverlayCards';
|
||||
import { Award, Building, Leaf } from "lucide-react";
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
// AUTO-GENERATED shell by per-section-migrate.
|
||||
// Section bodies live in ./<PageBase>/sections/<X>.tsx. Edit the section
|
||||
// files directly; this shell only fixes render order.
|
||||
|
||||
export default function HomePage() {
|
||||
import React from 'react';
|
||||
import HeroSection from './HomePage/sections/Hero';
|
||||
import AboutSection from './HomePage/sections/About';
|
||||
import FeaturesSection from './HomePage/sections/Features';
|
||||
import ProductsSection from './HomePage/sections/Products';
|
||||
import MetricsSection from './HomePage/sections/Metrics';
|
||||
import TestimonialsSection from './HomePage/sections/Testimonials';
|
||||
import SocialProofSection from './HomePage/sections/SocialProof';
|
||||
import FaqSection from './HomePage/sections/Faq';
|
||||
import ContactSection from './HomePage/sections/Contact';
|
||||
|
||||
export default function HomePage(): React.JSX.Element {
|
||||
return (
|
||||
<>
|
||||
<div id="hero" data-section="hero">
|
||||
<SectionErrorBoundary name="hero">
|
||||
<HeroOverlayMarquee
|
||||
tag="Daily Freshness"
|
||||
title="Freshly Baked Goodness, Delivered Daily"
|
||||
description="Handcrafted breads, pastries, and custom cakes made with premium ingredients. Order online or visit us today."
|
||||
primaryButton={{
|
||||
text: "Order Now", href: "#contact"}}
|
||||
secondaryButton={{
|
||||
text: "Visit Us", href: "#about"}}
|
||||
items={[
|
||||
{
|
||||
text: "Organic Ingredients", icon: Leaf,
|
||||
},
|
||||
{
|
||||
text: "Handcrafted Daily", icon: Award,
|
||||
},
|
||||
{
|
||||
text: "Local Sourcing", icon: Building,
|
||||
},
|
||||
]}
|
||||
imageSrc="https://images.pexels.com/photos/30263735/pexels-photo-30263735.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
|
||||
<div id="about" data-section="about">
|
||||
<SectionErrorBoundary name="about">
|
||||
<AboutText
|
||||
title="Crafted with Passion Since 1995. We believe that every loaf tells a story, and every pastry should be a masterpiece of flavor."
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
|
||||
<div id="features" data-section="features">
|
||||
<SectionErrorBoundary name="features">
|
||||
<FeaturesDetailedCards
|
||||
tag="Our Process"
|
||||
title="The Art of Baking"
|
||||
description="We blend traditional techniques with modern creativity to bring you the best."
|
||||
items={[
|
||||
{
|
||||
title: "Premium Ingredients", description: "Locally sourced flour and organic butter.", tags: [
|
||||
"Organic", "Quality"],
|
||||
imageSrc: "https://images.pexels.com/photos/30926952/pexels-photo-30926952.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
title: "Artisanal Techniques", description: "Long fermentation for deeper flavor.", tags: [
|
||||
"Traditional", "Authentic"],
|
||||
imageSrc: "https://images.pexels.com/photos/5964565/pexels-photo-5964565.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
title: "Fresh Every Morning", description: "Baked fresh every single morning.", tags: [
|
||||
"Fresh", "Daily"],
|
||||
imageSrc: "https://images.pexels.com/photos/11288937/pexels-photo-11288937.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
|
||||
<div id="products" data-section="products">
|
||||
<SectionErrorBoundary name="products">
|
||||
<FeaturesRevealCardsBento
|
||||
tag="Featured Items"
|
||||
title="Our Daily Selections"
|
||||
description="Explore our wide range of handcrafted goods."
|
||||
items={[
|
||||
{
|
||||
title: "Sourdough", description: "Classic rustic loaf.", href: "#", imageSrc: "https://images.pexels.com/photos/36202913/pexels-photo-36202913.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
title: "Croissants", description: "Buttery and flakey.", href: "#", imageSrc: "https://images.pexels.com/photos/5336345/pexels-photo-5336345.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
title: "Custom Cakes", description: "For your special days.", href: "#", imageSrc: "https://images.pexels.com/photos/37233703/pexels-photo-37233703.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
title: "Fruit Tarts", description: "Seasonal fresh fruit.", href: "#", imageSrc: "https://images.pexels.com/photos/6939751/pexels-photo-6939751.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
title: "Muffins", description: "Blueberry and bran.", href: "#", imageSrc: "https://images.pexels.com/photos/37185473/pexels-photo-37185473.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
title: "Cookies", description: "Chocolate chip goodness.", href: "#", imageSrc: "https://images.pexels.com/photos/947175/pexels-photo-947175.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
title: "Cinnamon Rolls", description: "Warm cinnamon spice.", href: "#", imageSrc: "https://images.pexels.com/photos/351962/pexels-photo-351962.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
|
||||
<div id="metrics" data-section="metrics">
|
||||
<SectionErrorBoundary name="metrics">
|
||||
<MetricsMediaCards
|
||||
tag="Our Impact"
|
||||
title="Baking Better Communities"
|
||||
description="Numbers behind our passion."
|
||||
metrics={[
|
||||
{
|
||||
value: "15k+", title: "Loaves Baked", description: "Total loaves shared with locals.", imageSrc: "https://images.pexels.com/photos/27165968/pexels-photo-27165968.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
value: "500+", title: "Custom Cakes", description: "Beautiful celebrations created.", imageSrc: "https://images.pexels.com/photos/8015248/pexels-photo-8015248.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
value: "28", title: "Local Farmers", description: "Partnerships that empower.", imageSrc: "https://images.pexels.com/photos/33608777/pexels-photo-33608777.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<SectionErrorBoundary name="testimonials">
|
||||
<TestimonialOverlayCards
|
||||
tag="Happy Neighbors"
|
||||
title="Loved by the Community"
|
||||
description="See what our regulars have to say about our bakes."
|
||||
testimonials={[
|
||||
{
|
||||
name: "Sarah Johnson", role: "Local Resident", company: "Neighbor", rating: 5,
|
||||
imageSrc: "https://images.pexels.com/photos/23996669/pexels-photo-23996669.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
name: "Mark Miller", role: "Catering Client", company: "Office Manager", rating: 5,
|
||||
imageSrc: "https://images.pexels.com/photos/4259701/pexels-photo-4259701.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
name: "Emily Chen", role: "Foodie", company: "Reviewer", rating: 5,
|
||||
imageSrc: "https://images.pexels.com/photos/7447279/pexels-photo-7447279.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
name: "David Wilson", role: "Loyal Customer", company: "Regular", rating: 5,
|
||||
imageSrc: "https://images.pexels.com/photos/5910745/pexels-photo-5910745.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
name: "Jane Doe", role: "Gift Giver", company: "Client", rating: 5,
|
||||
imageSrc: "https://images.pexels.com/photos/6831711/pexels-photo-6831711.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
|
||||
<div id="social-proof" data-section="social-proof">
|
||||
<SectionErrorBoundary name="social-proof">
|
||||
<SocialProofMarquee
|
||||
tag="Proudly Serving"
|
||||
title="Local Partners"
|
||||
description="We partner with the best in town."
|
||||
names={[
|
||||
"City Cafe", "Morning Coffee Co.", "Urban Bistro", "The Daily Grind", "Downtown Deli", "Main Street Bakery", "Green Market"]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
|
||||
<div id="faq" data-section="faq">
|
||||
<SectionErrorBoundary name="faq">
|
||||
<FaqSplitMedia
|
||||
tag="Common Questions"
|
||||
title="Need Help?"
|
||||
description="Everything you need to know about our bakery."
|
||||
items={[
|
||||
{
|
||||
question: "Do you offer gluten-free?", answer: "Yes, we have a selection of GF items."},
|
||||
{
|
||||
question: "Can I pre-order online?", answer: "Yes, orders are ready for same-day pickup."},
|
||||
{
|
||||
question: "Do you deliver?", answer: "We offer local delivery on orders over $50."},
|
||||
]}
|
||||
imageSrc="https://images.pexels.com/photos/33608752/pexels-photo-33608752.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<SectionErrorBoundary name="contact">
|
||||
<ContactCta
|
||||
tag="Ready to Eat?"
|
||||
text="Place your order now for fresh pickup."
|
||||
primaryButton={{
|
||||
text: "Shop Online", href: "#"}}
|
||||
secondaryButton={{
|
||||
text: "Contact Support", href: "#"}}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<HeroSection />
|
||||
<AboutSection />
|
||||
<FeaturesSection />
|
||||
<ProductsSection />
|
||||
<MetricsSection />
|
||||
<TestimonialsSection />
|
||||
<SocialProofSection />
|
||||
<FaqSection />
|
||||
<ContactSection />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
18
src/pages/HomePage/sections/About.tsx
Normal file
18
src/pages/HomePage/sections/About.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "about" section.
|
||||
|
||||
import React from 'react';
|
||||
import AboutText from '@/components/sections/about/AboutText';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function AboutSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="about" data-section="about">
|
||||
<SectionErrorBoundary name="about">
|
||||
<AboutText
|
||||
title="Crafted with Passion Since 1995. We believe that every loaf tells a story, and every pastry should be a masterpiece of flavor."
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
23
src/pages/HomePage/sections/Contact.tsx
Normal file
23
src/pages/HomePage/sections/Contact.tsx
Normal file
@@ -0,0 +1,23 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "contact" section.
|
||||
|
||||
import React from 'react';
|
||||
import ContactCta from '@/components/sections/contact/ContactCta';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function ContactSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="contact" data-section="contact">
|
||||
<SectionErrorBoundary name="contact">
|
||||
<ContactCta
|
||||
tag="Ready to Eat?"
|
||||
text="Place your order now for fresh pickup."
|
||||
primaryButton={{
|
||||
text: "Shop Online", href: "#"}}
|
||||
secondaryButton={{
|
||||
text: "Contact Support", href: "#"}}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
29
src/pages/HomePage/sections/Faq.tsx
Normal file
29
src/pages/HomePage/sections/Faq.tsx
Normal file
@@ -0,0 +1,29 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "faq" section.
|
||||
|
||||
import React from 'react';
|
||||
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function FaqSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="faq" data-section="faq">
|
||||
<SectionErrorBoundary name="faq">
|
||||
<FaqSplitMedia
|
||||
tag="Common Questions"
|
||||
title="Need Help?"
|
||||
description="Everything you need to know about our bakery."
|
||||
items={[
|
||||
{
|
||||
question: "Do you offer gluten-free?", answer: "Yes, we have a selection of GF items."},
|
||||
{
|
||||
question: "Can I pre-order online?", answer: "Yes, orders are ready for same-day pickup."},
|
||||
{
|
||||
question: "Do you deliver?", answer: "We offer local delivery on orders over $50."},
|
||||
]}
|
||||
imageSrc="https://images.pexels.com/photos/33608752/pexels-photo-33608752.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
34
src/pages/HomePage/sections/Features.tsx
Normal file
34
src/pages/HomePage/sections/Features.tsx
Normal file
@@ -0,0 +1,34 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "features" section.
|
||||
|
||||
import React from 'react';
|
||||
import FeaturesDetailedCards from '@/components/sections/features/FeaturesDetailedCards';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function FeaturesSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="features" data-section="features">
|
||||
<SectionErrorBoundary name="features">
|
||||
<FeaturesDetailedCards
|
||||
tag="Our Process"
|
||||
title="The Art of Baking"
|
||||
description="We blend traditional techniques with modern creativity to bring you the best."
|
||||
items={[
|
||||
{
|
||||
title: "Premium Ingredients", description: "Locally sourced flour and organic butter.", tags: [
|
||||
"Organic", "Quality"],
|
||||
imageSrc: "https://images.pexels.com/photos/30926952/pexels-photo-30926952.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
title: "Artisanal Techniques", description: "Long fermentation for deeper flavor.", tags: [
|
||||
"Traditional", "Authentic"],
|
||||
imageSrc: "https://images.pexels.com/photos/5964565/pexels-photo-5964565.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
title: "Fresh Every Morning", description: "Baked fresh every single morning.", tags: [
|
||||
"Fresh", "Daily"],
|
||||
imageSrc: "https://images.pexels.com/photos/11288937/pexels-photo-11288937.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
120
src/pages/HomePage/sections/Hero.tsx
Normal file
120
src/pages/HomePage/sections/Hero.tsx
Normal file
@@ -0,0 +1,120 @@
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body
|
||||
import { Leaf, Award, Building } from 'lucide-react';
|
||||
import type { LucideIcon } from "lucide-react";
|
||||
import { useState } from 'react';
|
||||
import Calendar from "@/components/ui/Calendar";
|
||||
|
||||
import Button from "@/components/ui/Button";
|
||||
import HeroBackgroundSlot from "@/components/ui/HeroBackgroundSlot";
|
||||
import TextAnimation from "@/components/ui/TextAnimation";
|
||||
import ImageOrVideo from "@/components/ui/ImageOrVideo";
|
||||
import AvatarGroup from "@/components/ui/AvatarGroup";
|
||||
|
||||
const primaryButton = {
|
||||
text: "Order Now",
|
||||
href: "#contact"
|
||||
};
|
||||
const secondaryButton = {
|
||||
text: "Visit Us",
|
||||
href: "#about"
|
||||
};
|
||||
const items = [
|
||||
{
|
||||
text: "Organic Ingredients",
|
||||
icon: Leaf
|
||||
},
|
||||
{
|
||||
text: "Handcrafted Daily",
|
||||
icon: Award
|
||||
},
|
||||
{
|
||||
text: "Local Sourcing",
|
||||
icon: Building
|
||||
}
|
||||
];
|
||||
|
||||
type HeroOverlayMarqueeProps = {
|
||||
tag: string;
|
||||
title: string;
|
||||
description: string;
|
||||
primaryButton: { text: string; href: string };
|
||||
secondaryButton: { text: string; href: string };
|
||||
avatarsSrc?: string[];
|
||||
avatarsLabel?: string;
|
||||
items: { text: string; icon: LucideIcon }[];
|
||||
} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never });
|
||||
|
||||
const HeroInline = () => {
|
||||
const [date, setDate] = useState(new Date());
|
||||
return (
|
||||
<section
|
||||
aria-label="Hero section"
|
||||
className="relative overflow-hidden flex flex-col justify-between mb-20 w-full h-svh"
|
||||
>
|
||||
<HeroBackgroundSlot />
|
||||
<ImageOrVideo
|
||||
imageSrc={"https://images.pexels.com/photos/30263735/pexels-photo-30263735.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"}
|
||||
className="absolute inset-0 object-cover w-full h-full rounded-none"
|
||||
/>
|
||||
|
||||
<div
|
||||
className="absolute z-10 left-0 top-0 w-[150vw] h-[150vw] -translate-x-1/2 -translate-y-1/2 backdrop-blur mask-[radial-gradient(circle,black_20%,transparent_70%)]"
|
||||
aria-hidden="true"
|
||||
/>
|
||||
|
||||
<div className="relative z-10 mx-auto pt-35 w-content-width">
|
||||
<div className="flex flex-col gap-3 w-full md:w-6/10 lg:w-1/2 xl:w-45/100 2xl:w-4/10">
|
||||
<div className="mb-1 px-3 py-1 w-fit text-sm card rounded">
|
||||
<p>{"Daily Freshness"}</p>
|
||||
</div>
|
||||
|
||||
<TextAnimation
|
||||
text={"Freshly Baked Goodness, Delivered Daily"}
|
||||
variant="fade"
|
||||
gradientText={true}
|
||||
tag="h1"
|
||||
className="text-7xl 2xl:text-8xl leading-[1.15] font-semibold text-balance text-white"
|
||||
/>
|
||||
|
||||
<TextAnimation
|
||||
text={"Handcrafted breads, pastries, and custom cakes made with premium ingredients. Order online or visit us today."}
|
||||
variant="fade"
|
||||
gradientText={false}
|
||||
tag="p"
|
||||
className="text-lg md:text-xl leading-snug text-balance text-white"
|
||||
/>
|
||||
|
||||
<div className="flex flex-wrap gap-3 mt-2 md:mt-3">
|
||||
<Button text={primaryButton.text} href={primaryButton.href} variant="primary" />
|
||||
<Button text={secondaryButton.text} href={secondaryButton.href} variant="secondary" animationDelay={0.1} />
|
||||
</div>
|
||||
|
||||
<div className="mt-6 card p-4 rounded-xl w-fit">
|
||||
<h3 className="text-lg font-medium mb-2">Book an Appointment</h3>
|
||||
<Calendar selected={date} onSelect={setDate} className="bg-background rounded-lg border border-border" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="relative z-10 overflow-hidden mx-auto pb-8 w-content-width mask-fade-x">
|
||||
<div className="flex w-max animate-marquee-horizontal" style={{ animationDuration: "30s" }}>
|
||||
{[...items, ...items, ...items, ...items].map((item, index) => (
|
||||
<div key={index} className="flex items-center shrink-0 gap-1 mx-3 pl-2 pr-4 py-2 card rounded">
|
||||
<item.icon className="h-(--text-base) text-foreground" />
|
||||
<span className="whitespace-nowrap text-base font-medium text-foreground">{item.text}</span>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default function HeroSection() {
|
||||
return (
|
||||
<div data-webild-section="hero" id="hero">
|
||||
<HeroInline />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
28
src/pages/HomePage/sections/Metrics.tsx
Normal file
28
src/pages/HomePage/sections/Metrics.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "metrics" section.
|
||||
|
||||
import React from 'react';
|
||||
import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function MetricsSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="metrics" data-section="metrics">
|
||||
<SectionErrorBoundary name="metrics">
|
||||
<MetricsMediaCards
|
||||
tag="Our Impact"
|
||||
title="Baking Better Communities"
|
||||
description="Numbers behind our passion."
|
||||
metrics={[
|
||||
{
|
||||
value: "15k+", title: "Loaves Baked", description: "Total loaves shared with locals.", imageSrc: "https://images.pexels.com/photos/27165968/pexels-photo-27165968.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
value: "500+", title: "Custom Cakes", description: "Beautiful celebrations created.", imageSrc: "https://images.pexels.com/photos/8015248/pexels-photo-8015248.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
value: "28", title: "Local Farmers", description: "Partnerships that empower.", imageSrc: "https://images.pexels.com/photos/33608777/pexels-photo-33608777.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
36
src/pages/HomePage/sections/Products.tsx
Normal file
36
src/pages/HomePage/sections/Products.tsx
Normal file
@@ -0,0 +1,36 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "products" section.
|
||||
|
||||
import React from 'react';
|
||||
import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function ProductsSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="products" data-section="products">
|
||||
<SectionErrorBoundary name="products">
|
||||
<FeaturesRevealCardsBento
|
||||
tag="Featured Items"
|
||||
title="Our Daily Selections"
|
||||
description="Explore our wide range of handcrafted goods."
|
||||
items={[
|
||||
{
|
||||
title: "Sourdough", description: "Classic rustic loaf.", href: "#", imageSrc: "https://images.pexels.com/photos/36202913/pexels-photo-36202913.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
title: "Croissants", description: "Buttery and flakey.", href: "#", imageSrc: "https://images.pexels.com/photos/5336345/pexels-photo-5336345.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
title: "Custom Cakes", description: "For your special days.", href: "#", imageSrc: "https://images.pexels.com/photos/37233703/pexels-photo-37233703.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
title: "Fruit Tarts", description: "Seasonal fresh fruit.", href: "#", imageSrc: "https://images.pexels.com/photos/6939751/pexels-photo-6939751.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
title: "Muffins", description: "Blueberry and bran.", href: "#", imageSrc: "https://images.pexels.com/photos/37185473/pexels-photo-37185473.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
title: "Cookies", description: "Chocolate chip goodness.", href: "#", imageSrc: "https://images.pexels.com/photos/947175/pexels-photo-947175.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
title: "Cinnamon Rolls", description: "Warm cinnamon spice.", href: "#", imageSrc: "https://images.pexels.com/photos/351962/pexels-photo-351962.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
22
src/pages/HomePage/sections/SocialProof.tsx
Normal file
22
src/pages/HomePage/sections/SocialProof.tsx
Normal file
@@ -0,0 +1,22 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "social-proof" section.
|
||||
|
||||
import React from 'react';
|
||||
import SocialProofMarquee from '@/components/sections/social-proof/SocialProofMarquee';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function SocialProofSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="social-proof" data-section="social-proof">
|
||||
<SectionErrorBoundary name="social-proof">
|
||||
<SocialProofMarquee
|
||||
tag="Proudly Serving"
|
||||
title="Local Partners"
|
||||
description="We partner with the best in town."
|
||||
names={[
|
||||
"City Cafe", "Morning Coffee Co.", "Urban Bistro", "The Daily Grind", "Downtown Deli", "Main Street Bakery", "Green Market"]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
37
src/pages/HomePage/sections/Testimonials.tsx
Normal file
37
src/pages/HomePage/sections/Testimonials.tsx
Normal file
@@ -0,0 +1,37 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "testimonials" section.
|
||||
|
||||
import React from 'react';
|
||||
import TestimonialOverlayCards from '@/components/sections/testimonial/TestimonialOverlayCards';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function TestimonialsSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<SectionErrorBoundary name="testimonials">
|
||||
<TestimonialOverlayCards
|
||||
tag="Happy Neighbors"
|
||||
title="Loved by the Community"
|
||||
description="See what our regulars have to say about our bakes."
|
||||
testimonials={[
|
||||
{
|
||||
name: "Sarah Johnson", role: "Local Resident", company: "Neighbor", rating: 5,
|
||||
imageSrc: "https://images.pexels.com/photos/23996669/pexels-photo-23996669.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
name: "Mark Miller", role: "Catering Client", company: "Office Manager", rating: 5,
|
||||
imageSrc: "https://images.pexels.com/photos/4259701/pexels-photo-4259701.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
name: "Emily Chen", role: "Foodie", company: "Reviewer", rating: 5,
|
||||
imageSrc: "https://images.pexels.com/photos/7447279/pexels-photo-7447279.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
name: "David Wilson", role: "Loyal Customer", company: "Regular", rating: 5,
|
||||
imageSrc: "https://images.pexels.com/photos/5910745/pexels-photo-5910745.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
{
|
||||
name: "Jane Doe", role: "Gift Giver", company: "Client", rating: 5,
|
||||
imageSrc: "https://images.pexels.com/photos/6831711/pexels-photo-6831711.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user