165 lines
7.3 KiB
TypeScript
165 lines
7.3 KiB
TypeScript
"use client";
|
|
|
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
|
import ReactLenis from "lenis/react";
|
|
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
|
import FeatureCardEight from '@/components/sections/feature/FeatureCardEight';
|
|
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
|
|
import HeroSplitDualMedia from '@/components/sections/hero/HeroSplitDualMedia';
|
|
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
|
|
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
|
|
import ProductCardThree from '@/components/sections/product/ProductCardThree';
|
|
import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen';
|
|
import TextAbout from '@/components/sections/about/TextAbout';
|
|
import { Leaf, Sparkles } from "lucide-react";
|
|
|
|
export default function LandingPage() {
|
|
return (
|
|
<ThemeProvider
|
|
defaultButtonVariant="bounce-effect"
|
|
defaultTextAnimation="reveal-blur"
|
|
borderRadius="soft"
|
|
contentWidth="mediumLarge"
|
|
sizing="mediumLargeSizeMediumTitles"
|
|
background="aurora"
|
|
cardStyle="gradient-mesh"
|
|
primaryButtonStyle="flat"
|
|
secondaryButtonStyle="layered"
|
|
headingFontWeight="light"
|
|
>
|
|
<ReactLenis root>
|
|
<div id="nav" data-section="nav">
|
|
<NavbarLayoutFloatingInline
|
|
navItems={[
|
|
{ name: "Home", id: "hero" },
|
|
{ name: "Our Values", id: "about" },
|
|
{ name: "Highlights", id: "features" },
|
|
{ name: "Products", id: "products" },
|
|
{ name: "Reviews", id: "testimonials" },
|
|
{ name: "Contact", id: "contact" },
|
|
]}
|
|
brandName="FreshMarket"
|
|
button={{ text: "Shop Now" }}
|
|
/>
|
|
</div>
|
|
|
|
<div id="hero" data-section="hero">
|
|
<HeroSplitDualMedia
|
|
background={{ variant: "gradient-bars" }}
|
|
title="Freshness Delivered to Your Table"
|
|
description="Discover local produce, gourmet ingredients, and daily essentials at your neighborhood supermarket. Experience farm-to-aisle quality every day."
|
|
tag="Daily Freshness"
|
|
mediaItems={[
|
|
{
|
|
imageSrc: "http://img.b2bpic.net/free-photo/close-up-woman-looking-fruits_23-2148238107.jpg", imageAlt: "Fresh organic fruits"},
|
|
{
|
|
imageSrc: "http://img.b2bpic.net/free-photo/fresh-produce-tote-bag_23-2152003890.jpg", imageAlt: "Fresh vegetables arrangement"}
|
|
]}
|
|
mediaAnimation="slide-up"
|
|
rating={5}
|
|
ratingText="Rated 5 stars by thousands of local families"
|
|
tagIcon={Sparkles}
|
|
/>
|
|
</div>
|
|
|
|
<div id="about" data-section="about">
|
|
<TextAbout
|
|
useInvertedBackground={false}
|
|
tag="Our Story"
|
|
title="Our Commitment to Quality"
|
|
tagIcon={Leaf}
|
|
/>
|
|
</div>
|
|
|
|
<div id="features" data-section="features">
|
|
<FeatureCardEight
|
|
textboxLayout="default"
|
|
useInvertedBackground={true}
|
|
features={[
|
|
{
|
|
title: "Locally Sourced", description: "Supporting our regional farmers.", imageSrc: "http://img.b2bpic.net/free-photo/world-health-day-celebration-with-healthy-food_23-2151183743.jpg", imageAlt: "Local farm icon"},
|
|
{
|
|
title: "Quality Assured", description: "Hand-picked daily by experts.", imageSrc: "http://img.b2bpic.net/free-vector/collection-flat-quality-premium-stamp-with-red-details_23-2147550373.jpg", imageAlt: "Quality check"},
|
|
{
|
|
title: "Sustainable Practices", description: "Eco-friendly packaging always.", imageSrc: "http://img.b2bpic.net/free-photo/eco-friendly-recycling-concept_23-2148737667.jpg", imageAlt: "Green earth icon"},
|
|
]}
|
|
title="Why Choose FreshMarket?"
|
|
description="We prioritize quality and sustainability in everything we offer."
|
|
/>
|
|
</div>
|
|
|
|
<div id="products" data-section="products">
|
|
<ProductCardThree
|
|
animationType="slide-up"
|
|
textboxLayout="default"
|
|
gridVariant="three-columns-all-equal-width"
|
|
useInvertedBackground={false}
|
|
products={[
|
|
{ id: "p1", name: "Organic Red Apples", price: "$4.99/kg", imageSrc: "http://img.b2bpic.net/free-photo/beautifully-arranged-apples-shop_23-2150713426.jpg" },
|
|
{ id: "p2", name: "Fresh Kale", price: "$2.50/bunch", imageSrc: "http://img.b2bpic.net/free-photo/broccoli-inflorescences-laid-out-gray-background-top-view-healthy-vegetable-products-food-delivery-from-farms_166373-1849.jpg" },
|
|
{ id: "p3", name: "Artisan Sourdough Bread", price: "$6.00", imageSrc: "http://img.b2bpic.net/free-photo/close-up-freshly-baked-loaf-bread_23-2152015863.jpg" }
|
|
]}
|
|
title="Explore Our Aisles"
|
|
description="From fresh produce to household essentials, find everything you need."
|
|
/>
|
|
</div>
|
|
|
|
<div id="metrics" data-section="metrics">
|
|
<MetricCardEleven
|
|
animationType="slide-up"
|
|
textboxLayout="default"
|
|
useInvertedBackground={true}
|
|
metrics={[
|
|
{ id: "m1", value: "150+", title: "Local Farmers", description: "Partnering to bring you the best.", imageSrc: "http://img.b2bpic.net/free-photo/people-planting-tree-countryside_23-2149401242.jpg" },
|
|
{ id: "m2", value: "20K+", title: "Happy Customers", description: "Serving our community daily.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-assortment-still-life-friendship-day-elements_23-2148970494.jpg" },
|
|
{ id: "m3", value: "12", title: "Years Serving", description: "Consistent quality for years.", imageSrc: "http://img.b2bpic.net/free-photo/classical-urban-european-city_23-2151917260.jpg" }
|
|
]}
|
|
title="Impact We Make"
|
|
description="Our numbers reflect our dedication to the community."
|
|
/>
|
|
</div>
|
|
|
|
<div id="testimonials" data-section="testimonials">
|
|
<TestimonialCardSixteen
|
|
animationType="slide-up"
|
|
textboxLayout="default"
|
|
useInvertedBackground={false}
|
|
testimonials={[
|
|
{ id: "1", name: "Maria Garcia", role: "Chef", company: "Local Foodie", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/crazy-chef-angry-expression_1194-1424.jpg" },
|
|
{ id: "2", name: "John Doe", role: "Parent", company: "Community Member", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/woman-glasses-with-paper-bags_23-2147669707.jpg" }
|
|
]}
|
|
kpiItems={[
|
|
{ value: "4.9/5", label: "Community Rating" },
|
|
{ value: "100%", label: "Freshness" },
|
|
{ value: "95%", label: "Repeat Visits" }
|
|
]}
|
|
title="Loved by Neighbors"
|
|
description="Hear what our loyal community says about us."
|
|
/>
|
|
</div>
|
|
|
|
<div id="contact" data-section="contact">
|
|
<ContactSplitForm
|
|
useInvertedBackground={true}
|
|
title="Stay Connected"
|
|
description="Have feedback or a request? Reach out to our team."
|
|
inputs={[
|
|
{ name: "name", type: "text", placeholder: "Your Name" },
|
|
{ name: "email", type: "email", placeholder: "Your Email" }
|
|
]}
|
|
imageSrc="http://img.b2bpic.net/free-photo/close-up-women-with-clothes-donations_23-2149196124.jpg"
|
|
/>
|
|
</div>
|
|
|
|
<div id="footer" data-section="footer">
|
|
<FooterLogoReveal
|
|
logoText="FreshMarket"
|
|
leftLink={{ text: "Privacy Policy", href: "#" }}
|
|
rightLink={{ text: "Terms of Service", href: "#" }}
|
|
/>
|
|
</div>
|
|
</ReactLenis>
|
|
</ThemeProvider>
|
|
);
|
|
}
|