Merge version_2 into main #2
56
src/app/contact/page.tsx
Normal file
56
src/app/contact/page.tsx
Normal file
@@ -0,0 +1,56 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import FooterCard from '@/components/sections/footer/FooterCard';
|
||||
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
||||
import ContactSplit from '@/components/sections/contact/ContactSplit';
|
||||
|
||||
export default function ContactPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="expand-hover"
|
||||
defaultTextAnimation="entrance-slide"
|
||||
borderRadius="pill"
|
||||
contentWidth="small"
|
||||
sizing="mediumSizeLargeTitles"
|
||||
background="grid"
|
||||
cardStyle="soft-shadow"
|
||||
primaryButtonStyle="radial-glow"
|
||||
secondaryButtonStyle="solid"
|
||||
headingFontWeight="bold"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "/about" },
|
||||
{ name: "Products", id: "/products" },
|
||||
{ name: "Reviews", id: "/testimonials" },
|
||||
{ name: "Contact", id: "/contact" },
|
||||
]}
|
||||
brandName="FreshMart"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactSplit
|
||||
tag="Get in Touch"
|
||||
title="Contact FreshMart"
|
||||
description="Have questions about our produce or need help with an order? Reach out to our team. Find us at 123 Farm Road, Open Daily 9am-6pm, Call us at (555) 123-4567."
|
||||
mediaPosition="right"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/organic-fruits-plastic-crate-local-farmers-market_23-2148209688.jpg"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterCard
|
||||
logoText="FreshMart"
|
||||
copyrightText="© 2025 | FreshMart Grocery Shop"
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
121
src/app/page.tsx
121
src/app/page.tsx
@@ -28,21 +28,15 @@ export default function LandingPage() {
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "hero",
|
||||
},
|
||||
name: "Home", id: "hero"},
|
||||
{
|
||||
name: "About",
|
||||
id: "about",
|
||||
},
|
||||
name: "About", id: "about"},
|
||||
{
|
||||
name: "Products",
|
||||
id: "products",
|
||||
},
|
||||
name: "Products", id: "products"},
|
||||
{
|
||||
name: "Reviews",
|
||||
id: "testimonials",
|
||||
},
|
||||
name: "Reviews", id: "testimonials"},
|
||||
{
|
||||
name: "Contact", id: "/contact"},
|
||||
]}
|
||||
brandName="FreshMart"
|
||||
/>
|
||||
@@ -51,35 +45,22 @@ export default function LandingPage() {
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroBillboardGallery
|
||||
background={{
|
||||
variant: "gradient-bars",
|
||||
}}
|
||||
variant: "gradient-bars"}}
|
||||
title="Freshness Delivered to Your Door"
|
||||
description="Experience the crisp taste of nature with our hand-picked selection of local organic produce and daily essentials."
|
||||
mediaItems={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/organic-fruits-plastic-crate-local-farmers-market_23-2148209688.jpg?_wi=1",
|
||||
imageAlt: "Fresh produce",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/organic-fruits-plastic-crate-local-farmers-market_23-2148209688.jpg?_wi=1", imageAlt: "Fresh produce"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/organic-fruits-plastic-crate-local-farmers-market_23-2148209688.jpg?_wi=2",
|
||||
imageAlt: "Fresh produce 2",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/organic-fruits-plastic-crate-local-farmers-market_23-2148209688.jpg?_wi=2", imageAlt: "Fresh produce 2"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/organic-fruits-plastic-crate-local-farmers-market_23-2148209688.jpg?_wi=3",
|
||||
imageAlt: "Fresh produce 3",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/organic-fruits-plastic-crate-local-farmers-market_23-2148209688.jpg?_wi=3", imageAlt: "Fresh produce 3"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/organic-fruits-plastic-crate-local-farmers-market_23-2148209688.jpg?_wi=4",
|
||||
imageAlt: "Fresh produce 4",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/organic-fruits-plastic-crate-local-farmers-market_23-2148209688.jpg?_wi=4", imageAlt: "Fresh produce 4"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/organic-fruits-plastic-crate-local-farmers-market_23-2148209688.jpg?_wi=5",
|
||||
imageAlt: "Fresh produce 5",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/organic-fruits-plastic-crate-local-farmers-market_23-2148209688.jpg?_wi=5", imageAlt: "Fresh produce 5"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/organic-fruits-plastic-crate-local-farmers-market_23-2148209688.jpg?_wi=6",
|
||||
imageAlt: "Fresh produce 6",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/organic-fruits-plastic-crate-local-farmers-market_23-2148209688.jpg?_wi=6", imageAlt: "Fresh produce 6"},
|
||||
]}
|
||||
mediaAnimation="slide-up"
|
||||
/>
|
||||
@@ -93,17 +74,11 @@ export default function LandingPage() {
|
||||
description="We partner with local farms to bring you only the freshest, chemical-free ingredients. Your health is our priority."
|
||||
bulletPoints={[
|
||||
{
|
||||
title: "Local Sourcing",
|
||||
description: "Supporting local farmers and sustainable practices.",
|
||||
},
|
||||
title: "Local Sourcing", description: "Supporting local farmers and sustainable practices."},
|
||||
{
|
||||
title: "Fresh Guaranteed",
|
||||
description: "Picked at peak ripeness for maximum flavor.",
|
||||
},
|
||||
title: "Fresh Guaranteed", description: "Picked at peak ripeness for maximum flavor."},
|
||||
{
|
||||
title: "Secure Delivery",
|
||||
description: "Careful packaging for your groceries.",
|
||||
},
|
||||
title: "Secure Delivery", description: "Careful packaging for your groceries."},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/young-vendor-arranging-fresh-natural-products-farmers-market-stall-wearing-apron-preparing-local-stand-fresh-organic-fruits-veggies-outdoor-shop-selling-locally-grown-produce_482257-68701.jpg"
|
||||
imageAlt="Fresh market produce"
|
||||
@@ -119,33 +94,13 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Organic Red Apples",
|
||||
price: "$4.99/kg",
|
||||
variant: "Fresh",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/apples-with-drops-wicker-basket-light-wooden-grunge_176474-5559.jpg?_wi=1",
|
||||
},
|
||||
id: "1", name: "Organic Red Apples", price: "$4.99/kg", variant: "Fresh", imageSrc: "http://img.b2bpic.net/free-photo/apples-with-drops-wicker-basket-light-wooden-grunge_176474-5559.jpg?_wi=1"},
|
||||
{
|
||||
id: "2",
|
||||
name: "Fresh Broccoli",
|
||||
price: "$2.50/head",
|
||||
variant: "Green",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-two-bunches-broccoli-black-surface_176474-776.jpg",
|
||||
},
|
||||
id: "2", name: "Fresh Broccoli", price: "$2.50/head", variant: "Green", imageSrc: "http://img.b2bpic.net/free-photo/top-view-two-bunches-broccoli-black-surface_176474-776.jpg"},
|
||||
{
|
||||
id: "3",
|
||||
name: "Juicy Oranges",
|
||||
price: "$3.99/kg",
|
||||
variant: "Citrus",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/view-fresh-lemons-inside-outside-basket-newspaper-gray-background_140725-139358.jpg",
|
||||
},
|
||||
id: "3", name: "Juicy Oranges", price: "$3.99/kg", variant: "Citrus", imageSrc: "http://img.b2bpic.net/free-photo/view-fresh-lemons-inside-outside-basket-newspaper-gray-background_140725-139358.jpg"},
|
||||
{
|
||||
id: "4",
|
||||
name: "Organic Red Apples",
|
||||
price: "$4.99/kg",
|
||||
variant: "Fresh",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/apples-with-drops-wicker-basket-light-wooden-grunge_176474-5559.jpg?_wi=2",
|
||||
},
|
||||
id: "4", name: "Organic Red Apples", price: "$4.99/kg", variant: "Fresh", imageSrc: "http://img.b2bpic.net/free-photo/apples-with-drops-wicker-basket-light-wooden-grunge_176474-5559.jpg?_wi=2"},
|
||||
]}
|
||||
title="Explore Our Catalog"
|
||||
description="A curated selection of the best seasonal goods."
|
||||
@@ -159,37 +114,17 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Sarah J.",
|
||||
handle: "@sarahj",
|
||||
testimonial: "The best produce I've ever ordered online!",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/vertical-view-fresh-tomatoes-with-stem-mushrooms-broccoli-basket-white-background_140725-143863.jpg",
|
||||
},
|
||||
id: "1", name: "Sarah J.", handle: "@sarahj", testimonial: "The best produce I've ever ordered online!", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/vertical-view-fresh-tomatoes-with-stem-mushrooms-broccoli-basket-white-background_140725-143863.jpg"},
|
||||
{
|
||||
id: "2",
|
||||
name: "Michael B.",
|
||||
handle: "@mikeb",
|
||||
testimonial: "Freshness delivered, simple and quick.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-colorful-arrangement-vegetables-bag_23-2148643505.jpg",
|
||||
},
|
||||
id: "2", name: "Michael B.", handle: "@mikeb", testimonial: "Freshness delivered, simple and quick.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-colorful-arrangement-vegetables-bag_23-2148643505.jpg"},
|
||||
{
|
||||
id: "3",
|
||||
name: "Emma W.",
|
||||
handle: "@emmaw",
|
||||
testimonial: "Exceptional quality and great support.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-fruits-as-coconut-plum-apricot-peach-pear-basket-wooden-background-with-copy-space_141793-27903.jpg",
|
||||
},
|
||||
id: "3", name: "Emma W.", handle: "@emmaw", testimonial: "Exceptional quality and great support.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-fruits-as-coconut-plum-apricot-peach-pear-basket-wooden-background-with-copy-space_141793-27903.jpg"},
|
||||
{
|
||||
id: "4",
|
||||
name: "David L.",
|
||||
handle: "@davidl",
|
||||
testimonial: "My family loves the seasonal fruits.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/some-fresh-red-black-white-different-radishes-wooden-farmer-case-top-view_176474-1509.jpg",
|
||||
},
|
||||
id: "4", name: "David L.", handle: "@davidl", testimonial: "My family loves the seasonal fruits.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/some-fresh-red-black-white-different-radishes-wooden-farmer-case-top-view_176474-1509.jpg"},
|
||||
]}
|
||||
showRating={true}
|
||||
title="Customer Favorites"
|
||||
|
||||
58
src/app/shop/page.tsx
Normal file
58
src/app/shop/page.tsx
Normal file
@@ -0,0 +1,58 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
||||
import FooterCard from '@/components/sections/footer/FooterCard';
|
||||
import ProductCardOne from '@/components/sections/product/ProductCardOne';
|
||||
|
||||
export default function ShopPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="expand-hover"
|
||||
defaultTextAnimation="entrance-slide"
|
||||
borderRadius="pill"
|
||||
contentWidth="medium"
|
||||
sizing="mediumSizeLargeTitles"
|
||||
background="grid"
|
||||
cardStyle="soft-shadow"
|
||||
primaryButtonStyle="radial-glow"
|
||||
secondaryButtonStyle="solid"
|
||||
headingFontWeight="bold"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "/about" },
|
||||
{ name: "Shop", id: "/shop" },
|
||||
{ name: "Reviews", id: "/#testimonials" },
|
||||
]}
|
||||
brandName="FreshMart"
|
||||
/>
|
||||
|
||||
<div className="pt-32 pb-20">
|
||||
<ProductCardOne
|
||||
title="Our Full Shop"
|
||||
description="Browse all our available organic produce and farm-fresh essentials."
|
||||
gridVariant="four-items-2x2-equal-grid"
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{ id: "1", name: "Organic Apples", price: "$4.99", imageSrc: "http://img.b2bpic.net/free-photo/apples-with-drops-wicker-basket-light-wooden-grunge_176474-5559.jpg?_wi=1" },
|
||||
{ id: "2", name: "Organic Broccoli", price: "$2.50", imageSrc: "http://img.b2bpic.net/free-photo/top-view-two-bunches-broccoli-black-surface_176474-776.jpg" },
|
||||
{ id: "3", name: "Fresh Lemons", price: "$3.99", imageSrc: "http://img.b2bpic.net/free-photo/view-fresh-lemons-inside-outside-basket-newspaper-gray-background_140725-139358.jpg" },
|
||||
{ id: "4", name: "Organic Strawberries", price: "$5.99", imageSrc: "http://img.b2bpic.net/free-photo/fresh-strawberries-isolated-white-background_144627-21757.jpg" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<FooterCard
|
||||
logoText="FreshMart"
|
||||
copyrightText="© 2025 | FreshMart Grocery Shop"
|
||||
/>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user