Merge version_1 into main #2
265
src/app/page.tsx
265
src/app/page.tsx
@@ -32,22 +32,10 @@ export default function LandingPage() {
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingOverlay
|
||||
navItems={[
|
||||
{
|
||||
name: "Menu",
|
||||
id: "#menu",
|
||||
},
|
||||
{
|
||||
name: "About",
|
||||
id: "#about",
|
||||
},
|
||||
{
|
||||
name: "FAQ",
|
||||
id: "#faq",
|
||||
},
|
||||
{
|
||||
name: "Contact",
|
||||
id: "#contact",
|
||||
},
|
||||
{ name: "Menu", id: "#menu" },
|
||||
{ name: "About", id: "#about" },
|
||||
{ name: "FAQ", id: "#faq" },
|
||||
{ name: "Contact", id: "#contact" },
|
||||
]}
|
||||
brandName="FreshEats"
|
||||
/>
|
||||
@@ -55,22 +43,14 @@ export default function LandingPage() {
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroLogoBillboard
|
||||
background={{
|
||||
variant: "rotated-rays-animated-grid",
|
||||
}}
|
||||
background={{ variant: "rotated-rays-animated-grid" }}
|
||||
logoText="FreshEats Delivery"
|
||||
description="Delicious, handcrafted meals delivered to your doorstep in minutes. Experience the freshest ingredients today."
|
||||
buttons={[
|
||||
{
|
||||
text: "Order Now",
|
||||
href: "#menu",
|
||||
},
|
||||
{
|
||||
text: "Learn More",
|
||||
href: "#about",
|
||||
},
|
||||
{ text: "Order Now", href: "#menu" },
|
||||
{ text: "Learn More", href: "#about" },
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/bowl-caesar-salad-served-with-bread-sticks_140725-5979.jpg?_wi=1"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/bowl-caesar-salad-served-with-bread-sticks_140725-5979.jpg"
|
||||
mediaAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
@@ -82,20 +62,11 @@ export default function LandingPage() {
|
||||
title="Farm to Table, Fast"
|
||||
description="We source ingredients from local farmers to bring you the best possible taste while supporting your community. Your food is prepared fresh as soon as your order hits our kitchen."
|
||||
bulletPoints={[
|
||||
{
|
||||
title: "Fresh Ingredients",
|
||||
description: "100% locally sourced items every day.",
|
||||
},
|
||||
{
|
||||
title: "Rapid Delivery",
|
||||
description: "Meals arrive hot in 30 minutes or less.",
|
||||
},
|
||||
{
|
||||
title: "Expert Chefs",
|
||||
description: "Crafted by culinary professionals.",
|
||||
},
|
||||
{ title: "Fresh Ingredients", description: "100% locally sourced items every day." },
|
||||
{ title: "Rapid Delivery", description: "Meals arrive hot in 30 minutes or less." },
|
||||
{ title: "Expert Chefs", description: "Crafted by culinary professionals." },
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/close-up-delicious-meal-preparation_23-2149059117.jpg?_wi=1"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/close-up-delicious-meal-preparation_23-2149059117.jpg"
|
||||
mediaAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
@@ -107,42 +78,12 @@ export default function LandingPage() {
|
||||
gridVariant="uniform-all-items-equal"
|
||||
useInvertedBackground={true}
|
||||
products={[
|
||||
{
|
||||
id: "p1",
|
||||
name: "Classic Margherita Pizza",
|
||||
price: "$12.99",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/closeup-dinner-horizontal-no-people-diet_1122-2448.jpg?_wi=1",
|
||||
},
|
||||
{
|
||||
id: "p2",
|
||||
name: "Gourmet Beef Burger",
|
||||
price: "$14.99",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-hand-pouring-sesame-seeds-beef-burger-with-salad-bacon_23-2148784492.jpg",
|
||||
},
|
||||
{
|
||||
id: "p3",
|
||||
name: "Greek Salad Bowl",
|
||||
price: "$10.50",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/vegetable-salad-cheese-cucumber-tomato-olive-white-bowl-wooden-surface-top-view-healthy-food_176474-282.jpg",
|
||||
},
|
||||
{
|
||||
id: "p4",
|
||||
name: "Grilled Salmon",
|
||||
price: "$18.99",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-fried-shrimp-with-sauce-plate_141793-11283.jpg",
|
||||
},
|
||||
{
|
||||
id: "p5",
|
||||
name: "Spicy Chicken Wings",
|
||||
price: "$9.99",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/plate-chicken-wings-grunge-black-background_1258-200.jpg",
|
||||
},
|
||||
{
|
||||
id: "p6",
|
||||
name: "Chocolate Lava Cake",
|
||||
price: "$6.99",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/sweet-creamy-cupcake-purple-plate_114579-52049.jpg",
|
||||
},
|
||||
{ id: "p1", name: "Classic Margherita Pizza", price: "$12.99", imageSrc: "http://img.b2bpic.net/free-photo/closeup-dinner-horizontal-no-people-diet_1122-2448.jpg" },
|
||||
{ id: "p2", name: "Gourmet Beef Burger", price: "$14.99", imageSrc: "http://img.b2bpic.net/free-photo/front-view-hand-pouring-sesame-seeds-beef-burger-with-salad-bacon_23-2148784492.jpg" },
|
||||
{ id: "p3", name: "Greek Salad Bowl", price: "$10.50", imageSrc: "http://img.b2bpic.net/free-photo/vegetable-salad-cheese-cucumber-tomato-olive-white-bowl-wooden-surface-top-view-healthy-food_176474-282.jpg" },
|
||||
{ id: "p4", name: "Grilled Salmon", price: "$18.99", imageSrc: "http://img.b2bpic.net/free-photo/front-view-fried-shrimp-with-sauce-plate_141793-11283.jpg" },
|
||||
{ id: "p5", name: "Spicy Chicken Wings", price: "$9.99", imageSrc: "http://img.b2bpic.net/free-photo/plate-chicken-wings-grunge-black-background_1258-200.jpg" },
|
||||
{ id: "p6", name: "Chocolate Lava Cake", price: "$6.99", imageSrc: "http://img.b2bpic.net/free-photo/sweet-creamy-cupcake-purple-plate_114579-52049.jpg" },
|
||||
]}
|
||||
title="Popular Menu Items"
|
||||
description="Our chef-selected favorites, ready to order."
|
||||
@@ -151,56 +92,24 @@ export default function LandingPage() {
|
||||
|
||||
<div id="features" data-section="features">
|
||||
<FeatureCardTen
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
title: "Smart Tracking",
|
||||
description: "Watch your meal travel in real time.",
|
||||
media: {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/delicious-pizza-traditional-italian-pizza_1328-3980.jpg",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
icon: Clock,
|
||||
text: "Real-time updates",
|
||||
},
|
||||
],
|
||||
reverse: false,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/bowl-caesar-salad-served-with-bread-sticks_140725-5979.jpg?_wi=2",
|
||||
imageAlt: "margherita pizza woodfired",
|
||||
title: "Smart Tracking", description: "Watch your meal travel in real time.", media: { imageSrc: "http://img.b2bpic.net/free-photo/delicious-pizza-traditional-italian-pizza_1328-3980.jpg" },
|
||||
items: [{ icon: Clock, text: "Real-time updates" }],
|
||||
reverse: false
|
||||
},
|
||||
{
|
||||
title: "Eco-Friendly",
|
||||
description: "Compostable packaging on every order.",
|
||||
media: {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-beef-burger-with-salad-bacon_23-2148784489.jpg",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
icon: Leaf,
|
||||
text: "Zero-waste goal",
|
||||
},
|
||||
],
|
||||
reverse: true,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-delicious-meal-preparation_23-2149059117.jpg?_wi=2",
|
||||
imageAlt: "margherita pizza woodfired",
|
||||
title: "Eco-Friendly", description: "Compostable packaging on every order.", media: { imageSrc: "http://img.b2bpic.net/free-photo/high-angle-beef-burger-with-salad-bacon_23-2148784489.jpg" },
|
||||
items: [{ icon: Leaf, text: "Zero-waste goal" }],
|
||||
reverse: true
|
||||
},
|
||||
{
|
||||
title: "Membership",
|
||||
description: "Save on delivery with our premium plan.",
|
||||
media: {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/mixed-vegetable-salad-filled-with-berries_141793-708.jpg",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
icon: Star,
|
||||
text: "Exclusive perks",
|
||||
},
|
||||
],
|
||||
reverse: false,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/closeup-dinner-horizontal-no-people-diet_1122-2448.jpg?_wi=2",
|
||||
imageAlt: "margherita pizza woodfired",
|
||||
title: "Membership", description: "Save on delivery with our premium plan.", media: { imageSrc: "http://img.b2bpic.net/free-photo/mixed-vegetable-salad-filled-with-berries_141793-708.jpg" },
|
||||
items: [{ icon: Star, text: "Exclusive perks" }],
|
||||
reverse: false
|
||||
},
|
||||
]}
|
||||
title="Why Choose Us"
|
||||
@@ -214,30 +123,9 @@ export default function LandingPage() {
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={true}
|
||||
metrics={[
|
||||
{
|
||||
id: "m1",
|
||||
value: "50k+",
|
||||
title: "Meals Delivered",
|
||||
items: [
|
||||
"Last year count",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "m2",
|
||||
value: "98%",
|
||||
title: "Satisfaction Rate",
|
||||
items: [
|
||||
"Avg 4.9 star rating",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "m3",
|
||||
value: "25",
|
||||
title: "Kitchen Locations",
|
||||
items: [
|
||||
"City-wide reach",
|
||||
],
|
||||
},
|
||||
{ id: "m1", value: "50k+", title: "Meals Delivered", items: ["Last year count"] },
|
||||
{ id: "m2", value: "98%", title: "Satisfaction Rate", items: ["Avg 4.9 star rating"] },
|
||||
{ id: "m3", value: "25", title: "Kitchen Locations", items: ["City-wide reach"] },
|
||||
]}
|
||||
title="Serving You Better"
|
||||
description="Our numbers reflect our passion for great food."
|
||||
@@ -248,31 +136,11 @@ export default function LandingPage() {
|
||||
<TestimonialCardTwelve
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
id: "t1",
|
||||
name: "Alice M.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/adults-enjoying-mexican-food_23-2149663852.jpg",
|
||||
},
|
||||
{
|
||||
id: "t2",
|
||||
name: "Bob D.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-couple-talking-while-eating-lunch-restaurant_637285-9017.jpg",
|
||||
},
|
||||
{
|
||||
id: "t3",
|
||||
name: "Charlie P.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-with-food_23-2148899052.jpg",
|
||||
},
|
||||
{
|
||||
id: "t4",
|
||||
name: "Diana V.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-man-eating-salad-with-fork-bowl_23-2147893435.jpg",
|
||||
},
|
||||
{
|
||||
id: "t5",
|
||||
name: "Evan K.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-man-ready-eat_23-2148899024.jpg",
|
||||
},
|
||||
{ id: "t1", name: "Alice M.", imageSrc: "http://img.b2bpic.net/free-photo/adults-enjoying-mexican-food_23-2149663852.jpg" },
|
||||
{ id: "t2", name: "Bob D.", imageSrc: "http://img.b2bpic.net/free-photo/cheerful-couple-talking-while-eating-lunch-restaurant_637285-9017.jpg" },
|
||||
{ id: "t3", name: "Charlie P.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-with-food_23-2148899052.jpg" },
|
||||
{ id: "t4", name: "Diana V.", imageSrc: "http://img.b2bpic.net/free-photo/smiling-man-eating-salad-with-fork-bowl_23-2147893435.jpg" },
|
||||
{ id: "t5", name: "Evan K.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-man-ready-eat_23-2148899024.jpg" },
|
||||
]}
|
||||
cardTitle="What People Say"
|
||||
cardTag="Reviews"
|
||||
@@ -284,21 +152,9 @@ export default function LandingPage() {
|
||||
<FaqSplitText
|
||||
useInvertedBackground={true}
|
||||
faqs={[
|
||||
{
|
||||
id: "f1",
|
||||
title: "How fast is delivery?",
|
||||
content: "Our average delivery time is under 30 minutes.",
|
||||
},
|
||||
{
|
||||
id: "f2",
|
||||
title: "Are you open 24/7?",
|
||||
content: "We operate from 10 AM until 11 PM daily.",
|
||||
},
|
||||
{
|
||||
id: "f3",
|
||||
title: "Can I customize orders?",
|
||||
content: "Absolutely, just specify your notes at checkout.",
|
||||
},
|
||||
{ id: "f1", title: "How fast is delivery?", content: "Our average delivery time is under 30 minutes." },
|
||||
{ id: "f2", title: "Are you open 24/7?", content: "We operate from 10 AM until 11 PM daily." },
|
||||
{ id: "f3", title: "Can I customize orders?", content: "Absolutely, just specify your notes at checkout." },
|
||||
]}
|
||||
sideTitle="Frequently Asked"
|
||||
sideDescription="Questions about ordering and delivery."
|
||||
@@ -312,21 +168,10 @@ export default function LandingPage() {
|
||||
title="Need Help?"
|
||||
description="Reach out to our customer success team for any order issues or partnerships."
|
||||
inputs={[
|
||||
{
|
||||
name: "name",
|
||||
type: "text",
|
||||
placeholder: "Your Name",
|
||||
},
|
||||
{
|
||||
name: "email",
|
||||
type: "email",
|
||||
placeholder: "Email Address",
|
||||
},
|
||||
{ name: "name", type: "text", placeholder: "Your Name" },
|
||||
{ name: "email", type: "email", placeholder: "Email Address" },
|
||||
]}
|
||||
textarea={{
|
||||
name: "msg",
|
||||
placeholder: "How can we help?",
|
||||
}}
|
||||
textarea={{ name: "msg", placeholder: "How can we help?" }}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/call-center-operator-assisting-users-with-installing-software_482257-117872.jpg"
|
||||
mediaPosition="right"
|
||||
/>
|
||||
@@ -337,29 +182,15 @@ export default function LandingPage() {
|
||||
logoText="FreshEats"
|
||||
columns={[
|
||||
{
|
||||
title: "Company",
|
||||
items: [
|
||||
{
|
||||
label: "About",
|
||||
href: "#about",
|
||||
},
|
||||
{
|
||||
label: "Jobs",
|
||||
href: "#",
|
||||
},
|
||||
title: "Company", items: [
|
||||
{ label: "About", href: "#about" },
|
||||
{ label: "Jobs", href: "#" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
{
|
||||
label: "Terms",
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
label: "Privacy",
|
||||
href: "#",
|
||||
},
|
||||
title: "Legal", items: [
|
||||
{ label: "Terms", href: "#" },
|
||||
{ label: "Privacy", href: "#" },
|
||||
],
|
||||
},
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user