Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fc69ce5b32 | |||
| 6be3d9e193 | |||
| 2ea31d4fa5 | |||
| 5818ef43d1 |
203
src/app/page.tsx
203
src/app/page.tsx
@@ -2,9 +2,9 @@
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import ContactText from '@/components/sections/contact/ContactText';
|
||||
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
||||
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
|
||||
import FooterBase from '@/components/sections/footer/FooterBase';
|
||||
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
|
||||
import HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery';
|
||||
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||
import ProductCardOne from '@/components/sections/product/ProductCardOne';
|
||||
@@ -29,21 +29,13 @@ export default function LandingPage() {
|
||||
<NavbarStyleCentered
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "hero",
|
||||
},
|
||||
name: "Home", id: "hero"},
|
||||
{
|
||||
name: "Products",
|
||||
id: "products",
|
||||
},
|
||||
name: "Products", id: "products"},
|
||||
{
|
||||
name: "Testimonials",
|
||||
id: "testimonials",
|
||||
},
|
||||
name: "Testimonials", id: "testimonials"},
|
||||
{
|
||||
name: "FAQ",
|
||||
id: "faq",
|
||||
},
|
||||
name: "FAQ", id: "faq"},
|
||||
]}
|
||||
brandName="Shopify Store"
|
||||
/>
|
||||
@@ -52,41 +44,26 @@ export default function LandingPage() {
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroBillboardGallery
|
||||
background={{
|
||||
variant: "sparkles-gradient",
|
||||
}}
|
||||
variant: "sparkles-gradient"}}
|
||||
title="Future of Tech Commerce"
|
||||
description="Discover our curated collection of high-end tech essentials. Built for those who demand excellence."
|
||||
buttons={[
|
||||
{
|
||||
text: "Shop Now",
|
||||
href: "#products",
|
||||
},
|
||||
text: "Shop Now", href: "#products"},
|
||||
]}
|
||||
mediaItems={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/halloween-fresh-bat-gingerbread_23-2147900582.jpg?_wi=1",
|
||||
imageAlt: "Store hero shot 1",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/halloween-fresh-bat-gingerbread_23-2147900582.jpg?_wi=1", imageAlt: "Store hero shot 1"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/three-black-ducks_23-2147680069.jpg?_wi=1",
|
||||
imageAlt: "Store hero shot 2",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/three-black-ducks_23-2147680069.jpg?_wi=1", imageAlt: "Store hero shot 2"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/abstract-fractal-geometric-figure-background-with-texture_1194-305381.jpg?_wi=1",
|
||||
imageAlt: "Store hero shot 3",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/abstract-fractal-geometric-figure-background-with-texture_1194-305381.jpg?_wi=1", imageAlt: "Store hero shot 3"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/halloween-fresh-bat-gingerbread_23-2147900582.jpg?_wi=2",
|
||||
imageAlt: "Store hero shot 4",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/halloween-fresh-bat-gingerbread_23-2147900582.jpg?_wi=2", imageAlt: "Store hero shot 4"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/three-black-ducks_23-2147680069.jpg?_wi=2",
|
||||
imageAlt: "Store hero shot 5",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/three-black-ducks_23-2147680069.jpg?_wi=2", imageAlt: "Store hero shot 5"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/abstract-fractal-geometric-figure-background-with-texture_1194-305381.jpg?_wi=2",
|
||||
imageAlt: "Store hero shot 6",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/abstract-fractal-geometric-figure-background-with-texture_1194-305381.jpg?_wi=2", imageAlt: "Store hero shot 6"},
|
||||
]}
|
||||
mediaAnimation="blur-reveal"
|
||||
/>
|
||||
@@ -100,41 +77,17 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
products={[
|
||||
{
|
||||
id: "p1",
|
||||
name: "Sonic Headset",
|
||||
price: "$199",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/black-cup-tea-with-headphones-red-background_185193-163975.jpg?_wi=1",
|
||||
},
|
||||
id: "p1", name: "Sonic Headset", price: "$199", imageSrc: "http://img.b2bpic.net/free-photo/black-cup-tea-with-headphones-red-background_185193-163975.jpg?_wi=1"},
|
||||
{
|
||||
id: "p2",
|
||||
name: "Smart Chrono",
|
||||
price: "$299",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/usb-flash-drive-tech-device-with-minimalist-monochrome-background-earphones_23-2150763321.jpg?_wi=1",
|
||||
},
|
||||
id: "p2", name: "Smart Chrono", price: "$299", imageSrc: "http://img.b2bpic.net/free-photo/usb-flash-drive-tech-device-with-minimalist-monochrome-background-earphones_23-2150763321.jpg?_wi=1"},
|
||||
{
|
||||
id: "p3",
|
||||
name: "Power Pad",
|
||||
price: "$79",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/mockup-mobile-phone-screen_53876-63379.jpg",
|
||||
},
|
||||
id: "p3", name: "Power Pad", price: "$79", imageSrc: "http://img.b2bpic.net/free-photo/mockup-mobile-phone-screen_53876-63379.jpg"},
|
||||
{
|
||||
id: "p4",
|
||||
name: "Crystal Speaker",
|
||||
price: "$149",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/modern-round-wireless-speaker-with-slick-design-shadow_23-2150808054.jpg",
|
||||
},
|
||||
id: "p4", name: "Crystal Speaker", price: "$149", imageSrc: "http://img.b2bpic.net/free-photo/modern-round-wireless-speaker-with-slick-design-shadow_23-2150808054.jpg"},
|
||||
{
|
||||
id: "p5",
|
||||
name: "Pro Keyboard",
|
||||
price: "$249",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/minimalist-computer-desk-setup-with-hard-drive_58702-17215.jpg",
|
||||
},
|
||||
id: "p5", name: "Pro Keyboard", price: "$249", imageSrc: "http://img.b2bpic.net/free-photo/minimalist-computer-desk-setup-with-hard-drive_58702-17215.jpg"},
|
||||
{
|
||||
id: "p6",
|
||||
name: "Ultra Bank",
|
||||
price: "$89",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-storage-device-laptop-assortment_23-2149319353.jpg",
|
||||
},
|
||||
id: "p6", name: "Ultra Bank", price: "$89", imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-storage-device-laptop-assortment_23-2149319353.jpg"},
|
||||
]}
|
||||
title="Our Featured Products"
|
||||
description="Premium tech accessories designed for modern life."
|
||||
@@ -147,60 +100,15 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
id: "t1",
|
||||
name: "Alex Riv",
|
||||
date: "Jan 2025",
|
||||
title: "Great products!",
|
||||
quote: "The build quality is exceptional, worth every penny.",
|
||||
tag: "Verified",
|
||||
avatarSrc: "http://img.b2bpic.net/free-photo/spotlight-portrait-golden-hour_23-2151915116.jpg",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/halloween-fresh-bat-gingerbread_23-2147900582.jpg?_wi=3",
|
||||
imageAlt: "minimalist store hero background dark",
|
||||
},
|
||||
id: "t1", name: "Alex Riv", date: "Jan 2025", title: "Great products!", quote: "The build quality is exceptional, worth every penny.", tag: "Verified", avatarSrc: "http://img.b2bpic.net/free-photo/spotlight-portrait-golden-hour_23-2151915116.jpg", imageSrc: "http://img.b2bpic.net/free-photo/halloween-fresh-bat-gingerbread_23-2147900582.jpg?_wi=3", imageAlt: "minimalist store hero background dark"},
|
||||
{
|
||||
id: "t2",
|
||||
name: "Jamie L.",
|
||||
date: "Dec 2024",
|
||||
title: "Very impressed",
|
||||
quote: "Fast shipping and fantastic customer service.",
|
||||
tag: "Verified",
|
||||
avatarSrc: "http://img.b2bpic.net/free-photo/portrait-young-female-dentist-dentistry-concept-dental-treatment_169016-66975.jpg",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/three-black-ducks_23-2147680069.jpg?_wi=3",
|
||||
imageAlt: "sleek product tech close up red",
|
||||
},
|
||||
id: "t2", name: "Jamie L.", date: "Dec 2024", title: "Very impressed", quote: "Fast shipping and fantastic customer service.", tag: "Verified", avatarSrc: "http://img.b2bpic.net/free-photo/portrait-young-female-dentist-dentistry-concept-dental-treatment_169016-66975.jpg", imageSrc: "http://img.b2bpic.net/free-photo/three-black-ducks_23-2147680069.jpg?_wi=3", imageAlt: "sleek product tech close up red"},
|
||||
{
|
||||
id: "t3",
|
||||
name: "Sam K.",
|
||||
date: "Nov 2024",
|
||||
title: "Highly recommended",
|
||||
quote: "Best tech gadgets I've bought in years.",
|
||||
tag: "Verified",
|
||||
avatarSrc: "http://img.b2bpic.net/free-photo/stylish-bearded-male-dressed-suit-sunglasses-dark-grey-background_613910-12505.jpg",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/abstract-fractal-geometric-figure-background-with-texture_1194-305381.jpg?_wi=3",
|
||||
imageAlt: "abstract tech dark background red lights",
|
||||
},
|
||||
id: "t3", name: "Sam K.", date: "Nov 2024", title: "Highly recommended", quote: "Best tech gadgets I've bought in years.", tag: "Verified", avatarSrc: "http://img.b2bpic.net/free-photo/stylish-bearded-male-dressed-suit-sunglasses-dark-grey-background_613910-12505.jpg", imageSrc: "http://img.b2bpic.net/free-photo/abstract-fractal-geometric-figure-background-with-texture_1194-305381.jpg?_wi=3", imageAlt: "abstract tech dark background red lights"},
|
||||
{
|
||||
id: "t4",
|
||||
name: "Morgan D.",
|
||||
date: "Oct 2024",
|
||||
title: "Top tier quality",
|
||||
quote: "Looks great on my desk, works perfectly.",
|
||||
tag: "Verified",
|
||||
avatarSrc: "http://img.b2bpic.net/free-photo/anxious-handsome-blonde-man-bites-lips-isolated-purple-wall_141793-66117.jpg",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/black-cup-tea-with-headphones-red-background_185193-163975.jpg?_wi=2",
|
||||
imageAlt: "modern wireless headphones dark studio",
|
||||
},
|
||||
id: "t4", name: "Morgan D.", date: "Oct 2024", title: "Top tier quality", quote: "Looks great on my desk, works perfectly.", tag: "Verified", avatarSrc: "http://img.b2bpic.net/free-photo/anxious-handsome-blonde-man-bites-lips-isolated-purple-wall_141793-66117.jpg", imageSrc: "http://img.b2bpic.net/free-photo/black-cup-tea-with-headphones-red-background_185193-163975.jpg?_wi=2", imageAlt: "modern wireless headphones dark studio"},
|
||||
{
|
||||
id: "t5",
|
||||
name: "Casey P.",
|
||||
date: "Sep 2024",
|
||||
title: "A perfect store",
|
||||
quote: "I am so happy with my new headphones.",
|
||||
tag: "Verified",
|
||||
avatarSrc: "http://img.b2bpic.net/free-photo/portrait-young-confident-businessman-wearing-glasses_158595-5353.jpg",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/usb-flash-drive-tech-device-with-minimalist-monochrome-background-earphones_23-2150763321.jpg?_wi=2",
|
||||
imageAlt: "smartwatch tech product studio shot",
|
||||
},
|
||||
id: "t5", name: "Casey P.", date: "Sep 2024", title: "A perfect store", quote: "I am so happy with my new headphones.", tag: "Verified", avatarSrc: "http://img.b2bpic.net/free-photo/portrait-young-confident-businessman-wearing-glasses_158595-5353.jpg", imageSrc: "http://img.b2bpic.net/free-photo/usb-flash-drive-tech-device-with-minimalist-monochrome-background-earphones_23-2150763321.jpg?_wi=2", imageAlt: "smartwatch tech product studio shot"},
|
||||
]}
|
||||
title="Client Stories"
|
||||
description="See why our customers love the quality."
|
||||
@@ -212,20 +120,11 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
faqs={[
|
||||
{
|
||||
id: "f1",
|
||||
title: "Shipping times?",
|
||||
content: "We ship globally in 3-5 business days.",
|
||||
},
|
||||
id: "f1", title: "Shipping times?", content: "We ship globally in 3-5 business days."},
|
||||
{
|
||||
id: "f2",
|
||||
title: "Returns?",
|
||||
content: "30-day money back guarantee.",
|
||||
},
|
||||
id: "f2", title: "Returns?", content: "30-day money back guarantee."},
|
||||
{
|
||||
id: "f3",
|
||||
title: "Warranty?",
|
||||
content: "1-year limited warranty on all products.",
|
||||
},
|
||||
id: "f3", title: "Warranty?", content: "1-year limited warranty on all products."},
|
||||
]}
|
||||
sideTitle="Questions?"
|
||||
sideDescription="Everything you need to know."
|
||||
@@ -234,48 +133,42 @@ export default function LandingPage() {
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactText
|
||||
useInvertedBackground={false}
|
||||
background={{
|
||||
variant: "gradient-bars",
|
||||
}}
|
||||
text="Ready to upgrade your gear?"
|
||||
buttons={[
|
||||
<ContactSplitForm
|
||||
title="Get in Touch"
|
||||
description="We would love to hear from you. Reach out for any questions."
|
||||
inputs={[
|
||||
{
|
||||
text: "Contact Support",
|
||||
href: "#",
|
||||
name: "name", type: "text", placeholder: "Name", required: true
|
||||
},
|
||||
{
|
||||
name: "email", type: "email", placeholder: "Email", required: true
|
||||
}
|
||||
]}
|
||||
textarea={{
|
||||
name: "message", placeholder: "How can we help?", rows: 4
|
||||
}}
|
||||
buttonText="Send Message"
|
||||
useInvertedBackground={true}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBase
|
||||
<FooterBaseCard
|
||||
columns={[
|
||||
{
|
||||
title: "Shop",
|
||||
items: [
|
||||
title: "Shop", items: [
|
||||
{
|
||||
label: "Products",
|
||||
href: "#products",
|
||||
},
|
||||
label: "Products", href: "#products"},
|
||||
{
|
||||
label: "Sale",
|
||||
href: "#",
|
||||
},
|
||||
label: "Sale", href: "#"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Company",
|
||||
items: [
|
||||
title: "Company", items: [
|
||||
{
|
||||
label: "About",
|
||||
href: "#",
|
||||
},
|
||||
label: "About", href: "#"},
|
||||
{
|
||||
label: "Contact",
|
||||
href: "#",
|
||||
},
|
||||
label: "Contact", href: "#"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
|
||||
@@ -10,15 +10,15 @@
|
||||
--accent: #ffffff;
|
||||
--background-accent: #ffffff; */
|
||||
|
||||
--background: #0a0a0a;
|
||||
--card: #1a1a1a;
|
||||
--foreground: #fff5f5e6;
|
||||
--primary-cta: #ff7a7a;
|
||||
--primary-cta-text: #0a0a0a;
|
||||
--secondary-cta: #1a1a1a;
|
||||
--secondary-cta-text: #fff5f5e6;
|
||||
--accent: #737373;
|
||||
--background-accent: #737373;
|
||||
--background: #fffefe;
|
||||
--card: #f6f7f4;
|
||||
--foreground: #080908;
|
||||
--primary-cta: #0e3a29;
|
||||
--primary-cta-text: #fffefe;
|
||||
--secondary-cta: #e7eecd;
|
||||
--secondary-cta-text: #080908;
|
||||
--accent: #35c18b;
|
||||
--background-accent: #ecebe4;
|
||||
|
||||
/* text sizing - set by ThemeProvider */
|
||||
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
||||
|
||||
Reference in New Issue
Block a user