Merge version_1 into main
Merge version_1 into main
This commit was merged in pull request #1.
This commit is contained in:
281
src/app/page.tsx
281
src/app/page.tsx
@@ -20,31 +20,23 @@ export default function LandingPage() {
|
||||
defaultButtonVariant="elastic-effect"
|
||||
defaultTextAnimation="background-highlight"
|
||||
borderRadius="pill"
|
||||
contentWidth="medium"
|
||||
sizing="medium"
|
||||
background="circleGradient"
|
||||
cardStyle="glass-elevated"
|
||||
primaryButtonStyle="gradient"
|
||||
secondaryButtonStyle="glass"
|
||||
headingFontWeight="normal"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingOverlay
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "hero",
|
||||
},
|
||||
{
|
||||
name: "Our Cakes",
|
||||
id: "products",
|
||||
},
|
||||
{
|
||||
name: "Story",
|
||||
id: "about",
|
||||
},
|
||||
{
|
||||
name: "Testimonials",
|
||||
id: "testimonials",
|
||||
},
|
||||
{
|
||||
name: "Contact",
|
||||
id: "contact",
|
||||
},
|
||||
{ name: "Home", id: "hero" },
|
||||
{ name: "Our Cakes", id: "products" },
|
||||
{ name: "Story", id: "about" },
|
||||
{ name: "Testimonials", id: "testimonials" },
|
||||
{ name: "Contact", id: "contact" },
|
||||
]}
|
||||
brandName="Sweet Delights"
|
||||
/>
|
||||
@@ -52,48 +44,17 @@ export default function LandingPage() {
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroBillboardRotatedCarousel
|
||||
background={{
|
||||
variant: "rotated-rays-static",
|
||||
}}
|
||||
background={{ variant: "rotated-rays-static" }}
|
||||
title="Baking Happiness in Every Slice"
|
||||
description="Artisanal cakes, handcrafted with love and the finest ingredients for your special moments."
|
||||
buttons={[
|
||||
{
|
||||
text: "Explore Cakes",
|
||||
href: "#products",
|
||||
},
|
||||
]}
|
||||
buttons={[{ text: "Explore Cakes", href: "#products" }]}
|
||||
carouselItems={[
|
||||
{
|
||||
id: "1",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/thoughtful-young-young-woman-choosing-pastries_171337-16951.jpg",
|
||||
imageAlt: "elegant cake shop display warm lighting",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-cheesecake-with-strawberry-chocolate-plate-bowls_140725-105622.jpg",
|
||||
imageAlt: "freshly baked pastry display close up",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/overhead-view-woman-s-hand-eating-ice-cream-sandwich-with-fork_23-2148161748.jpg",
|
||||
imageAlt: "artistic cake decoration detail closeup",
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/bar-still-life-with-cakes-table_23-2147821330.jpg",
|
||||
imageAlt: "cupcake selection display professional bakery",
|
||||
},
|
||||
{
|
||||
id: "5",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/slice-rich-chocolate-cake_84443-81968.jpg",
|
||||
imageAlt: "chocolate cake slice warm lighting",
|
||||
},
|
||||
{
|
||||
id: "6",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/sweet-candy-bar-wedding-celebration-party_482257-31517.jpg",
|
||||
imageAlt: "assorted dessert display luxury bakery",
|
||||
},
|
||||
{ id: "1", imageSrc: "http://img.b2bpic.net/free-photo/thoughtful-young-young-woman-choosing-pastries_171337-16951.jpg", imageAlt: "elegant cake shop display warm lighting" },
|
||||
{ id: "2", imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-cheesecake-with-strawberry-chocolate-plate-bowls_140725-105622.jpg", imageAlt: "freshly baked pastry display close up" },
|
||||
{ id: "3", imageSrc: "http://img.b2bpic.net/free-photo/overhead-view-woman-s-hand-eating-ice-cream-sandwich-with-fork_23-2148161748.jpg", imageAlt: "artistic cake decoration detail closeup" },
|
||||
{ id: "4", imageSrc: "http://img.b2bpic.net/free-photo/bar-still-life-with-cakes-table_23-2147821330.jpg", imageAlt: "cupcake selection display professional bakery" },
|
||||
{ id: "5", imageSrc: "http://img.b2bpic.net/free-photo/slice-rich-chocolate-cake_84443-81968.jpg", imageAlt: "chocolate cake slice warm lighting" },
|
||||
{ id: "6", imageSrc: "http://img.b2bpic.net/free-photo/sweet-candy-bar-wedding-celebration-party_482257-31517.jpg", imageAlt: "assorted dessert display luxury bakery" },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -119,48 +80,12 @@ export default function LandingPage() {
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Rich Chocolate Ganache",
|
||||
price: "$45.00",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/chocolate-cake-decorated-with-forest-fruits-blueberries-strawberries-blackberries-ai-generative_123827-24046.jpg",
|
||||
imageAlt: "chocolate cake slice fresh",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
name: "Summer Berry Bliss",
|
||||
price: "$38.00",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/selective-focus-shot-cherry-cake-white-plate_181624-20574.jpg",
|
||||
imageAlt: "vanilla fruit cake fresh",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
name: "Classic Wedding Tier",
|
||||
price: "$120.00",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/pair-dessert-with-cinnamon-cup-tea_140725-2894.jpg",
|
||||
imageAlt: "wedding cake elegant white",
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
name: "Gourmet Cupcake Box",
|
||||
price: "$25.00",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-chocolate-cakes-with-cream-lemon-slices_140725-20230.jpg",
|
||||
imageAlt: "cupcake gourmet artisan set",
|
||||
},
|
||||
{
|
||||
id: "5",
|
||||
name: "Rustic Mixed Berry Tart",
|
||||
price: "$32.00",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/delicious-blueberry-pie-table_23-2149629031.jpg",
|
||||
imageAlt: "tart fruit berry rustic",
|
||||
},
|
||||
{
|
||||
id: "6",
|
||||
name: "Assorted Pastry Set",
|
||||
price: "$28.00",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/little-yummy-cakes-with-cream-different-sliced-fruits-wooden-brown-fruit-cake-biscuit-sweet-bake_140725-32374.jpg",
|
||||
imageAlt: "pastry set assorted fresh",
|
||||
},
|
||||
{ id: "1", name: "Rich Chocolate Ganache", price: "$45.00", imageSrc: "http://img.b2bpic.net/free-photo/chocolate-cake-decorated-with-forest-fruits-blueberries-strawberries-blackberries-ai-generative_123827-24046.jpg", imageAlt: "chocolate cake slice fresh" },
|
||||
{ id: "2", name: "Summer Berry Bliss", price: "$38.00", imageSrc: "http://img.b2bpic.net/free-photo/selective-focus-shot-cherry-cake-white-plate_181624-20574.jpg", imageAlt: "vanilla fruit cake fresh" },
|
||||
{ id: "3", name: "Classic Wedding Tier", price: "$120.00", imageSrc: "http://img.b2bpic.net/free-photo/pair-dessert-with-cinnamon-cup-tea_140725-2894.jpg", imageAlt: "wedding cake elegant white" },
|
||||
{ id: "4", name: "Gourmet Cupcake Box", price: "$25.00", imageSrc: "http://img.b2bpic.net/free-photo/front-view-chocolate-cakes-with-cream-lemon-slices_140725-20230.jpg", imageAlt: "cupcake gourmet artisan set" },
|
||||
{ id: "5", name: "Rustic Mixed Berry Tart", price: "$32.00", imageSrc: "http://img.b2bpic.net/free-photo/delicious-blueberry-pie-table_23-2149629031.jpg", imageAlt: "tart fruit berry rustic" },
|
||||
{ id: "6", name: "Assorted Pastry Set", price: "$28.00", imageSrc: "http://img.b2bpic.net/free-photo/little-yummy-cakes-with-cream-different-sliced-fruits-wooden-brown-fruit-cake-biscuit-sweet-bake_140725-32374.jpg", imageAlt: "pastry set assorted fresh" },
|
||||
]}
|
||||
title="Our Signature Collection"
|
||||
description="Explore our delicious selection of artisanal cakes and pastries."
|
||||
@@ -173,51 +98,11 @@ export default function LandingPage() {
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Sarah J.",
|
||||
handle: "@sarah_cakes",
|
||||
testimonial: "The best cake I've ever had! Truly artisanal.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-father-giving-thumbs-up-while-holding-plate-muffins_23-2148414896.jpg",
|
||||
imageAlt: "happy customer eating cake",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
name: "Michael B.",
|
||||
handle: "@mikes_eats",
|
||||
testimonial: "Amazing service and even better taste. Highly recommend.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-woman-serving-pastry-cake-female-customer-coffee-shop_23-2148028059.jpg",
|
||||
imageAlt: "happy customer eating cake",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
name: "Emily R.",
|
||||
handle: "@emily_bakes",
|
||||
testimonial: "Perfect for my wedding, elegant and delicious.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-girls-buys-buns-bakery_1157-24886.jpg",
|
||||
imageAlt: "happy customer eating cake",
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
name: "David K.",
|
||||
handle: "@david_desserts",
|
||||
testimonial: "My go-to for all family birthdays now.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-woman-eating-strawberry-cheesecake_158595-687.jpg",
|
||||
imageAlt: "happy customer eating cake",
|
||||
},
|
||||
{
|
||||
id: "5",
|
||||
name: "Jessica L.",
|
||||
handle: "@jess_sweets",
|
||||
testimonial: "Simply delightful flavors, will definitely order again.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/shop-assistant-preparing-croissant-bag_23-2147985162.jpg",
|
||||
imageAlt: "happy customer eating cake",
|
||||
},
|
||||
{ id: "1", name: "Sarah J.", handle: "@sarah_cakes", testimonial: "The best cake I've ever had! Truly artisanal.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/happy-father-giving-thumbs-up-while-holding-plate-muffins_23-2148414896.jpg", imageAlt: "happy customer eating cake" },
|
||||
{ id: "2", name: "Michael B.", handle: "@mikes_eats", testimonial: "Amazing service and even better taste. Highly recommend.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-woman-serving-pastry-cake-female-customer-coffee-shop_23-2148028059.jpg", imageAlt: "happy customer eating cake" },
|
||||
{ id: "3", name: "Emily R.", handle: "@emily_bakes", testimonial: "Perfect for my wedding, elegant and delicious.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/beautiful-girls-buys-buns-bakery_1157-24886.jpg", imageAlt: "happy customer eating cake" },
|
||||
{ id: "4", name: "David K.", handle: "@david_desserts", testimonial: "My go-to for all family birthdays now.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/young-woman-eating-strawberry-cheesecake_158595-687.jpg", imageAlt: "happy customer eating cake" },
|
||||
{ id: "5", name: "Jessica L.", handle: "@jess_sweets", testimonial: "Simply delightful flavors, will definitely order again.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/shop-assistant-preparing-croissant-bag_23-2147985162.jpg", imageAlt: "happy customer eating cake" },
|
||||
]}
|
||||
showRating={true}
|
||||
title="What Our Customers Say"
|
||||
@@ -230,21 +115,9 @@ export default function LandingPage() {
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
faqs={[
|
||||
{
|
||||
id: "1",
|
||||
title: "Do you offer delivery?",
|
||||
content: "Yes, we provide local delivery for all cake orders.",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
title: "How far in advance should I order?",
|
||||
content: "We recommend ordering custom cakes at least 48 hours in advance.",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
title: "Are your ingredients organic?",
|
||||
content: "We prioritize locally sourced and organic ingredients wherever possible.",
|
||||
},
|
||||
{ id: "1", title: "Do you offer delivery?", content: "Yes, we provide local delivery for all cake orders." },
|
||||
{ id: "2", title: "How far in advance should I order?", content: "We recommend ordering custom cakes at least 48 hours in advance." },
|
||||
{ id: "3", title: "Are your ingredients organic?", content: "We prioritize locally sourced and organic ingredients wherever possible." },
|
||||
]}
|
||||
title="Common Questions"
|
||||
description="Have questions about our cakes or delivery?"
|
||||
@@ -260,39 +133,9 @@ export default function LandingPage() {
|
||||
title="Bakery Insights"
|
||||
description="Tips, news, and behind-the-scenes stories from our kitchen."
|
||||
blogs={[
|
||||
{
|
||||
id: "1",
|
||||
category: "Tips",
|
||||
title: "How to Store Your Cakes",
|
||||
excerpt: "Keep your cake fresh with these simple tips.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/arrangement-delicious-food-ingredients_23-2148869891.jpg",
|
||||
imageAlt: "baking tips kitchen flour",
|
||||
authorName: "Baker Tom",
|
||||
authorAvatar: "http://img.b2bpic.net/free-photo/medium-shot-woman-working-bakery_23-2150273180.jpg",
|
||||
date: "Oct 12",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
category: "News",
|
||||
title: "New Seasonal Flavors",
|
||||
excerpt: "Discover our newest seasonal cake creations.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/brides-couple-cutting-weding-cake_8353-12585.jpg",
|
||||
imageAlt: "wedding season cake ideas",
|
||||
authorName: "Baker Tom",
|
||||
authorAvatar: "http://img.b2bpic.net/free-photo/front-view-female-cook-breaking-eggs-dough-dark-pastry-job-cake-pies-bakery-worker-cuisine_179666-43811.jpg",
|
||||
date: "Sep 20",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
category: "Guide",
|
||||
title: "Perfect Party Planning",
|
||||
excerpt: "Planning your next event made easy.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-diverse-donut_53876-41710.jpg",
|
||||
imageAlt: "seasonal fruit recipes bakery",
|
||||
authorName: "Baker Tom",
|
||||
authorAvatar: "http://img.b2bpic.net/free-photo/side-view-woman-working-bakery_23-2150273226.jpg",
|
||||
date: "Aug 05",
|
||||
},
|
||||
{ id: "1", category: "Tips", title: "How to Store Your Cakes", excerpt: "Keep your cake fresh with these simple tips.", imageSrc: "http://img.b2bpic.net/free-photo/arrangement-delicious-food-ingredients_23-2148869891.jpg", imageAlt: "baking tips kitchen flour", authorName: "Baker Tom", authorAvatar: "http://img.b2bpic.net/free-photo/medium-shot-woman-working-bakery_23-2150273180.jpg", date: "Oct 12" },
|
||||
{ id: "2", category: "News", title: "New Seasonal Flavors", excerpt: "Discover our newest seasonal cake creations.", imageSrc: "http://img.b2bpic.net/free-photo/brides-couple-cutting-weding-cake_8353-12585.jpg", imageAlt: "wedding season cake ideas", authorName: "Baker Tom", authorAvatar: "http://img.b2bpic.net/free-photo/front-view-female-cook-breaking-eggs-dough-dark-pastry-job-cake-pies-bakery-worker-cuisine_179666-43811.jpg", date: "Sep 20" },
|
||||
{ id: "3", category: "Guide", title: "Perfect Party Planning", excerpt: "Planning your next event made easy.", imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-diverse-donut_53876-41710.jpg", imageAlt: "seasonal fruit recipes bakery", authorName: "Baker Tom", authorAvatar: "http://img.b2bpic.net/free-photo/side-view-woman-working-bakery_23-2150273226.jpg", date: "Aug 05" },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -303,21 +146,9 @@ export default function LandingPage() {
|
||||
title="By The Numbers"
|
||||
tag="Our Impact"
|
||||
metrics={[
|
||||
{
|
||||
id: "1",
|
||||
value: "5000+",
|
||||
description: "Cakes Baked",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
value: "100%",
|
||||
description: "Happy Customers",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
value: "15+",
|
||||
description: "Years of Baking",
|
||||
},
|
||||
{ id: "1", value: "5000+", description: "Cakes Baked" },
|
||||
{ id: "2", value: "100%", description: "Happy Customers" },
|
||||
{ id: "3", value: "15+", description: "Years of Baking" },
|
||||
]}
|
||||
metricsAnimation="slide-up"
|
||||
/>
|
||||
@@ -326,9 +157,7 @@ export default function LandingPage() {
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactSplit
|
||||
useInvertedBackground={true}
|
||||
background={{
|
||||
variant: "plain",
|
||||
}}
|
||||
background={{ variant: "plain" }}
|
||||
title="Visit Our Shop"
|
||||
description="Have a cake inquiry? Get in touch today."
|
||||
imageSrc="http://img.b2bpic.net/free-photo/waitress-showing-notebook_23-2147985026.jpg"
|
||||
@@ -342,32 +171,8 @@ export default function LandingPage() {
|
||||
<FooterBaseCard
|
||||
logoText="Sweet Delights"
|
||||
columns={[
|
||||
{
|
||||
title: "Shop",
|
||||
items: [
|
||||
{
|
||||
label: "All Cakes",
|
||||
href: "#products",
|
||||
},
|
||||
{
|
||||
label: "About Us",
|
||||
href: "#about",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
{
|
||||
label: "Privacy Policy",
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
label: "Terms",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
{ title: "Shop", items: [{ label: "All Cakes", href: "#products" }, { label: "About Us", href: "#about" }] },
|
||||
{ title: "Legal", items: [{ label: "Privacy Policy", href: "#" }, { label: "Terms", href: "#" }] },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user