Update src/app/page.tsx
This commit is contained in:
270
src/app/page.tsx
270
src/app/page.tsx
@@ -11,7 +11,7 @@ import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCa
|
||||
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
|
||||
import ProductCardThree from '@/components/sections/product/ProductCardThree';
|
||||
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
|
||||
import { Coffee, Heart, Instagram, Leaf, Sun, Twitter, Users } from "lucide-react";
|
||||
import { Coffee, Heart, Instagram, Leaf, Sun, Twitter, Users, CheckCircle } from "lucide-react";
|
||||
|
||||
export default function LandingPage() {
|
||||
return (
|
||||
@@ -31,24 +31,13 @@ export default function LandingPage() {
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "hero",
|
||||
},
|
||||
{
|
||||
name: "About",
|
||||
id: "about",
|
||||
},
|
||||
{
|
||||
name: "Menu",
|
||||
id: "menu",
|
||||
},
|
||||
{
|
||||
name: "Contact",
|
||||
id: "contact",
|
||||
},
|
||||
{ name: "Home", id: "hero" },
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Menu", id: "menu" },
|
||||
{ name: "Contact", id: "contact" },
|
||||
]}
|
||||
brandName="GreenLeaf Café"
|
||||
button={{ text: "Contact", href: "#contact" }}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -56,37 +45,14 @@ export default function LandingPage() {
|
||||
<HeroCarouselLogo
|
||||
logoText="GreenLeaf Café"
|
||||
description="Purely plant-based, entirely delicious. Discover the fresh, organic flavors of our modern vegan kitchen."
|
||||
buttons={[
|
||||
{
|
||||
text: "View Menu",
|
||||
href: "#menu",
|
||||
},
|
||||
]}
|
||||
buttons={[{ text: "View Menu", href: "#menu" }]}
|
||||
slides={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/organic-salad-table_23-2148515371.jpg",
|
||||
imageAlt: "Cafe Interior",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/delicious-sandwiches-arrangement-with-copy-space_23-2148617383.jpg",
|
||||
imageAlt: "Breakfast",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-redhead-female-barista-drinks-coffee_613910-10275.jpg",
|
||||
imageAlt: "Ingredients",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-sporty-girl-kitchen-with-vegetables_1157-41823.jpg",
|
||||
imageAlt: "Kitchen",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/concept-tasty-food-salad-with-strawberry-close-up_185193-108460.jpg",
|
||||
imageAlt: "Salad",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/people-sitting-table-full-shot_23-2149726816.jpg",
|
||||
imageAlt: "Design",
|
||||
},
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/organic-salad-table_23-2148515371.jpg", imageAlt: "Cafe Interior" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/delicious-sandwiches-arrangement-with-copy-space_23-2148617383.jpg", imageAlt: "Breakfast" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-redhead-female-barista-drinks-coffee_613910-10275.jpg", imageAlt: "Ingredients" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/beautiful-sporty-girl-kitchen-with-vegetables_1157-41823.jpg", imageAlt: "Kitchen" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/concept-tasty-food-salad-with-strawberry-close-up_185193-108460.jpg", imageAlt: "Salad" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/people-sitting-table-full-shot_23-2149726816.jpg", imageAlt: "Design" },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -96,31 +62,11 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
title="Our Mission"
|
||||
metrics={[
|
||||
{
|
||||
icon: Leaf,
|
||||
label: "Ethical Sourcing",
|
||||
value: "100%",
|
||||
},
|
||||
{
|
||||
icon: Coffee,
|
||||
label: "Animal-Free",
|
||||
value: "100%",
|
||||
},
|
||||
{
|
||||
icon: Users,
|
||||
label: "Happy Guests",
|
||||
value: "5k+",
|
||||
},
|
||||
{
|
||||
icon: Heart,
|
||||
label: "Passionately Crafted",
|
||||
value: "100%",
|
||||
},
|
||||
{
|
||||
icon: Sun,
|
||||
label: "Local Partners",
|
||||
value: "20+",
|
||||
},
|
||||
{ icon: Leaf, label: "Ethical Sourcing", value: "100%" },
|
||||
{ icon: Coffee, label: "Animal-Free", value: "100%" },
|
||||
{ icon: Users, label: "Happy Guests", value: "5k+" },
|
||||
{ icon: Heart, label: "Passionately Crafted", value: "100%" },
|
||||
{ icon: Sun, label: "Local Partners", value: "20+" },
|
||||
]}
|
||||
metricsAnimation="slide-up"
|
||||
/>
|
||||
@@ -131,36 +77,11 @@ export default function LandingPage() {
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
title: "Farm to Table",
|
||||
description: "Local organic produce delivered daily.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/bell-pepper-hands-woman-against-background-fresh-vegetables_169016-50070.jpg",
|
||||
buttonIcon: "CheckCircle",
|
||||
},
|
||||
{
|
||||
title: "Fair Trade Coffee",
|
||||
description: "Sustainably sourced roasted beans.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/countryside-worker-enjoying-fruit_23-2148761818.jpg",
|
||||
buttonIcon: "CheckCircle",
|
||||
},
|
||||
{
|
||||
title: "Vegan Certified",
|
||||
description: "Strictly no animal products.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/domestic-rabbit-eats-cabbage-pet-concept_169016-63747.jpg",
|
||||
buttonIcon: "CheckCircle",
|
||||
},
|
||||
{
|
||||
title: "Eco Friendly",
|
||||
description: "Sustainable packaging and waste.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/modern-cafe-interior-design_23-2151945689.jpg",
|
||||
buttonIcon: "CheckCircle",
|
||||
},
|
||||
{
|
||||
title: "Community Focus",
|
||||
description: "Building sustainable food habits.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/people-holding-board-about-healthy-nutrition-veggie_53876-122976.jpg",
|
||||
buttonIcon: "CheckCircle",
|
||||
},
|
||||
{ title: "Farm to Table", description: "Local organic produce delivered daily.", imageSrc: "http://img.b2bpic.net/free-photo/bell-pepper-hands-woman-against-background-fresh-vegetables_169016-50070.jpg", buttonIcon: CheckCircle },
|
||||
{ title: "Fair Trade Coffee", description: "Sustainably sourced roasted beans.", imageSrc: "http://img.b2bpic.net/free-photo/countryside-worker-enjoying-fruit_23-2148761818.jpg", buttonIcon: CheckCircle },
|
||||
{ title: "Vegan Certified", description: "Strictly no animal products.", imageSrc: "http://img.b2bpic.net/free-photo/domestic-rabbit-eats-cabbage-pet-concept_169016-63747.jpg", buttonIcon: CheckCircle },
|
||||
{ title: "Eco Friendly", description: "Sustainable packaging and waste.", imageSrc: "http://img.b2bpic.net/free-photo/modern-cafe-interior-design_23-2151945689.jpg", buttonIcon: CheckCircle },
|
||||
{ title: "Community Focus", description: "Building sustainable food habits.", imageSrc: "http://img.b2bpic.net/free-photo/people-holding-board-about-healthy-nutrition-veggie_53876-122976.jpg", buttonIcon: CheckCircle },
|
||||
]}
|
||||
title="Why Choose Us"
|
||||
description="We believe in high-quality, sustainable food that respects all living beings."
|
||||
@@ -174,42 +95,12 @@ export default function LandingPage() {
|
||||
gridVariant="four-items-2x2-equal-grid"
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "p1",
|
||||
name: "Avocado Toast",
|
||||
price: "$12.00",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/avocado-toast-whole-grain-bread-with-vegetables_114579-3884.jpg",
|
||||
},
|
||||
{
|
||||
id: "p2",
|
||||
name: "Acai Bowl",
|
||||
price: "$14.00",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/delicious-acai-bowl-arrangement-with-copy-space_23-2149186066.jpg",
|
||||
},
|
||||
{
|
||||
id: "p3",
|
||||
name: "Oat Milk Latte",
|
||||
price: "$6.00",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-coffee-kettle-with-roasted-beans_23-2148337162.jpg",
|
||||
},
|
||||
{
|
||||
id: "p4",
|
||||
name: "Choco Brownie",
|
||||
price: "$5.00",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-cake-slices-plate-with-golden-spoon_23-2148579290.jpg",
|
||||
},
|
||||
{
|
||||
id: "p5",
|
||||
name: "Quinoa Salad",
|
||||
price: "$15.00",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fresh-tomato-avocado-salad-bowl_23-2152010317.jpg",
|
||||
},
|
||||
{
|
||||
id: "p6",
|
||||
name: "Berry Tart",
|
||||
price: "$8.00",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-different-fresh-berries-inside-white-cups-with-cake-light-berry-fruit-fresh-sour_140725-34232.jpg",
|
||||
},
|
||||
{ id: "p1", name: "Avocado Toast", price: "$12.00", imageSrc: "http://img.b2bpic.net/free-photo/avocado-toast-whole-grain-bread-with-vegetables_114579-3884.jpg" },
|
||||
{ id: "p2", name: "Acai Bowl", price: "$14.00", imageSrc: "http://img.b2bpic.net/free-photo/delicious-acai-bowl-arrangement-with-copy-space_23-2149186066.jpg" },
|
||||
{ id: "p3", name: "Oat Milk Latte", price: "$6.00", imageSrc: "http://img.b2bpic.net/free-photo/top-view-coffee-kettle-with-roasted-beans_23-2148337162.jpg" },
|
||||
{ id: "p4", name: "Choco Brownie", price: "$5.00", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-cake-slices-plate-with-golden-spoon_23-2148579290.jpg" },
|
||||
{ id: "p5", name: "Quinoa Salad", price: "$15.00", imageSrc: "http://img.b2bpic.net/free-photo/fresh-tomato-avocado-salad-bowl_23-2152010317.jpg" },
|
||||
{ id: "p6", name: "Berry Tart", price: "$8.00", imageSrc: "http://img.b2bpic.net/free-photo/top-view-different-fresh-berries-inside-white-cups-with-cake-light-berry-fruit-fresh-sour_140725-34232.jpg" },
|
||||
]}
|
||||
title="Our Menu"
|
||||
description="Fresh, locally-sourced vegan delights for every palate."
|
||||
@@ -218,44 +109,15 @@ export default function LandingPage() {
|
||||
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<TestimonialCardSix
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Anna S.",
|
||||
handle: "@anna",
|
||||
testimonial: "Best vegan food in town!",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/middle-aged-best-friends-spending-time-together-outside_23-2148979085.jpg",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
name: "Mark D.",
|
||||
handle: "@markd",
|
||||
testimonial: "Fresh and sustainable.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-man-coffee-shop_23-2148263266.jpg",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
name: "Sara K.",
|
||||
handle: "@sarak",
|
||||
testimonial: "Love the coffee variety.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-asian-businesswoman-sitting-table-cafe-drinking-coffee-reading-smartphone-app-s_1258-137924.jpg",
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
name: "Tom B.",
|
||||
handle: "@tomb",
|
||||
testimonial: "Super healthy options.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/low-angle-woman-eating-seaweed-snacks_23-2150872527.jpg",
|
||||
},
|
||||
{
|
||||
id: "5",
|
||||
name: "Lucy J.",
|
||||
handle: "@lucyj",
|
||||
testimonial: "Amazing ambiance.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/upbeat-saleswoman-hired-explain-vehicle-pricing-options-clients_482257-118422.jpg",
|
||||
},
|
||||
{ id: "1", name: "Anna S.", handle: "@anna", testimonial: "Best vegan food in town!", imageSrc: "http://img.b2bpic.net/free-photo/middle-aged-best-friends-spending-time-together-outside_23-2148979085.jpg" },
|
||||
{ id: "2", name: "Mark D.", handle: "@markd", testimonial: "Fresh and sustainable.", imageSrc: "http://img.b2bpic.net/free-photo/woman-man-coffee-shop_23-2148263266.jpg" },
|
||||
{ id: "3", name: "Sara K.", handle: "@sarak", testimonial: "Love the coffee variety.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-asian-businesswoman-sitting-table-cafe-drinking-coffee-reading-smartphone-app-s_1258-137924.jpg" },
|
||||
{ id: "4", name: "Tom B.", handle: "@tomb", testimonial: "Super healthy options.", imageSrc: "http://img.b2bpic.net/free-photo/low-angle-woman-eating-seaweed-snacks_23-2150872527.jpg" },
|
||||
{ id: "5", name: "Lucy J.", handle: "@lucyj", testimonial: "Amazing ambiance.", imageSrc: "http://img.b2bpic.net/free-photo/upbeat-saleswoman-hired-explain-vehicle-pricing-options-clients_482257-118422.jpg" },
|
||||
]}
|
||||
title="Guest Reviews"
|
||||
description="See why our community loves GreenLeaf."
|
||||
@@ -267,31 +129,11 @@ export default function LandingPage() {
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
faqs={[
|
||||
{
|
||||
id: "1",
|
||||
title: "Are all items vegan?",
|
||||
content: "Yes, 100% of our menu is animal-free.",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
title: "Do you have gluten-free?",
|
||||
content: "We offer many gluten-free options daily.",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
title: "Can I reserve a table?",
|
||||
content: "Walk-ins welcome, or call ahead for groups.",
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
title: "Do you offer catering?",
|
||||
content: "Yes, contact us for event inquiries.",
|
||||
},
|
||||
{
|
||||
id: "5",
|
||||
title: "Where do you source produce?",
|
||||
content: "Locally grown organic farms within 50 miles.",
|
||||
},
|
||||
{ id: "1", title: "Are all items vegan?", content: "Yes, 100% of our menu is animal-free." },
|
||||
{ id: "2", title: "Do you have gluten-free?", content: "We offer many gluten-free options daily." },
|
||||
{ id: "3", title: "Can I reserve a table?", content: "Walk-ins welcome, or call ahead for groups." },
|
||||
{ id: "4", title: "Do you offer catering?", content: "Yes, contact us for event inquiries." },
|
||||
{ id: "5", title: "Where do you source produce?", content: "Locally grown organic farms within 50 miles." },
|
||||
]}
|
||||
title="Common Questions"
|
||||
faqsAnimation="slide-up"
|
||||
@@ -305,24 +147,10 @@ export default function LandingPage() {
|
||||
title="Visit Us"
|
||||
description="Come by or reach out for inquiries."
|
||||
inputs={[
|
||||
{
|
||||
name: "name",
|
||||
type: "text",
|
||||
placeholder: "Name",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
name: "email",
|
||||
type: "email",
|
||||
placeholder: "Email",
|
||||
required: true,
|
||||
},
|
||||
{ name: "name", type: "text", placeholder: "Name", required: true },
|
||||
{ name: "email", type: "email", placeholder: "Email", required: true },
|
||||
]}
|
||||
textarea={{
|
||||
name: "msg",
|
||||
placeholder: "Message",
|
||||
required: true,
|
||||
}}
|
||||
textarea={{ name: "msg", placeholder: "Message", required: true }}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/beautiful-restaurant-is-decorated-with-greens_8353-9675.jpg"
|
||||
/>
|
||||
</div>
|
||||
@@ -332,16 +160,8 @@ export default function LandingPage() {
|
||||
logoText="GreenLeaf Café"
|
||||
copyrightText="© 2025 GreenLeaf Café"
|
||||
socialLinks={[
|
||||
{
|
||||
icon: Instagram,
|
||||
href: "#",
|
||||
ariaLabel: "Instagram",
|
||||
},
|
||||
{
|
||||
icon: Twitter,
|
||||
href: "#",
|
||||
ariaLabel: "Twitter",
|
||||
},
|
||||
{ icon: Instagram, href: "#", ariaLabel: "Instagram" },
|
||||
{ icon: Twitter, href: "#", ariaLabel: "Twitter" },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user