Merge version_3 into main #2
247
src/app/page.tsx
247
src/app/page.tsx
@@ -33,21 +33,13 @@ export default function LandingPage() {
|
||||
<NavbarLayoutFloatingOverlay
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "home",
|
||||
},
|
||||
name: "Home", id: "home"},
|
||||
{
|
||||
name: "About",
|
||||
id: "about",
|
||||
},
|
||||
name: "About", id: "about"},
|
||||
{
|
||||
name: "Menu",
|
||||
id: "products",
|
||||
},
|
||||
name: "Menu", id: "products"},
|
||||
{
|
||||
name: "Contact",
|
||||
id: "contact",
|
||||
},
|
||||
name: "Contact", id: "contact"},
|
||||
]}
|
||||
brandName="FreshDelights"
|
||||
/>
|
||||
@@ -56,42 +48,26 @@ export default function LandingPage() {
|
||||
<div id="home" data-section="home">
|
||||
<HeroCarouselLogo
|
||||
logoText="Fresh Delights"
|
||||
description="Experience gourmet food, delivered fresh to your door. Artisanal quality, right when you crave it."
|
||||
description="Restaurant-quality meals at home, delivered fresh to your door. Artisanal quality, right when you crave it."
|
||||
buttons={[
|
||||
{
|
||||
text: "View Menu",
|
||||
href: "#products",
|
||||
},
|
||||
text: "View Menu", href: "#products"},
|
||||
{
|
||||
text: "Order Now",
|
||||
href: "#contact",
|
||||
},
|
||||
text: "Order Now", href: "#contact"},
|
||||
]}
|
||||
slides={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-bunch-organic-vegetables-table_23-2148538678.jpg",
|
||||
imageAlt: "Gourmet meal close up",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-bunch-organic-vegetables-table_23-2148538678.jpg", imageAlt: "Gourmet meal close up"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/delicious-meal-with-chicken-high-angle_23-2149179616.jpg",
|
||||
imageAlt: "Gourmet meal close up",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/delicious-meal-with-chicken-high-angle_23-2149179616.jpg", imageAlt: "Gourmet meal close up"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-view-fresh-vegetables-wooden-background_23-2147956534.jpg",
|
||||
imageAlt: "Gourmet meal close up",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-view-fresh-vegetables-wooden-background_23-2147956534.jpg", imageAlt: "Gourmet meal close up"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/overhead-view-delicious-dinner-with-meat-potatoes-served-with-green-black-plate-pepper-garlic-oil-bottle_179666-19956.jpg",
|
||||
imageAlt: "Gourmet meal close up",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/overhead-view-delicious-dinner-with-meat-potatoes-served-with-green-black-plate-pepper-garlic-oil-bottle_179666-19956.jpg", imageAlt: "Gourmet meal close up"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/vegetables-cutting-board-frame_23-2148516773.jpg",
|
||||
imageAlt: "Gourmet meal close up",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/vegetables-cutting-board-frame_23-2148516773.jpg", imageAlt: "Gourmet meal close up"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-fried-cutlets-with-cooked-rice-vegetables-grey-surface-dish-photo-meat_140725-82489.jpg",
|
||||
imageAlt: "Gourmet meal close up",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-fried-cutlets-with-cooked-rice-vegetables-grey-surface-dish-photo-meat_140725-82489.jpg", imageAlt: "Gourmet meal close up"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -114,59 +90,23 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "p1",
|
||||
brand: "Fresh",
|
||||
name: "Gourmet Burger",
|
||||
price: "$18",
|
||||
rating: 5,
|
||||
reviewCount: "120",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-fried-burger-with-fresh-vegetables-meat-inside-round-plate_140725-11618.jpg",
|
||||
},
|
||||
id: "p1", brand: "Fresh", name: "Gourmet Burger", price: "$18", rating: 5,
|
||||
reviewCount: "120", imageSrc: "http://img.b2bpic.net/free-photo/front-view-fried-burger-with-fresh-vegetables-meat-inside-round-plate_140725-11618.jpg"},
|
||||
{
|
||||
id: "p2",
|
||||
brand: "Fresh",
|
||||
name: "Pasta Carbonara",
|
||||
price: "$22",
|
||||
rating: 5,
|
||||
reviewCount: "85",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/pasta-with-mushroom-side-view_140725-11332.jpg",
|
||||
},
|
||||
id: "p2", brand: "Fresh", name: "Pasta Carbonara", price: "$22", rating: 5,
|
||||
reviewCount: "85", imageSrc: "http://img.b2bpic.net/free-photo/pasta-with-mushroom-side-view_140725-11332.jpg"},
|
||||
{
|
||||
id: "p3",
|
||||
brand: "Fresh",
|
||||
name: "Artisan Sourdough",
|
||||
price: "$12",
|
||||
rating: 4,
|
||||
reviewCount: "200",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/spread-flour-breads-basket-wooden-table_23-2147872704.jpg",
|
||||
},
|
||||
id: "p3", brand: "Fresh", name: "Artisan Sourdough", price: "$12", rating: 4,
|
||||
reviewCount: "200", imageSrc: "http://img.b2bpic.net/free-photo/spread-flour-breads-basket-wooden-table_23-2147872704.jpg"},
|
||||
{
|
||||
id: "p4",
|
||||
brand: "Fresh",
|
||||
name: "Garden Harvest Salad",
|
||||
price: "$15",
|
||||
rating: 4,
|
||||
reviewCount: "45",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/hawaiian-poke-bowl-with-salmon-bowl-with-seaweed-sesame-seeds-cabbage-top-view-flat-lay-banner_127032-2490.jpg",
|
||||
},
|
||||
id: "p4", brand: "Fresh", name: "Garden Harvest Salad", price: "$15", rating: 4,
|
||||
reviewCount: "45", imageSrc: "http://img.b2bpic.net/free-photo/hawaiian-poke-bowl-with-salmon-bowl-with-seaweed-sesame-seeds-cabbage-top-view-flat-lay-banner_127032-2490.jpg"},
|
||||
{
|
||||
id: "p5",
|
||||
brand: "Fresh",
|
||||
name: "Dark Chocolate Tart",
|
||||
price: "$9",
|
||||
rating: 5,
|
||||
reviewCount: "60",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-muffins-with-honey-chocolate-light-table_140725-131668.jpg",
|
||||
},
|
||||
id: "p5", brand: "Fresh", name: "Dark Chocolate Tart", price: "$9", rating: 5,
|
||||
reviewCount: "60", imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-muffins-with-honey-chocolate-light-table_140725-131668.jpg"},
|
||||
{
|
||||
id: "p6",
|
||||
brand: "Fresh",
|
||||
name: "Grilled Sea Bass",
|
||||
price: "$28",
|
||||
rating: 5,
|
||||
reviewCount: "30",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/tiger-prawn-with-spicy-sauce-with-nice-decoration_1258-84823.jpg",
|
||||
},
|
||||
id: "p6", brand: "Fresh", name: "Grilled Sea Bass", price: "$28", rating: 5,
|
||||
reviewCount: "30", imageSrc: "http://img.b2bpic.net/free-photo/tiger-prawn-with-spicy-sauce-with-nice-decoration_1258-84823.jpg"},
|
||||
]}
|
||||
title="Featured Dishes"
|
||||
description="Hand-picked gourmet selections prepared fresh daily."
|
||||
@@ -181,26 +121,11 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
features={[
|
||||
{
|
||||
title: "Fresh Ingredients",
|
||||
description: "Locally sourced produce daily.",
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/organic-food-icons-stickers_23-2147496514.jpg",
|
||||
titleImageSrc: "http://img.b2bpic.net/free-vector/logo-design-with-words-organic-farm_1308-103987.jpg",
|
||||
buttonText: "Learn More",
|
||||
},
|
||||
title: "Fresh Ingredients", description: "Locally sourced produce daily.", imageSrc: "http://img.b2bpic.net/free-vector/organic-food-icons-stickers_23-2147496514.jpg", titleImageSrc: "http://img.b2bpic.net/free-vector/logo-design-with-words-organic-farm_1308-103987.jpg", buttonText: "Learn More"},
|
||||
{
|
||||
title: "Rapid Delivery",
|
||||
description: "From kitchen to doorstep in 30 mins.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-male-courier-red-uniform-mask-with-coffee-yellow-color-job-pandemic-delivery-covid-work-food-service-virus_179666-22326.jpg",
|
||||
titleImageSrc: "http://img.b2bpic.net/free-photo/male-courier-mask-holding-coffee-yellow_179666-38413.jpg",
|
||||
buttonText: "Learn More",
|
||||
},
|
||||
title: "Rapid Delivery", description: "From kitchen to doorstep in 30 mins.", imageSrc: "http://img.b2bpic.net/free-photo/front-view-male-courier-red-uniform-mask-with-coffee-yellow-color-job-pandemic-delivery-covid-work-food-service-virus_179666-22326.jpg", titleImageSrc: "http://img.b2bpic.net/free-photo/male-courier-mask-holding-coffee-yellow_179666-38413.jpg", buttonText: "Learn More"},
|
||||
{
|
||||
title: "Eco Packaging",
|
||||
description: "Sustainable and earth-friendly.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/ecological-notebook-toothbrush_23-2148576635.jpg",
|
||||
titleImageSrc: "http://img.b2bpic.net/free-vector/flat-design-compostable-labels-stamps_23-2149414584.jpg",
|
||||
buttonText: "Learn More",
|
||||
},
|
||||
title: "Eco Packaging", description: "Sustainable and earth-friendly.", imageSrc: "http://img.b2bpic.net/free-photo/ecological-notebook-toothbrush_23-2148576635.jpg", titleImageSrc: "http://img.b2bpic.net/free-vector/flat-design-compostable-labels-stamps_23-2149414584.jpg", buttonText: "Learn More"},
|
||||
]}
|
||||
title="Why Choose Us"
|
||||
description="Quality and convenience in every bite."
|
||||
@@ -213,45 +138,15 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
id: "t1",
|
||||
title: "Amazing quality!",
|
||||
quote: "The food is consistently excellent and arrives piping hot.",
|
||||
name: "Jane D.",
|
||||
role: "Foodie",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-image-happy-smiling-woman-enjoy-her-morning-french-breakfast-open-cafe-terrace-tasty-organic-food-holding-french-croissant-her-hand_291049-526.jpg",
|
||||
},
|
||||
id: "t1", title: "Amazing quality!", quote: "The food is consistently excellent and arrives piping hot.", name: "Jane D.", role: "Foodie", imageSrc: "http://img.b2bpic.net/free-photo/close-up-image-happy-smiling-woman-enjoy-her-morning-french-breakfast-open-cafe-terrace-tasty-organic-food-holding-french-croissant-her-hand_291049-526.jpg"},
|
||||
{
|
||||
id: "t2",
|
||||
title: "Best delivery service",
|
||||
quote: "I love how fresh the ingredients always taste. High quality service.",
|
||||
name: "Mike S.",
|
||||
role: "Regular",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-people-enjoying-christmas-dinner_23-2149144969.jpg",
|
||||
},
|
||||
id: "t2", title: "Best delivery service", quote: "I love how fresh the ingredients always taste. High quality service.", name: "Mike S.", role: "Regular", imageSrc: "http://img.b2bpic.net/free-photo/close-up-people-enjoying-christmas-dinner_23-2149144969.jpg"},
|
||||
{
|
||||
id: "t3",
|
||||
title: "Highly recommended",
|
||||
quote: "The gourmet options are varied and delicious every time.",
|
||||
name: "Sarah L.",
|
||||
role: "Chef",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/closeup-attractive-africanamerican-woman-smiling-looking-happy-standing-yellow-backgroun_1258-148997.jpg",
|
||||
},
|
||||
id: "t3", title: "Highly recommended", quote: "The gourmet options are varied and delicious every time.", name: "Sarah L.", role: "Chef", imageSrc: "http://img.b2bpic.net/free-photo/closeup-attractive-africanamerican-woman-smiling-looking-happy-standing-yellow-backgroun_1258-148997.jpg"},
|
||||
{
|
||||
id: "t4",
|
||||
title: "Quick and fresh",
|
||||
quote: "Perfect service when I don't feel like cooking.",
|
||||
name: "David W.",
|
||||
role: "Client",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/attractive-happy-young-bearded-man-trendy-hat-texting-messages-via-social-networks-browsing-internet-using-free-wifi-his-electronic-device-coffee-break-restaurant_273609-1934.jpg",
|
||||
},
|
||||
id: "t4", title: "Quick and fresh", quote: "Perfect service when I don't feel like cooking.", name: "David W.", role: "Client", imageSrc: "http://img.b2bpic.net/free-photo/attractive-happy-young-bearded-man-trendy-hat-texting-messages-via-social-networks-browsing-internet-using-free-wifi-his-electronic-device-coffee-break-restaurant_273609-1934.jpg"},
|
||||
{
|
||||
id: "t5",
|
||||
title: "Authentic taste",
|
||||
quote: "You can tell the ingredients are carefully selected.",
|
||||
name: "Anna P.",
|
||||
role: "Fan",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-young-female-courier-red-uniform-cape-holding-delivery-food-packages-pink-wall_140725-45835.jpg",
|
||||
},
|
||||
id: "t5", title: "Authentic taste", quote: "You can tell the ingredients are carefully selected.", name: "Anna P.", role: "Fan", imageSrc: "http://img.b2bpic.net/free-photo/front-view-young-female-courier-red-uniform-cape-holding-delivery-food-packages-pink-wall_140725-45835.jpg"},
|
||||
]}
|
||||
title="What They Say"
|
||||
description="Our customers love the freshness of our gourmet creations."
|
||||
@@ -264,20 +159,11 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
faqs={[
|
||||
{
|
||||
id: "f1",
|
||||
title: "What is the delivery time?",
|
||||
content: "Our average delivery time is between 30 and 45 minutes.",
|
||||
},
|
||||
id: "f1", title: "What is the delivery time?", content: "Our average delivery time is between 30 and 45 minutes."},
|
||||
{
|
||||
id: "f2",
|
||||
title: "Are ingredients fresh?",
|
||||
content: "Yes, we source fresh organic produce from local farms every morning.",
|
||||
},
|
||||
id: "f2", title: "Are ingredients fresh?", content: "Yes, we source fresh organic produce from local farms every morning."},
|
||||
{
|
||||
id: "f3",
|
||||
title: "Can I cancel my order?",
|
||||
content: "Cancellations are accepted within 5 minutes of placing your order.",
|
||||
},
|
||||
id: "f3", title: "Can I cancel my order?", content: "Cancellations are accepted within 5 minutes of placing your order."},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/delivery-man-giving-groceries-order-customer_23-2149950077.jpg"
|
||||
mediaAnimation="opacity"
|
||||
@@ -294,23 +180,14 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
metrics={[
|
||||
{
|
||||
id: "m1",
|
||||
icon: Utensils,
|
||||
title: "Meals Served",
|
||||
value: "50,000+",
|
||||
},
|
||||
id: "m1", icon: Utensils,
|
||||
title: "Meals Served", value: "50,000+"},
|
||||
{
|
||||
id: "m2",
|
||||
icon: Clock,
|
||||
title: "Avg Delivery Time",
|
||||
value: "35m",
|
||||
},
|
||||
id: "m2", icon: Clock,
|
||||
title: "Avg Delivery Time", value: "35m"},
|
||||
{
|
||||
id: "m3",
|
||||
icon: Smile,
|
||||
title: "Happy Customers",
|
||||
value: "99%",
|
||||
},
|
||||
id: "m3", icon: Smile,
|
||||
title: "Happy Customers", value: "99%"},
|
||||
]}
|
||||
title="Our Success"
|
||||
description="Serving happiness one plate at a time."
|
||||
@@ -324,22 +201,14 @@ export default function LandingPage() {
|
||||
description="Have special requests or just want to say hi?"
|
||||
inputs={[
|
||||
{
|
||||
name: "name",
|
||||
type: "text",
|
||||
placeholder: "Your Name",
|
||||
required: true,
|
||||
name: "name", type: "text", placeholder: "Your Name", required: true,
|
||||
},
|
||||
{
|
||||
name: "email",
|
||||
type: "email",
|
||||
placeholder: "Your Email",
|
||||
required: true,
|
||||
name: "email", type: "email", placeholder: "Your Email", required: true,
|
||||
},
|
||||
]}
|
||||
textarea={{
|
||||
name: "message",
|
||||
placeholder: "Your message here...",
|
||||
rows: 4,
|
||||
name: "message", placeholder: "Your message here...", rows: 4,
|
||||
}}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/fresh-fruits-vegetables-background-different-fruits-vegetables-eating-healthy-colorful-fruits-vegetables_1150-37826.jpg"
|
||||
/>
|
||||
@@ -351,37 +220,25 @@ export default function LandingPage() {
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: "Menu",
|
||||
href: "#products",
|
||||
},
|
||||
label: "Menu", href: "#products"},
|
||||
{
|
||||
label: "About",
|
||||
href: "#about",
|
||||
},
|
||||
label: "About", href: "#about"},
|
||||
],
|
||||
},
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: "Contact",
|
||||
href: "#contact",
|
||||
},
|
||||
label: "Contact", href: "#contact"},
|
||||
{
|
||||
label: "FAQ",
|
||||
href: "#faq",
|
||||
},
|
||||
label: "FAQ", href: "#faq"},
|
||||
],
|
||||
},
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: "Privacy Policy",
|
||||
href: "#",
|
||||
},
|
||||
label: "Privacy Policy", href: "#"},
|
||||
{
|
||||
label: "Terms of Service",
|
||||
href: "#",
|
||||
},
|
||||
label: "Terms of Service", href: "#"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
@@ -391,4 +248,4 @@ export default function LandingPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user