Merge version_1 into main #2
223
src/app/page.tsx
223
src/app/page.tsx
@@ -32,22 +32,10 @@ export default function LandingPage() {
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{
|
||||
name: "About",
|
||||
id: "#about",
|
||||
},
|
||||
{
|
||||
name: "Products",
|
||||
id: "#products",
|
||||
},
|
||||
{
|
||||
name: "FAQ",
|
||||
id: "#faq",
|
||||
},
|
||||
{
|
||||
name: "Contact",
|
||||
id: "#contact",
|
||||
},
|
||||
{ name: "About", id: "#about" },
|
||||
{ name: "Products", id: "#products" },
|
||||
{ name: "FAQ", id: "#faq" },
|
||||
{ name: "Contact", id: "#contact" },
|
||||
]}
|
||||
brandName="FreshMart"
|
||||
/>
|
||||
@@ -57,37 +45,14 @@ export default function LandingPage() {
|
||||
<HeroCarouselLogo
|
||||
logoText="FreshMart"
|
||||
description="Bringing farm-fresh quality directly to your doorstep. Experience the taste of local, organic goodness every single day."
|
||||
buttons={[
|
||||
{
|
||||
text: "Shop Now",
|
||||
href: "#products",
|
||||
},
|
||||
]}
|
||||
buttons={[{ text: "Shop Now", href: "#products" }]}
|
||||
slides={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/wicker-basket-with-healthy-vegetables_23-2147609628.jpg?_wi=1",
|
||||
imageAlt: "Fresh produce",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-vegetables-market_23-2149050782.jpg?_wi=1",
|
||||
imageAlt: "Organic display",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/organic-foods-fresh-organic-food-local-farmers-market-farmers-markets-are-traditional-way-selling-agricultural-products_1391-114.jpg?_wi=1",
|
||||
imageAlt: "Fresh vegetables",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fruit-stand-background_23-2147960255.jpg",
|
||||
imageAlt: "Grocery aisle",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/vegan-shop-client-buys-organic-food_482257-76719.jpg",
|
||||
imageAlt: "Local harvest",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fresh-vegetables-with-price-tags-shelf-grocery-store-supermarket_342744-1397.jpg",
|
||||
imageAlt: "Fruit selection",
|
||||
},
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/wicker-basket-with-healthy-vegetables_23-2147609628.jpg", imageAlt: "Fresh produce" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-vegetables-market_23-2149050782.jpg", imageAlt: "Organic display" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/organic-foods-fresh-organic-food-local-farmers-market-farmers-markets-are-traditional-way-selling-agricultural-products_1391-114.jpg", imageAlt: "Fresh vegetables" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/fruit-stand-background_23-2147960255.jpg", imageAlt: "Grocery aisle" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/vegan-shop-client-buys-organic-food_482257-76719.jpg", imageAlt: "Local harvest" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/fresh-vegetables-with-price-tags-shelf-grocery-store-supermarket_342744-1397.jpg", imageAlt: "Fruit selection" },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -96,12 +61,7 @@ export default function LandingPage() {
|
||||
<TextAbout
|
||||
useInvertedBackground={false}
|
||||
title="Your Trusted Neighborhood Market"
|
||||
buttons={[
|
||||
{
|
||||
text: "Learn More",
|
||||
href: "#",
|
||||
},
|
||||
]}
|
||||
buttons={[{ text: "Learn More", href: "#" }]}
|
||||
tag="Our Commitment"
|
||||
tagIcon={Leaf}
|
||||
/>
|
||||
@@ -114,49 +74,25 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
title: "Farm Fresh Produce",
|
||||
description: "Sourced daily from our local farmers.",
|
||||
icon: Leaf,
|
||||
title: "Farm Fresh Produce", description: "Sourced daily from our local farmers.", icon: Leaf,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/natural-cosmetics-body-handmade-soap-bath-bombs_169016-20050.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/vegetables-board-space-text_501050-1009.jpg",
|
||||
},
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/natural-cosmetics-body-handmade-soap-bath-bombs_169016-20050.jpg" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/vegetables-board-space-text_501050-1009.jpg" },
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/wicker-basket-with-healthy-vegetables_23-2147609628.jpg?_wi=2",
|
||||
imageAlt: "fresh organic vegetables farm display",
|
||||
},
|
||||
{
|
||||
title: "Artisan Bakery",
|
||||
description: "Freshly baked bread every morning.",
|
||||
icon: Wheat,
|
||||
title: "Artisan Bakery", description: "Freshly baked bread every morning.", icon: Wheat,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/baker-holds-homemade-craft-bread-his-hands_166373-749.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/delicious-orange-bun-table_23-2148858384.jpg",
|
||||
},
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/baker-holds-homemade-craft-bread-his-hands_166373-749.jpg" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/delicious-orange-bun-table_23-2148858384.jpg" },
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-vegetables-market_23-2149050782.jpg?_wi=2",
|
||||
imageAlt: "fresh organic vegetables farm display",
|
||||
},
|
||||
{
|
||||
title: "Organic Dairy",
|
||||
description: "Fresh milk, cheese, and more.",
|
||||
icon: Milk,
|
||||
title: "Organic Dairy", description: "Fresh milk, cheese, and more.", icon: Milk,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/bottles-milk-arrangement-still-life_23-2150642906.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/classic-glass-bottle-milk_23-2150734410.jpg",
|
||||
},
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/bottles-milk-arrangement-still-life_23-2150642906.jpg" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/classic-glass-bottle-milk_23-2150734410.jpg" },
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/organic-foods-fresh-organic-food-local-farmers-market-farmers-markets-are-traditional-way-selling-agricultural-products_1391-114.jpg?_wi=2",
|
||||
imageAlt: "fresh organic vegetables farm display",
|
||||
},
|
||||
]}
|
||||
title="Why Shop With Us?"
|
||||
@@ -171,42 +107,12 @@ export default function LandingPage() {
|
||||
gridVariant="four-items-2x2-equal-grid"
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Crispy Apples",
|
||||
price: "$3.99/lb",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-crate-with-ripe-apples-with-copyspace_23-2148233244.jpg",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
name: "Organic Broccoli",
|
||||
price: "$2.49/bunch",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-green-broccoli-fresh-ripe-grey-desk_140725-13476.jpg",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
name: "Carrots",
|
||||
price: "$1.99/lb",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fresh-orange-foodson-concrete-surface_114579-5451.jpg",
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
name: "Bananas",
|
||||
price: "$0.59/lb",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/side-view-bunch-bananas-wicker-basket-dark_141793-7180.jpg",
|
||||
},
|
||||
{
|
||||
id: "5",
|
||||
name: "Cherry Tomatoes",
|
||||
price: "$4.50/carton",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/closeup-tomatoes-box-counter_169016-21317.jpg",
|
||||
},
|
||||
{
|
||||
id: "6",
|
||||
name: "Bell Peppers",
|
||||
price: "$1.25/each",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/pastas-rustic-bag-with-red-green-chili-peppers-around_114579-66505.jpg",
|
||||
},
|
||||
{ id: "1", name: "Crispy Apples", price: "$3.99/lb", imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-crate-with-ripe-apples-with-copyspace_23-2148233244.jpg" },
|
||||
{ id: "2", name: "Organic Broccoli", price: "$2.49/bunch", imageSrc: "http://img.b2bpic.net/free-photo/top-view-green-broccoli-fresh-ripe-grey-desk_140725-13476.jpg" },
|
||||
{ id: "3", name: "Carrots", price: "$1.99/lb", imageSrc: "http://img.b2bpic.net/free-photo/fresh-orange-foodson-concrete-surface_114579-5451.jpg" },
|
||||
{ id: "4", name: "Bananas", price: "$0.59/lb", imageSrc: "http://img.b2bpic.net/free-photo/side-view-bunch-bananas-wicker-basket-dark_141793-7180.jpg" },
|
||||
{ id: "5", name: "Cherry Tomatoes", price: "$4.50/carton", imageSrc: "http://img.b2bpic.net/free-photo/closeup-tomatoes-box-counter_169016-21317.jpg" },
|
||||
{ id: "6", name: "Bell Peppers", price: "$1.25/each", imageSrc: "http://img.b2bpic.net/free-photo/pastas-rustic-bag-with-red-green-chili-peppers-around_114579-66505.jpg" },
|
||||
]}
|
||||
title="Weekly Best Sellers"
|
||||
description="Freshly picked and ready for your kitchen."
|
||||
@@ -220,21 +126,9 @@ export default function LandingPage() {
|
||||
gridVariant="uniform-all-items-equal"
|
||||
useInvertedBackground={false}
|
||||
metrics={[
|
||||
{
|
||||
id: "m1",
|
||||
value: "5000+",
|
||||
description: "Happy Families Served",
|
||||
},
|
||||
{
|
||||
id: "m2",
|
||||
value: "50+",
|
||||
description: "Local Farmers Partnered",
|
||||
},
|
||||
{
|
||||
id: "m3",
|
||||
value: "100%",
|
||||
description: "Freshness Guaranteed",
|
||||
},
|
||||
{ id: "m1", value: "5000+", description: "Happy Families Served" },
|
||||
{ id: "m2", value: "50+", description: "Local Farmers Partnered" },
|
||||
{ id: "m3", value: "100%", description: "Freshness Guaranteed" },
|
||||
]}
|
||||
title="Serving Our Community"
|
||||
description="We are proud of the impact we've made."
|
||||
@@ -248,26 +142,11 @@ export default function LandingPage() {
|
||||
rating={5}
|
||||
author="Sarah Miller"
|
||||
avatars={[
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/young-couple-doing-shopping-supermarket_23-2148150038.jpg",
|
||||
alt: "Customer 1",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/medium-shot-woman-posing-grocery-store_23-2148238139.jpg",
|
||||
alt: "Customer 2",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/close-up-young-man-food-market_23-2149082588.jpg",
|
||||
alt: "Customer 3",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/close-up-young-women-doing-groceries_23-2149284863.jpg",
|
||||
alt: "Customer 4",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-carrying-backpack_23-2149002421.jpg",
|
||||
alt: "Customer 5",
|
||||
},
|
||||
{ src: "http://img.b2bpic.net/free-photo/young-couple-doing-shopping-supermarket_23-2148150038.jpg", alt: "Customer 1" },
|
||||
{ src: "http://img.b2bpic.net/free-photo/medium-shot-woman-posing-grocery-store_23-2148238139.jpg", alt: "Customer 2" },
|
||||
{ src: "http://img.b2bpic.net/free-photo/close-up-young-man-food-market_23-2149082588.jpg", alt: "Customer 3" },
|
||||
{ src: "http://img.b2bpic.net/free-photo/close-up-young-women-doing-groceries_23-2149284863.jpg", alt: "Customer 4" },
|
||||
{ src: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-carrying-backpack_23-2149002421.jpg", alt: "Customer 5" },
|
||||
]}
|
||||
ratingAnimation="slide-up"
|
||||
avatarsAnimation="slide-up"
|
||||
@@ -278,21 +157,9 @@ export default function LandingPage() {
|
||||
<FaqSplitText
|
||||
useInvertedBackground={false}
|
||||
faqs={[
|
||||
{
|
||||
id: "f1",
|
||||
title: "Do you deliver?",
|
||||
content: "Yes, we offer same-day delivery for all orders placed before noon.",
|
||||
},
|
||||
{
|
||||
id: "f2",
|
||||
title: "Are your products organic?",
|
||||
content: "We prioritize organic and locally sourced products whenever possible.",
|
||||
},
|
||||
{
|
||||
id: "f3",
|
||||
title: "What are your hours?",
|
||||
content: "We are open daily from 8:00 AM to 9:00 PM.",
|
||||
},
|
||||
{ id: "f1", title: "Do you deliver?", content: "Yes, we offer same-day delivery for all orders placed before noon." },
|
||||
{ id: "f2", title: "Are your products organic?", content: "We prioritize organic and locally sourced products whenever possible." },
|
||||
{ id: "f3", title: "What are your hours?", content: "We are open daily from 8:00 AM to 9:00 PM." },
|
||||
]}
|
||||
sideTitle="Frequently Asked Questions"
|
||||
faqsAnimation="slide-up"
|
||||
@@ -302,9 +169,7 @@ export default function LandingPage() {
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactSplit
|
||||
useInvertedBackground={false}
|
||||
background={{
|
||||
variant: "plain",
|
||||
}}
|
||||
background={{ variant: "plain" }}
|
||||
tag="Stay Connected"
|
||||
title="Get Fresh Weekly Offers"
|
||||
description="Sign up for our newsletter to get the latest deals and store updates."
|
||||
@@ -316,14 +181,8 @@ export default function LandingPage() {
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterLogoReveal
|
||||
logoText="FreshMart"
|
||||
leftLink={{
|
||||
text: "Privacy Policy",
|
||||
href: "#",
|
||||
}}
|
||||
rightLink={{
|
||||
text: "Terms of Service",
|
||||
href: "#",
|
||||
}}
|
||||
leftLink={{ text: "Privacy Policy", href: "#" }}
|
||||
rightLink={{ text: "Terms of Service", href: "#" }}
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
|
||||
Reference in New Issue
Block a user