182 lines
9.2 KiB
TypeScript
182 lines
9.2 KiB
TypeScript
"use client";
|
|
|
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
|
import ReactLenis from "lenis/react";
|
|
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
|
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
|
|
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';
|
|
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
|
|
|
|
export default function LandingPage() {
|
|
return (
|
|
<ThemeProvider
|
|
defaultButtonVariant="icon-arrow"
|
|
defaultTextAnimation="background-highlight"
|
|
borderRadius="rounded"
|
|
contentWidth="small"
|
|
sizing="largeSmallSizeLargeTitles"
|
|
background="blurBottom"
|
|
cardStyle="subtle-shadow"
|
|
primaryButtonStyle="flat"
|
|
secondaryButtonStyle="radial-glow"
|
|
headingFontWeight="light"
|
|
>
|
|
<ReactLenis root>
|
|
<div id="nav" data-section="nav">
|
|
<NavbarStyleCentered
|
|
navItems={[
|
|
{
|
|
name: "Home", id: "hero"},
|
|
{
|
|
name: "Products", id: "products"},
|
|
{
|
|
name: "Testimonials", id: "testimonials"},
|
|
{
|
|
name: "FAQ", id: "faq"},
|
|
]}
|
|
brandName="Shopify Store"
|
|
/>
|
|
</div>
|
|
|
|
<div id="hero" data-section="hero">
|
|
<HeroBillboardGallery
|
|
background={{
|
|
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"},
|
|
]}
|
|
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/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/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/abstract-fractal-geometric-figure-background-with-texture_1194-305381.jpg?_wi=2", imageAlt: "Store hero shot 6"},
|
|
]}
|
|
mediaAnimation="blur-reveal"
|
|
/>
|
|
</div>
|
|
|
|
<div id="products" data-section="products">
|
|
<ProductCardOne
|
|
animationType="slide-up"
|
|
textboxLayout="split-actions"
|
|
gridVariant="three-columns-all-equal-width"
|
|
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: "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: "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: "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."
|
|
/>
|
|
</div>
|
|
|
|
<div id="testimonials" data-section="testimonials">
|
|
<TestimonialCardFive
|
|
textboxLayout="split-description"
|
|
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: "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: "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"},
|
|
]}
|
|
title="Client Stories"
|
|
description="See why our customers love the quality."
|
|
/>
|
|
</div>
|
|
|
|
<div id="faq" data-section="faq">
|
|
<FaqSplitText
|
|
useInvertedBackground={true}
|
|
faqs={[
|
|
{
|
|
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: "f3", title: "Warranty?", content: "1-year limited warranty on all products."},
|
|
]}
|
|
sideTitle="Questions?"
|
|
sideDescription="Everything you need to know."
|
|
faqsAnimation="slide-up"
|
|
/>
|
|
</div>
|
|
|
|
<div id="contact" data-section="contact">
|
|
<ContactSplitForm
|
|
title="Get in Touch"
|
|
description="We would love to hear from you. Reach out for any questions."
|
|
inputs={[
|
|
{
|
|
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">
|
|
<FooterBaseCard
|
|
columns={[
|
|
{
|
|
title: "Shop", items: [
|
|
{
|
|
label: "Products", href: "#products"},
|
|
{
|
|
label: "Sale", href: "#"},
|
|
],
|
|
},
|
|
{
|
|
title: "Company", items: [
|
|
{
|
|
label: "About", href: "#"},
|
|
{
|
|
label: "Contact", href: "#"},
|
|
],
|
|
},
|
|
]}
|
|
logoText="Shopify Store"
|
|
/>
|
|
</div>
|
|
</ReactLenis>
|
|
</ThemeProvider>
|
|
);
|
|
}
|