Merge version_1 into main #2
205
src/app/page.tsx
205
src/app/page.tsx
@@ -32,21 +32,13 @@ export default function LandingPage() {
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "hero",
|
||||
},
|
||||
name: "Home", id: "hero"},
|
||||
{
|
||||
name: "Menu",
|
||||
id: "signature-items",
|
||||
},
|
||||
name: "Menu", id: "signature-items"},
|
||||
{
|
||||
name: "Our Story",
|
||||
id: "story",
|
||||
},
|
||||
name: "Our Story", id: "story"},
|
||||
{
|
||||
name: "Visit Us",
|
||||
id: "location",
|
||||
},
|
||||
name: "Visit Us", id: "location"},
|
||||
]}
|
||||
brandName="Corner Cafe & Bakery"
|
||||
/>
|
||||
@@ -55,49 +47,28 @@ export default function LandingPage() {
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroBillboardRotatedCarousel
|
||||
background={{
|
||||
variant: "gradient-bars",
|
||||
}}
|
||||
variant: "gradient-bars"}}
|
||||
title="Boston’s Favorite Egg Tarts, Baked Fresh Daily"
|
||||
description="A Chinatown staple loved for generations—simple, honest, unforgettable."
|
||||
buttons={[
|
||||
{
|
||||
text: "Order Online",
|
||||
},
|
||||
text: "Order Online"},
|
||||
{
|
||||
text: "Visit Us",
|
||||
},
|
||||
text: "Visit Us"},
|
||||
]}
|
||||
carouselItems={[
|
||||
{
|
||||
id: "1",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/christmas-macarons-pastry-shop-window-closeup_169016-48864.jpg?_wi=1",
|
||||
imageAlt: "Display case",
|
||||
},
|
||||
id: "1", imageSrc: "http://img.b2bpic.net/free-photo/christmas-macarons-pastry-shop-window-closeup_169016-48864.jpg", imageAlt: "Display case"},
|
||||
{
|
||||
id: "2",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/breakfast-composition_23-2147788583.jpg",
|
||||
imageAlt: "Bakery interior",
|
||||
},
|
||||
id: "2", imageSrc: "http://img.b2bpic.net/free-photo/breakfast-composition_23-2147788583.jpg", imageAlt: "Bakery interior"},
|
||||
{
|
||||
id: "3",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/mid-autumn-festival-moon-cake_1323-176.jpg",
|
||||
imageAlt: "Fresh pastries",
|
||||
},
|
||||
id: "3", imageSrc: "http://img.b2bpic.net/free-photo/mid-autumn-festival-moon-cake_1323-176.jpg", imageAlt: "Fresh pastries"},
|
||||
{
|
||||
id: "4",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/egg-tart-wood_1150-12285.jpg",
|
||||
imageAlt: "Egg tarts",
|
||||
},
|
||||
id: "4", imageSrc: "http://img.b2bpic.net/free-photo/egg-tart-wood_1150-12285.jpg", imageAlt: "Egg tarts"},
|
||||
{
|
||||
id: "5",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cheese-tart-white-background_1232-3520.jpg",
|
||||
imageAlt: "Morning rush",
|
||||
},
|
||||
id: "5", imageSrc: "http://img.b2bpic.net/free-photo/cheese-tart-white-background_1232-3520.jpg", imageAlt: "Morning rush"},
|
||||
{
|
||||
id: "6",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/glass-showcase-pastry-shop-with-variety-fresh-cakes-pastries-popular-sweet-desserts-offered-sale_639032-1341.jpg",
|
||||
imageAlt: "Warm bun",
|
||||
},
|
||||
id: "6", imageSrc: "http://img.b2bpic.net/free-photo/glass-showcase-pastry-shop-with-variety-fresh-cakes-pastries-popular-sweet-desserts-offered-sale_639032-1341.jpg", imageAlt: "Warm bun"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -110,33 +81,13 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
products={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Portuguese Egg Tart",
|
||||
price: "$2.50",
|
||||
variant: "Flaky, buttery perfection",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-sweet-cake-delicious-yummy-choco-cake-sliced-inside-blue-plate-grey-background-sugar-tea-biscuit-bake_140725-17051.jpg?_wi=1",
|
||||
},
|
||||
id: "1", name: "Portuguese Egg Tart", price: "$2.50", variant: "Flaky, buttery perfection", imageSrc: "http://img.b2bpic.net/free-photo/top-view-sweet-cake-delicious-yummy-choco-cake-sliced-inside-blue-plate-grey-background-sugar-tea-biscuit-bake_140725-17051.jpg"},
|
||||
{
|
||||
id: "2",
|
||||
name: "BBQ Pork Bun",
|
||||
price: "$2.00",
|
||||
variant: "Savory and soft",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/baked-red-bean-paste-buns-wooden-cutting-board_1150-35404.jpg?_wi=1",
|
||||
},
|
||||
id: "2", name: "BBQ Pork Bun", price: "$2.00", variant: "Savory and soft", imageSrc: "http://img.b2bpic.net/free-photo/baked-red-bean-paste-buns-wooden-cutting-board_1150-35404.jpg"},
|
||||
{
|
||||
id: "3",
|
||||
name: "Pork Floss Bun",
|
||||
price: "$2.50",
|
||||
variant: "A neighborhood favorite",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/closeup-freshly-baked-buns-bakery-closeup_169016-25531.jpg?_wi=1",
|
||||
},
|
||||
id: "3", name: "Pork Floss Bun", price: "$2.50", variant: "A neighborhood favorite", imageSrc: "http://img.b2bpic.net/free-photo/closeup-freshly-baked-buns-bakery-closeup_169016-25531.jpg"},
|
||||
{
|
||||
id: "4",
|
||||
name: "Mooncake",
|
||||
price: "$4.50",
|
||||
variant: "Traditional flavors",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/mid-autumn-moon-cake_1387-106.jpg",
|
||||
},
|
||||
id: "4", name: "Mooncake", price: "$4.50", variant: "Traditional flavors", imageSrc: "http://img.b2bpic.net/free-photo/mid-autumn-moon-cake_1387-106.jpg"},
|
||||
]}
|
||||
title="Signature Items"
|
||||
description="Our cult-favorite treats, baked with tradition."
|
||||
@@ -147,53 +98,24 @@ export default function LandingPage() {
|
||||
<TestimonialCardOne
|
||||
textboxLayout="split"
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
animationType="slide-up"
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Sarah J.",
|
||||
role: "Local",
|
||||
company: "Boston Resident",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/shanghai-old-building_649448-3925.jpg",
|
||||
imageAlt: "bakery display case full of pastries",
|
||||
},
|
||||
id: "1", name: "Sarah J.", role: "Local", company: "Boston Resident", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/shanghai-old-building_649448-3925.jpg", imageAlt: "bakery display case full of pastries"},
|
||||
{
|
||||
id: "2",
|
||||
name: "Michael C.",
|
||||
role: "Foodie",
|
||||
company: "Reviewer",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/christmas-macarons-pastry-shop-window-closeup_169016-48864.jpg?_wi=2",
|
||||
imageAlt: "bakery display case full of pastries",
|
||||
},
|
||||
id: "2", name: "Michael C.", role: "Foodie", company: "Reviewer", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/christmas-macarons-pastry-shop-window-closeup_169016-48864.jpg", imageAlt: "bakery display case full of pastries"},
|
||||
{
|
||||
id: "3",
|
||||
name: "Emily R.",
|
||||
role: "Neighbor",
|
||||
company: "Boston Resident",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-sweet-cake-delicious-yummy-choco-cake-sliced-inside-blue-plate-grey-background-sugar-tea-biscuit-bake_140725-17051.jpg?_wi=2",
|
||||
imageAlt: "bakery display case full of pastries",
|
||||
},
|
||||
id: "3", name: "Emily R.", role: "Neighbor", company: "Boston Resident", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-sweet-cake-delicious-yummy-choco-cake-sliced-inside-blue-plate-grey-background-sugar-tea-biscuit-bake_140725-17051.jpg", imageAlt: "bakery display case full of pastries"},
|
||||
{
|
||||
id: "4",
|
||||
name: "David K.",
|
||||
role: "Visitor",
|
||||
company: "Food Critic",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/baked-red-bean-paste-buns-wooden-cutting-board_1150-35404.jpg?_wi=2",
|
||||
imageAlt: "bakery display case full of pastries",
|
||||
},
|
||||
id: "4", name: "David K.", role: "Visitor", company: "Food Critic", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/baked-red-bean-paste-buns-wooden-cutting-board_1150-35404.jpg", imageAlt: "bakery display case full of pastries"},
|
||||
{
|
||||
id: "5",
|
||||
name: "Jessica L.",
|
||||
role: "Regular",
|
||||
company: "Student",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/closeup-freshly-baked-buns-bakery-closeup_169016-25531.jpg?_wi=2",
|
||||
imageAlt: "bakery display case full of pastries",
|
||||
},
|
||||
id: "5", name: "Jessica L.", role: "Regular", company: "Student", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/closeup-freshly-baked-buns-bakery-closeup_169016-25531.jpg", imageAlt: "bakery display case full of pastries"},
|
||||
]}
|
||||
title="Cult Favorite"
|
||||
description="What our community says about us."
|
||||
@@ -207,19 +129,13 @@ export default function LandingPage() {
|
||||
metrics={[
|
||||
{
|
||||
icon: Award,
|
||||
label: "Years in Chinatown",
|
||||
value: "15+",
|
||||
},
|
||||
label: "Years in Chinatown", value: "15+"},
|
||||
{
|
||||
icon: Clock,
|
||||
label: "Fresh Batches",
|
||||
value: "Daily",
|
||||
},
|
||||
label: "Fresh Batches", value: "Daily"},
|
||||
{
|
||||
icon: Users,
|
||||
label: "Happy Neighbors",
|
||||
value: "1k+",
|
||||
},
|
||||
label: "Happy Neighbors", value: "1k+"},
|
||||
]}
|
||||
metricsAnimation="slide-up"
|
||||
/>
|
||||
@@ -232,40 +148,22 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
title: "In-Store Pickup",
|
||||
description: "Skip the line and order your favorites ahead of time.",
|
||||
phoneOne: {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-man-holding-present-box-showing-thumb-up-shirt_176474-30692.jpg",
|
||||
},
|
||||
title: "In-Store Pickup", description: "Skip the line and order your favorites ahead of time.", phoneOne: {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-man-holding-present-box-showing-thumb-up-shirt_176474-30692.jpg"},
|
||||
phoneTwo: {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cake-with-walnuts-prunes-dried-apricots-dark-wood-background_505751-5234.jpg",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/christmas-macarons-pastry-shop-window-closeup_169016-48864.jpg?_wi=3",
|
||||
imageAlt: "bakery boxes chinatown street",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cake-with-walnuts-prunes-dried-apricots-dark-wood-background_505751-5234.jpg"}
|
||||
},
|
||||
{
|
||||
title: "Local Delivery",
|
||||
description: "Warm buns delivered straight to your door.",
|
||||
phoneOne: {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/nice-cupcakes-inside-oven_23-2147758422.jpg",
|
||||
},
|
||||
title: "Local Delivery", description: "Warm buns delivered straight to your door.", phoneOne: {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/nice-cupcakes-inside-oven_23-2147758422.jpg"},
|
||||
phoneTwo: {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-baker-holding-fresh-bread-paper-bag_1303-32307.jpg",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-sweet-cake-delicious-yummy-choco-cake-sliced-inside-blue-plate-grey-background-sugar-tea-biscuit-bake_140725-17051.jpg?_wi=3",
|
||||
imageAlt: "bakery boxes chinatown street",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-baker-holding-fresh-bread-paper-bag_1303-32307.jpg"}
|
||||
},
|
||||
{
|
||||
title: "Fresh Batches",
|
||||
description: "Baked fresh every few hours throughout the day.",
|
||||
phoneOne: {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/spanich-sandwich-shop-window_1398-4866.jpg",
|
||||
},
|
||||
title: "Fresh Batches", description: "Baked fresh every few hours throughout the day.", phoneOne: {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/spanich-sandwich-shop-window_1398-4866.jpg"},
|
||||
phoneTwo: {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-looking-different-goodies-local-producer_23-2149110831.jpg",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/baked-red-bean-paste-buns-wooden-cutting-board_1150-35404.jpg?_wi=3",
|
||||
imageAlt: "bakery boxes chinatown street",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-looking-different-goodies-local-producer_23-2149110831.jpg"}
|
||||
},
|
||||
]}
|
||||
showStepNumbers={true}
|
||||
@@ -279,14 +177,7 @@ export default function LandingPage() {
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
names={[
|
||||
"Customer Photos",
|
||||
"Display Case",
|
||||
"Fresh Trays",
|
||||
"Morning Rush",
|
||||
"Chinatown Views",
|
||||
"Bakery Boxes",
|
||||
"Warm Buns",
|
||||
]}
|
||||
"Customer Photos", "Display Case", "Fresh Trays", "Morning Rush", "Chinatown Views", "Bakery Boxes", "Warm Buns"]}
|
||||
title="Real Moments"
|
||||
description="Tag us to be featured."
|
||||
/>
|
||||
@@ -296,13 +187,11 @@ export default function LandingPage() {
|
||||
<ContactText
|
||||
useInvertedBackground={true}
|
||||
background={{
|
||||
variant: "gradient-bars",
|
||||
}}
|
||||
variant: "gradient-bars"}}
|
||||
text="Find us in the heart of Chinatown. Fresh batches sell fast, so stop by early."
|
||||
buttons={[
|
||||
{
|
||||
text: "Get Directions",
|
||||
},
|
||||
text: "Get Directions"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -311,13 +200,9 @@ export default function LandingPage() {
|
||||
<FooterLogoReveal
|
||||
logoText="聚香麵包坊"
|
||||
leftLink={{
|
||||
text: "Privacy Policy",
|
||||
href: "#",
|
||||
}}
|
||||
text: "Privacy Policy", href: "#"}}
|
||||
rightLink={{
|
||||
text: "Contact Us",
|
||||
href: "#",
|
||||
}}
|
||||
text: "Contact Us", href: "#"}}
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
|
||||
Reference in New Issue
Block a user