Files
20edd09e-cbfc-403d-82df-776…/src/app/page.tsx
2025-12-28 12:33:10 +00:00

306 lines
12 KiB
TypeScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"use client"
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroBillboardSplit from '@/components/sections/hero/HeroBillboardSplit';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import ProductCardSeven from '@/components/sections/product/ProductCardSeven';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import ContactCenterForm from '@/components/sections/contact/ContactCenterForm';
import FooterSocial from '@/components/sections/footer/FooterSocial';
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
import { Heart, Star, Quote, Instagram, Facebook, MapPin, Phone, Clock } from "lucide-react";
export default function LandingPage() {
return (
<ThemeProvider
defaultButtonVariant="elastic-effect"
defaultTextAnimation="reveal-blur"
borderRadius="sharp"
contentWidth="medium"
sizing="largeSmall"
background="circleGradient"
cardStyle="gradient-radial"
primaryButtonStyle="gradient"
secondaryButtonStyle="layered"
headingFontWeight="bold"
>
<div id="nav" data-section="nav">
<NavbarStyleFullscreen
navItems={[
{ name: "Home", id: "home" },
{ name: "About", id: "about" },
{ name: "Products", id: "products" },
{ name: "Locations", id: "locations" },
{ name: "Contact", id: "contact" }
]}
brandName="Sweet Bakes"
bottomLeftText="Freshly Baked Daily"
bottomRightText="hello@sweetbakes.com"
/>
</div>
<div id="hero" data-section="hero">
<HeroBillboardSplit
title="S "
description="Made with love every morning."
tag=""
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766917795607-6sca7wpy.jpg"
imageAlt="Fresh bakery display with pastries and bread"
frameStyle="browser"
buttons={[{"text":"Order","href":"https://google.com"},
{"text":"Skip","href":"about"}]}
/>
</div>
<div id="about" data-section="about">
<TestimonialAboutCard
tag="Our Story"
title="Started in a small kitchen, now serving hundreds of happy customers daily."
description="Maria Santos"
subdescription="Owner & Head Baker"
icon={Heart}
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766923138738-fu9kdakz.jpg"
imageAlt="Maria Santos, bakery owner"
useInvertedBackground="noInvert"
/>
</div>
<div id="products" data-section="products">
<ProductCardSeven
title="Our Signature Collection"
description="Explore our best-selling bakery items made fresh daily with premium ingredients"
tag="Best Sellers"
tagIcon={Star}
textboxLayout="default"
gridVariant="uniform-all-items-equal"
animationType="slide-up"
useInvertedBackground="noInvert"
products={[
{
id: "1",
name: "Classic Croissant",
price: "$4.99",
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766245914004-rta09f98.jpg",
imageAlt: "Buttery croissant",
onProductClick: () => window.location.href = "#contact",
isFavorited: false
},
{
id: "2",
name: "Artisan Sourdough",
price: "$7.99",
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766815285364-7q7e9roz.jpg",
imageAlt: "Artisan sourdough bread",
onProductClick: () => window.location.href = "#contact",
isFavorited: false
},
{
id: "3",
name: "Chocolate Cake",
price: "$24.99",
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766849870204-lmbcrr56.jpg",
imageAlt: "Decadent chocolate cake",
onProductClick: () => window.location.href = "#contact",
isFavorited: false
},
{
id: "4",
name: "Glazed Donuts",
price: "$3.99",
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766915699751-fy2shocj.jpg",
imageAlt: "Glazed donuts",
onProductClick: () => window.location.href = "#contact",
isFavorited: false
},
{
id: "5",
name: "Blueberry Muffin",
price: "$5.99",
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766245914004-rta09f98.jpg",
imageAlt: "Fresh blueberry muffin",
onProductClick: () => window.location.href = "#contact",
isFavorited: false
},
{
id: "6",
name: "Almond Croissant",
price: "$6.99",
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766815285364-7q7e9roz.jpg",
imageAlt: "Almond-filled croissant",
onProductClick: () => window.location.href = "#contact",
isFavorited: false
},
{
id: "7",
name: "Strawberry Tart",
price: "$8.99",
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766849870204-lmbcrr56.jpg",
imageAlt: "Fresh strawberry tart",
onProductClick: () => window.location.href = "#contact",
isFavorited: false
},
{
id: "8",
name: "Cinnamon Roll",
price: "$5.49",
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766915699751-fy2shocj.jpg",
imageAlt: "Warm cinnamon roll",
onProductClick: () => window.location.href = "#contact",
isFavorited: false
},
{
id: "9",
name: "Macarons Assortment",
price: "$12.99",
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766245914004-rta09f98.jpg",
imageAlt: "Colorful macaron assortment",
onProductClick: () => window.location.href = "#contact",
isFavorited: false
},
{
id: "10",
name: "Baguette",
price: "$6.49",
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766815285364-7q7e9roz.jpg",
imageAlt: "Traditional French baguette",
onProductClick: () => window.location.href = "#contact",
isFavorited: false
}
]}
/>
</div>
<div id="locations" data-section="locations">
<MetricCardFourteen
title="Our Locations"
tag="Find Us"
metrics={[
{
id: "1",
value: "Downtown Main Store",
description: "123 Bread St | 6am - 8pm Daily | (555) 123-4567"
},
{
id: "2",
value: "Riverside North Branch",
description: "456 Pastry Ln | 7am - 7pm Daily | (555) 234-5678"
},
{
id: "3",
value: "Uptown Premium Location",
description: "789 Croissant Ave | 6:30am - 9pm Daily | (555) 345-6789"
},
{
id: "4",
value: "West End Community Hub",
description: "321 Sourdough St | 7am - 6pm Daily | (555) 456-7890"
}
]}
useInvertedBackground="noInvert"
/>
</div>
<div id="testimonials" data-section="testimonials">
<TestimonialCardThirteen
title="What Our Customers Say"
description="Join hundreds of satisfied customers who love our fresh-baked treats"
tag="Reviews"
tagIcon={Quote}
textboxLayout="default"
animationType="slide-up"
useInvertedBackground="noInvert"
showRating={true}
testimonials={[
{
id: "1",
name: "Sarah Mitchell",
handle: "@sarahmitchell",
testimonial: "The croissants here are absolutely incredible! Perfectly buttery and fresh every single time. My go-to spot for breakfast.",
rating: 5,
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766154635301-vse33sxl.jpg",
imageAlt: "Sarah Mitchell"
},
{
id: "2",
name: "James Chen",
handle: "@jameschen92",
testimonial: "Best sourdough in town! The flavor is incredible and they use only natural ingredients. Worth every penny.",
rating: 5,
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183842429-uezzjpov.jpg",
imageAlt: "James Chen"
},
{
id: "3",
name: "Emma Rodriguez",
handle: "@emmarod",
testimonial: "I order their birthday cakes for all my celebrations. Beautiful designs and absolutely delicious. Highly recommended!",
rating: 5,
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766184309647-aqbmmuiq.jpg",
imageAlt: "Emma Rodriguez"
},
{
id: "4",
name: "David Thompson",
handle: "@davidthompson",
testimonial: "Sweet Bakes has become my daily ritual. Their pastries are made with such care and attention to detail. Love this place!",
rating: 5,
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766849444575-td00y2fe.jpg",
imageAlt: "David Thompson"
}
]}
/>
</div>
<div id="contact" data-section="contact">
<ContactCenterForm
title="Place Your Order"
description="Fill out the form below to order your favorite fresh-baked items. We'll confirm your order within 2 hours."
useInvertedBackground="noInvert"
buttonText="Send Order"
inputs={[
{ name: "name", type: "text", placeholder: "Your Name", required: true },
{ name: "email", type: "email", placeholder: "Email Address", required: true },
{ name: "phone", type: "tel", placeholder: "Phone Number", required: true }
]}
textarea={{ name: "order", placeholder: "What would you like to order? Include quantities and any special requests...", rows: 5, required: true }}
/>
</div>
<div id="footer" data-section="footer">
<FooterSocial
logoText="Sweet Bakes"
columns={[
{
title: "Company",
items: [
{ label: "About Us", href: "about" },
{ label: "Locations", href: "locations" },
{ label: "Contact", href: "contact" }
]
},
{
title: "Products",
items: [
{ label: "Pastries", href: "products" },
{ label: "Custom Orders", href: "contact" }
]
},
{
title: "Legal",
items: [
{ label: "Privacy Policy", href: "#" },
{ label: "Terms of Service", href: "#" }
]
}
]}
socialLinks={[
{ icon: Instagram, href: "https://instagram.com", ariaLabel: "Instagram" },
{ icon: Facebook, href: "https://facebook.com", ariaLabel: "Facebook" }
]}
copyrightText="© Sweet Bakes, 2025. All rights reserved."
/>
</div>
</ThemeProvider>
);
}