270 lines
13 KiB
TypeScript
270 lines
13 KiB
TypeScript
"use client"
|
|
|
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
|
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
|
|
import HeroBillboardScroll from '@/components/sections/hero/HeroBillboardScroll';
|
|
import AboutMetric from '@/components/sections/about/AboutMetric';
|
|
import ProductCardOne from '@/components/sections/product/ProductCardOne';
|
|
import FeatureCardMedia from '@/components/sections/feature/FeatureCardMedia';
|
|
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
|
|
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
|
|
import PricingCardOne from '@/components/sections/pricing/PricingCardOne';
|
|
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
|
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
|
|
import { Award, Users, Sparkles, Star, Gift } from 'lucide-react';
|
|
|
|
export default function LandingPage() {
|
|
return (
|
|
<ThemeProvider
|
|
defaultButtonVariant="text-shift"
|
|
defaultTextAnimation="entrance-slide"
|
|
borderRadius="rounded"
|
|
contentWidth="mediumLarge"
|
|
sizing="mediumLargeSizeLargeTitles"
|
|
background="circleGradient"
|
|
cardStyle="soft-shadow"
|
|
primaryButtonStyle="flat"
|
|
secondaryButtonStyle="glass"
|
|
headingFontWeight="bold"
|
|
>
|
|
<div id="nav" data-section="nav">
|
|
<NavbarLayoutFloatingInline
|
|
brandName="Sweet Crust Bakery"
|
|
navItems={[
|
|
{ name: "Home", id: "home" },
|
|
{ name: "Products", id: "products" },
|
|
{ name: "About", id: "about" },
|
|
{ name: "Contact", id: "contact" }
|
|
]}
|
|
button={{
|
|
text: "Order Now", href: "#contact"
|
|
}}
|
|
animateOnLoad={true}
|
|
/>
|
|
</div>
|
|
|
|
<div id="hero" data-section="hero">
|
|
<HeroBillboardScroll
|
|
title="Handcrafted Goodness Baked Fresh Daily"
|
|
description="Experience the warmth of artisanal baking. From rustic sourdough to delicate pastries, every bite celebrates tradition, quality, and love for the craft."
|
|
background={{ variant: "plain" }}
|
|
tag="Est. 2010"
|
|
tagAnimation="slide-up"
|
|
buttons={[
|
|
{ text: "Browse Our Bakery", href: "#products" },
|
|
{ text: "Learn Our Story", href: "#about" }
|
|
]}
|
|
buttonAnimation="slide-up"
|
|
imageSrc="http://img.b2bpic.net/free-photo/delicious-orange-bun-table_23-2148858384.jpg"
|
|
imageAlt="Sweet Crust Bakery storefront with fresh baked goods"
|
|
ariaLabel="Hero section - Handcrafted Bakery"
|
|
/>
|
|
</div>
|
|
|
|
<div id="about" data-section="about">
|
|
<AboutMetric
|
|
title="Baked with Passion Since 2010"
|
|
metrics={[
|
|
{ icon: Award, label: "Award-Winning Recipes", value: "15+" },
|
|
{ icon: Users, label: "Happy Customers", value: "5K+" },
|
|
{ icon: Sparkles, label: "Fresh Items Daily", value: "100+" }
|
|
]}
|
|
metricsAnimation="slide-up"
|
|
useInvertedBackground={false}
|
|
ariaLabel="About metrics section"
|
|
/>
|
|
</div>
|
|
|
|
<div id="products" data-section="products">
|
|
<ProductCardOne
|
|
title="Our Signature Collections"
|
|
description="Discover our finest creations, crafted daily with premium ingredients and timeless techniques."
|
|
tag="Featured"
|
|
tagAnimation="slide-up"
|
|
buttons={[
|
|
{ text: "View All Products", href: "#contact" }
|
|
]}
|
|
buttonAnimation="slide-up"
|
|
textboxLayout="split"
|
|
gridVariant="three-columns-all-equal-width"
|
|
animationType="slide-up"
|
|
useInvertedBackground={true}
|
|
products={[
|
|
{
|
|
id: "sourdough", name: "Artisan Sourdough", price: "$6.99", imageSrc: "http://img.b2bpic.net/free-photo/farm-bakery-products-artisan-rye-wheat-bread-traditional-pastries-turkey-natural-lighting-fresh-bread-table-closeup-selective-focus-homemade-bread-with-whole-wheat-flour_166373-3520.jpg", imageAlt: "Artisan sourdough bread loaf"
|
|
},
|
|
{
|
|
id: "croissant", name: "French Croissant", price: "$4.49", imageSrc: "http://img.b2bpic.net/free-photo/overhead-view-croissant-stuffed-with-berries-jam-glass-milk-table_23-2147871355.jpg", imageAlt: "Buttery croissant pastry"
|
|
},
|
|
{
|
|
id: "cupcake", name: "Gourmet Cupcakes", price: "$3.99", imageSrc: "http://img.b2bpic.net/free-photo/delicious-cupcakes-arrangement-high-angle_23-2149021983.jpg", imageAlt: "Frosted artisan cupcakes"
|
|
}
|
|
]}
|
|
carouselMode="buttons"
|
|
ariaLabel="Product showcase section"
|
|
/>
|
|
</div>
|
|
|
|
<div id="features" data-section="features">
|
|
<FeatureCardMedia
|
|
title="Why Our Bakery Stands Out"
|
|
description="We combine time-honored baking traditions with the finest natural ingredients to create something truly special."
|
|
tag="Premium Quality"
|
|
tagAnimation="slide-up"
|
|
buttons={[
|
|
{ text: "Discover Our Process", href: "#contact" }
|
|
]}
|
|
buttonAnimation="slide-up"
|
|
textboxLayout="split"
|
|
animationType="slide-up"
|
|
useInvertedBackground={false}
|
|
features={[
|
|
{
|
|
id: "fresh-ingredients", title: "100% Natural Ingredients", description: "We source only the finest organic flour, fresh eggs, premium butter, and pure honey. No artificial additives, ever.", tag: "Organic", imageSrc: "http://img.b2bpic.net/free-photo/bowl-flour-with-wooden-spoon-eggs-lemons_114579-5816.jpg", imageAlt: "Fresh baking ingredients and materials"
|
|
},
|
|
{
|
|
id: "traditional-methods", title: "Time-Honored Techniques", description: "Our bakers use traditional fermentation and hand-crafted methods passed down through generations, creating depth and flavor.", tag: "Tradition", imageSrc: "http://img.b2bpic.net/free-photo/close-up-woman-holding-tray-with-croissant_23-2149233713.jpg", imageAlt: "Artisan baker working with traditional methods"
|
|
},
|
|
{
|
|
id: "quality-assurance", title: "Uncompromising Quality", description: "Every item is inspected by hand. We guarantee freshness, taste, and texture that exceeds expectations daily.", tag: "Excellence", imageSrc: "http://img.b2bpic.net/free-photo/set-breads-stored-sale-consumption-supermarket_169016-49108.jpg", imageAlt: "Premium quality baked goods display"
|
|
}
|
|
]}
|
|
carouselMode="buttons"
|
|
ariaLabel="Features section"
|
|
/>
|
|
</div>
|
|
|
|
<div id="testimonials" data-section="testimonials">
|
|
<TestimonialCardFifteen
|
|
testimonial="The sourdough here is absolutely incredible. It's crispy on the outside, soft on the inside, and has a depth of flavor I've never found anywhere else. We're customers for life!"
|
|
rating={5}
|
|
author="Sarah Mitchell"
|
|
avatars={[
|
|
{ src: "http://img.b2bpic.net/free-photo/closeup-happy-middle-aged-business-leader_1262-4823.jpg", alt: "Sarah Mitchell" }
|
|
]}
|
|
ratingAnimation="slide-up"
|
|
avatarsAnimation="slide-up"
|
|
useInvertedBackground={true}
|
|
ariaLabel="Customer testimonial section"
|
|
/>
|
|
</div>
|
|
|
|
<div id="social-proof" data-section="social-proof">
|
|
<SocialProofOne
|
|
title="Trusted by Thousands"
|
|
description="Featured in local magazines and beloved by food enthusiasts throughout the region."
|
|
tag="Community Favorite"
|
|
tagAnimation="slide-up"
|
|
names={[
|
|
"Local Food Magazine", "Baker's Association", "Organic Certified", "Food Award Winner", "Community Choice", "Quality Standard", "Premium Bakery Network", "Artisan Guild Member"
|
|
]}
|
|
textboxLayout="default"
|
|
useInvertedBackground={false}
|
|
showCard={true}
|
|
speed={40}
|
|
ariaLabel="Social proof section"
|
|
/>
|
|
</div>
|
|
|
|
<div id="pricing" data-section="pricing">
|
|
<PricingCardOne
|
|
title="Perfect Plans for Every Occasion"
|
|
description="From daily favorites to special celebrations, we have the right options for you."
|
|
tag="Special Offers"
|
|
tagAnimation="slide-up"
|
|
buttons={[
|
|
{ text: "Order Now", href: "#contact" }
|
|
]}
|
|
buttonAnimation="slide-up"
|
|
textboxLayout="default"
|
|
animationType="slide-up"
|
|
useInvertedBackground={true}
|
|
plans={[
|
|
{
|
|
id: "daily-box", badge: "Most Popular", badgeIcon: Star,
|
|
price: "$24.99", subtitle: "Per Week", features: [
|
|
"3 Fresh Loaves", "6 Pastries Mix", "2 Specialty Items", "Free Delivery"
|
|
]
|
|
},
|
|
{
|
|
id: "party-box", badge: "Perfect for Events", badgeIcon: Sparkles,
|
|
price: "$89.99", subtitle: "Per Box", features: [
|
|
"24 Assorted Items", "Custom Selections", "Premium Presentation", "Delivery Included"
|
|
]
|
|
},
|
|
{
|
|
id: "custom-order", badge: "Create Your Own", badgeIcon: Gift,
|
|
price: "Starting $15", subtitle: "Per Item", features: [
|
|
"Custom Cakes", "Special Orders", "Dietary Options", "Personal Service"
|
|
]
|
|
}
|
|
]}
|
|
carouselMode="buttons"
|
|
ariaLabel="Pricing section"
|
|
/>
|
|
</div>
|
|
|
|
<div id="contact" data-section="contact">
|
|
<ContactSplitForm
|
|
title="Get Your Fresh Order Started"
|
|
description="Fill out the form below and we'll confirm your order or custom request within 24 hours."
|
|
inputs={[
|
|
{ name: "name", type: "text", placeholder: "Your Full Name", required: true },
|
|
{ name: "email", type: "email", placeholder: "your@email.com", required: true },
|
|
{ name: "phone", type: "tel", placeholder: "(555) 123-4567", required: false }
|
|
]}
|
|
textarea={{
|
|
name: "message", placeholder: "Tell us about your order or special requests...", rows: 5,
|
|
required: true
|
|
}}
|
|
useInvertedBackground={false}
|
|
mediaAnimation="slide-up"
|
|
mediaPosition="right"
|
|
buttonText="Submit Order"
|
|
ariaLabel="Contact form section"
|
|
/>
|
|
</div>
|
|
|
|
<div id="footer" data-section="footer">
|
|
<FooterBaseReveal
|
|
columns={[
|
|
{
|
|
title: "Shop", items: [
|
|
{ label: "Breads", href: "#products" },
|
|
{ label: "Pastries", href: "#products" },
|
|
{ label: "Custom Orders", href: "#contact" },
|
|
{ label: "Gift Cards", href: "#" }
|
|
]
|
|
},
|
|
{
|
|
title: "Company", items: [
|
|
{ label: "About Us", href: "#about" },
|
|
{ label: "Our Story", href: "#about" },
|
|
{ label: "Careers", href: "#" },
|
|
{ label: "Blog", href: "#" }
|
|
]
|
|
},
|
|
{
|
|
title: "Support", items: [
|
|
{ label: "Contact Us", href: "#contact" },
|
|
{ label: "Delivery Info", href: "#" },
|
|
{ label: "Allergen Info", href: "#" },
|
|
{ label: "FAQ", href: "#" }
|
|
]
|
|
},
|
|
{
|
|
title: "Connect", items: [
|
|
{ label: "Instagram", href: "#" },
|
|
{ label: "Facebook", href: "#" },
|
|
{ label: "Email", href: "mailto:hello@sweetcrust.com" },
|
|
{ label: "Newsletter", href: "#" }
|
|
]
|
|
}
|
|
]}
|
|
copyrightText="© 2024 Sweet Crust Bakery. All rights reserved. Baked with love, served with passion."
|
|
ariaLabel="Footer section"
|
|
/>
|
|
</div>
|
|
</ThemeProvider>
|
|
);
|
|
} |