Compare commits

...

3 Commits

Author SHA1 Message Date
7c00a04db1 Update src/app/page.tsx 2025-12-28 12:46:37 +00:00
eac2c50989 Update src/app/page.tsx 2025-12-28 12:45:10 +00:00
12fb193b1f Update src/app/page.tsx 2025-12-28 12:42:19 +00:00

View File

@@ -1,14 +1,7 @@
"use client" "use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen'; import { Heart, Star, Quote, Instagram, Facebook, MapPin, Phone, Clock, CheckCircle2, Check, Sparkles } from "lucide-react";
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 { Heart, Star, Quote, Instagram, Facebook, MapPin, Phone, Clock } from "lucide-react";
export default function LandingPage() { export default function LandingPage() {
return ( return (
@@ -24,267 +17,57 @@ export default function LandingPage() {
secondaryButtonStyle="layered" secondaryButtonStyle="layered"
headingFontWeight="bold" headingFontWeight="bold"
> >
<div id="nav" data-section="nav"> <div className="min-h-screen bg-white text-black">
<NavbarStyleFullscreen <div className="container mx-auto px-4">
navItems={[ <h1 className="text-4xl font-bold text-center py-12">Sweet Bakes</h1>
{ name: "Home", id: "home" }, <div className="text-center py-8">
{ name: "About", id: "about" }, <p className="text-xl text-gray-600 mb-8">Handcrafted pastries and fresh-baked goods made daily</p>
{ name: "Products", id: "products" }, <div className="grid grid-cols-1 md:grid-cols-3 gap-8 mb-12">
{ name: "Contact", id: "contact" } <div className="p-6 border rounded-lg">
]} <Star className="w-8 h-8 text-yellow-500 mx-auto mb-4" />
brandName="Sweet Bakes" <h3 className="text-lg font-semibold mb-2">Fresh Daily</h3>
bottomLeftText="Freshly Baked Daily" <p className="text-gray-600">Baked fresh every morning with premium ingredients</p>
bottomRightText="hello@sweetbakes.com" </div>
/> <div className="p-6 border rounded-lg">
</div> <Heart className="w-8 h-8 text-red-500 mx-auto mb-4" />
<h3 className="text-lg font-semibold mb-2">Made with Love</h3>
<div id="hero" data-section="hero"> <p className="text-gray-600">Every item crafted with care and attention to detail</p>
<HeroBillboardSplit </div>
title="Sweet Bakery " <div className="p-6 border rounded-lg">
description="Made with love every morning." <Sparkles className="w-8 h-8 text-purple-500 mx-auto mb-4" />
tag="" <h3 className="text-lg font-semibold mb-2">Signature Collection</h3>
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766917795607-6sca7wpy.jpg" <p className="text-gray-600">Unique recipes passed down through generations</p>
imageAlt="Fresh bakery display with pastries and bread" </div>
frameStyle="browser" </div>
buttons={[{"text":"Order","href":"https://google.com"}, <div className="bg-gray-50 p-8 rounded-lg mb-12">
{"text":"Skip","href":"about"}]} <h2 className="text-2xl font-bold mb-4">Visit Our Bakery</h2>
/> <div className="flex items-center justify-center space-x-4 text-gray-600">
</div> <MapPin className="w-5 h-5" />
<span>123 Sweet Street, Bakery Town</span>
<div id="about" data-section="about"> </div>
<TestimonialAboutCard <div className="flex items-center justify-center space-x-4 text-gray-600 mt-2">
tag="Our Story" <Phone className="w-5 h-5" />
title="Started in a small kitchen, now serving hundreds of happy customers daily." <span>(555) 123-BAKE</span>
description="Maria Santos" </div>
subdescription="Owner & Head Baker" <div className="flex items-center justify-center space-x-4 text-gray-600 mt-2">
icon={Heart} <Clock className="w-5 h-5" />
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766923138738-fu9kdakz.jpg" <span>Open 6AM - 6PM Daily</span>
imageAlt="Maria Santos, bakery owner" </div>
useInvertedBackground="noInvert" </div>
/> <div className="text-center">
</div> <h3 className="text-xl font-semibold mb-4">Follow Us</h3>
<div className="flex justify-center space-x-4">
<div id="products" data-section="products"> <a href="https://instagram.com" className="text-gray-600 hover:text-pink-500">
<ProductCardSeven <Instagram className="w-6 h-6" />
title="Our Signature Collection" </a>
description="Explore our best-selling bakery items made fresh daily with premium ingredients" <a href="https://facebook.com" className="text-gray-600 hover:text-blue-500">
tag="Best Sellers" <Facebook className="w-6 h-6" />
tagIcon={Star} </a>
textboxLayout="default" </div>
gridVariant="uniform-all-items-equal" </div>
animationType="slide-up" </div>
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="map" data-section="map">
<div style={{
width: "100%",
height: "500px",
backgroundColor: "#f0f0f0",
display: "flex",
alignItems: "center",
justifyContent: "center",
flexDirection: "column",
gap: "16px"
}}>
<MapPin size={48} />
<p style={{ fontSize: "18px", fontWeight: "600" }}>Map</p>
<p style={{ fontSize: "14px", color: "#666" }}>Locations map coming soon</p>
</div> </div>
</div> </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 Bakery"
columns={[
{
title: "Company",
items: [
{ label: "About Us", href: "about" },
{ 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 Bakery, 2025. All rights reserved."
/>
</div>
</ThemeProvider> </ThemeProvider>
); );
} }