Merge version_2 into main #1
275
src/app/page.tsx
275
src/app/page.tsx
@@ -32,21 +32,13 @@ export default function LandingPage() {
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "hero",
|
||||
},
|
||||
name: "Home", id: "hero"},
|
||||
{
|
||||
name: "Products",
|
||||
id: "products",
|
||||
},
|
||||
name: "Products", id: "products"},
|
||||
{
|
||||
name: "Features",
|
||||
id: "features",
|
||||
},
|
||||
name: "Features", id: "features"},
|
||||
{
|
||||
name: "Contact",
|
||||
id: "contact",
|
||||
},
|
||||
name: "Contact", id: "contact"},
|
||||
]}
|
||||
brandName="TechGadgets"
|
||||
/>
|
||||
@@ -55,71 +47,44 @@ export default function LandingPage() {
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroSplitKpi
|
||||
background={{
|
||||
variant: "plain",
|
||||
}}
|
||||
variant: "plain"}}
|
||||
title="Future of Technology at Your Fingertips"
|
||||
description="Discover our collection of high-performance gadgets designed for the modern lifestyle. Experience quality, innovation, and style in every device."
|
||||
kpis={[
|
||||
{
|
||||
value: "100+",
|
||||
label: "Gadgets Available",
|
||||
},
|
||||
value: "100+", label: "Gadgets Available"},
|
||||
{
|
||||
value: "50k+",
|
||||
label: "Happy Users",
|
||||
},
|
||||
value: "50k+", label: "Happy Users"},
|
||||
{
|
||||
value: "4.9/5",
|
||||
label: "Customer Rating",
|
||||
},
|
||||
value: "4.9/5", label: "Customer Rating"},
|
||||
]}
|
||||
enableKpiAnimation={true}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/modern-stationary-collection-arrangement_23-2149309689.jpg"
|
||||
mediaAnimation="slide-up"
|
||||
avatars={[
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/african-american-person-texting-messages-smartphone-app-sofa-finishing-tasks-before_482257-132374.jpg",
|
||||
alt: "Satisfied customer 1",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/african-american-person-texting-messages-smartphone-app-sofa-finishing-tasks-before_482257-132374.jpg", alt: "Satisfied customer 1"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/portrait-african-american-person-smiling-working-his-living-room_482257-126267.jpg",
|
||||
alt: "Satisfied customer 2",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/portrait-african-american-person-smiling-working-his-living-room_482257-126267.jpg", alt: "Satisfied customer 2"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/man-sitting-using-his-phone-outside_23-2148283865.jpg",
|
||||
alt: "Satisfied customer 3",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/man-sitting-using-his-phone-outside_23-2148283865.jpg", alt: "Satisfied customer 3"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/people-urban-lifestyle-concept-stylish-curly-haired-woman-walks-outdoors-with-digital-tablet-takeaway-coffee-focused-aside-wears-sunglasses-jacket-stands-against-modern-glass-building_273609-62234.jpg",
|
||||
alt: "Satisfied customer 4",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/people-urban-lifestyle-concept-stylish-curly-haired-woman-walks-outdoors-with-digital-tablet-takeaway-coffee-focused-aside-wears-sunglasses-jacket-stands-against-modern-glass-building_273609-62234.jpg", alt: "Satisfied customer 4"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-with-tablet_23-2149442286.jpg",
|
||||
alt: "Satisfied customer 5",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-with-tablet_23-2149442286.jpg", alt: "Satisfied customer 5"},
|
||||
]}
|
||||
avatarText="Trusted by 50,000+ tech enthusiasts"
|
||||
marqueeItems={[
|
||||
{
|
||||
type: "text",
|
||||
text: "Next-Gen Audio",
|
||||
},
|
||||
type: "text", text: "Next-Gen Audio"},
|
||||
{
|
||||
type: "text",
|
||||
text: "Smart Wearables",
|
||||
},
|
||||
type: "text", text: "Smart Wearables"},
|
||||
{
|
||||
type: "text",
|
||||
text: "Wireless Charging",
|
||||
},
|
||||
type: "text", text: "Wireless Charging"},
|
||||
{
|
||||
type: "text",
|
||||
text: "Performance Laptops",
|
||||
},
|
||||
type: "text", text: "Performance Laptops"},
|
||||
{
|
||||
type: "text",
|
||||
text: "Pro Gaming Gear",
|
||||
},
|
||||
type: "text", text: "Pro Gaming Gear"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -129,9 +94,7 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
title="Innovating the Everyday"
|
||||
description={[
|
||||
"At TechGadgets, we believe in bringing the future to you today. We curate the latest in personal electronics and digital accessories.",
|
||||
"Our team rigorously tests every product to ensure quality, durability, and a premium user experience.",
|
||||
]}
|
||||
"At TechGadgets, we believe in bringing the future to you today. We curate the latest in personal electronics and digital accessories.", "Our team rigorously tests every product to ensure quality, durability, and a premium user experience."]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -142,45 +105,25 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
id: "f1",
|
||||
title: "Premium Sound",
|
||||
tags: [
|
||||
"Audio",
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/gamer-wearing-headphones-talking-with-friends-online-multiplayer-shooter_482257-116216.jpg",
|
||||
},
|
||||
id: "f1", title: "Premium Sound", tags: [
|
||||
"Audio"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/gamer-wearing-headphones-talking-with-friends-online-multiplayer-shooter_482257-116216.jpg"},
|
||||
{
|
||||
id: "f2",
|
||||
title: "Smart Tracking",
|
||||
tags: [
|
||||
"Wearables",
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/sporty-woman-with-smartwatch-beach_23-2147803052.jpg",
|
||||
},
|
||||
id: "f2", title: "Smart Tracking", tags: [
|
||||
"Wearables"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/sporty-woman-with-smartwatch-beach_23-2147803052.jpg"},
|
||||
{
|
||||
id: "f3",
|
||||
title: "Wireless Power",
|
||||
tags: [
|
||||
"Accessories",
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-shot-blue-cellphone-headphones-laptop-origami-wooden-surface_181624-60489.jpg",
|
||||
},
|
||||
id: "f3", title: "Wireless Power", tags: [
|
||||
"Accessories"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-shot-blue-cellphone-headphones-laptop-origami-wooden-surface_181624-60489.jpg"},
|
||||
{
|
||||
id: "f4",
|
||||
title: "Precision Design",
|
||||
tags: [
|
||||
"Hardware",
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/desk-arrangement-with-ssd-laptop-view_23-2149328278.jpg",
|
||||
},
|
||||
id: "f4", title: "Precision Design", tags: [
|
||||
"Hardware"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/desk-arrangement-with-ssd-laptop-view_23-2149328278.jpg"},
|
||||
{
|
||||
id: "f5",
|
||||
title: "AI Integration",
|
||||
tags: [
|
||||
"Smart",
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/innovative-smartphone-charger-advanced-technology-concept_53876-30409.jpg",
|
||||
},
|
||||
id: "f5", title: "AI Integration", tags: [
|
||||
"Smart"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/innovative-smartphone-charger-advanced-technology-concept_53876-30409.jpg"},
|
||||
]}
|
||||
title="Engineered for Excellence"
|
||||
description="Explore the unique features that make our tech gadgets stand out."
|
||||
@@ -190,52 +133,25 @@ export default function LandingPage() {
|
||||
<div id="products" data-section="products">
|
||||
<ProductCardFour
|
||||
animationType="slide-up"
|
||||
textboxLayout="split"
|
||||
textboxLayout="split-actions"
|
||||
gridVariant="four-items-2x2-equal-grid"
|
||||
useInvertedBackground={false}
|
||||
buttons={[
|
||||
{ text: "Add to Cart" }
|
||||
]}
|
||||
products={[
|
||||
{
|
||||
id: "p1",
|
||||
name: "Flagship Smartphone",
|
||||
price: "$899",
|
||||
variant: "Black",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/mockup-mobile-phone-screen_53876-63379.jpg",
|
||||
},
|
||||
id: "p1", name: "Flagship Smartphone", price: "$899", variant: "Black", imageSrc: "http://img.b2bpic.net/free-photo/mockup-mobile-phone-screen_53876-63379.jpg"},
|
||||
{
|
||||
id: "p2",
|
||||
name: "Pro Wireless Buds",
|
||||
price: "$199",
|
||||
variant: "White",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/wireless-earbuds-with-neon-cyberpunk-style-lighting_23-2151074258.jpg",
|
||||
},
|
||||
id: "p2", name: "Pro Wireless Buds", price: "$199", variant: "White", imageSrc: "http://img.b2bpic.net/free-photo/wireless-earbuds-with-neon-cyberpunk-style-lighting_23-2151074258.jpg"},
|
||||
{
|
||||
id: "p3",
|
||||
name: "RGB Gaming Mouse",
|
||||
price: "$79",
|
||||
variant: "Midnight",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-crocodile-neon-light_23-2151835026.jpg",
|
||||
},
|
||||
id: "p3", name: "RGB Gaming Mouse", price: "$79", variant: "Midnight", imageSrc: "http://img.b2bpic.net/free-photo/close-up-crocodile-neon-light_23-2151835026.jpg"},
|
||||
{
|
||||
id: "p4",
|
||||
name: "High Perf Laptop",
|
||||
price: "$1299",
|
||||
variant: "Silver",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/laptop-notepad-composition-desk_23-2147982556.jpg",
|
||||
},
|
||||
id: "p4", name: "High Perf Laptop", price: "$1299", variant: "Silver", imageSrc: "http://img.b2bpic.net/free-photo/laptop-notepad-composition-desk_23-2147982556.jpg"},
|
||||
{
|
||||
id: "p5",
|
||||
name: "Tablet Pro 12",
|
||||
price: "$699",
|
||||
variant: "Slate",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/notepad-with-pen-near-tablet_23-2147823729.jpg",
|
||||
},
|
||||
id: "p5", name: "Tablet Pro 12", price: "$699", variant: "Slate", imageSrc: "http://img.b2bpic.net/free-photo/notepad-with-pen-near-tablet_23-2147823729.jpg"},
|
||||
{
|
||||
id: "p6",
|
||||
name: "4K Action Cam",
|
||||
price: "$349",
|
||||
variant: "Obsidian",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/closeup-retro-camera-luggage-with-traveler-man-sitting-sofa-background-young-man-has-packed-his-luggage-is-ready-go-travel-holiday-vacation-concept_1150-61737.jpg",
|
||||
},
|
||||
id: "p6", name: "4K Action Cam", price: "$349", variant: "Obsidian", imageSrc: "http://img.b2bpic.net/free-photo/closeup-retro-camera-luggage-with-traveler-man-sitting-sofa-background-young-man-has-packed-his-luggage-is-ready-go-travel-holiday-vacation-concept_1150-61737.jpg"},
|
||||
]}
|
||||
title="Top Tech Picks"
|
||||
description="Browse our hand-picked selection of top-rated tech gadgets."
|
||||
@@ -250,20 +166,11 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
metrics={[
|
||||
{
|
||||
id: "m1",
|
||||
value: "10k+",
|
||||
description: "Global Shipments",
|
||||
},
|
||||
id: "m1", value: "10k+", description: "Global Shipments"},
|
||||
{
|
||||
id: "m2",
|
||||
value: "200+",
|
||||
description: "Expert Partners",
|
||||
},
|
||||
id: "m2", value: "200+", description: "Expert Partners"},
|
||||
{
|
||||
id: "m3",
|
||||
value: "5",
|
||||
description: "Years of Innovation",
|
||||
},
|
||||
id: "m3", value: "5", description: "Years of Innovation"},
|
||||
]}
|
||||
title="Global Impact"
|
||||
description="We are proud to serve tech enthusiasts across the globe."
|
||||
@@ -277,40 +184,15 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
id: "t1",
|
||||
name: "Alex R.",
|
||||
role: "Tech Enthusiast",
|
||||
testimonial: "Best gadgets I've ever owned. Fast delivery and premium quality.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-man-using-laptop-coffee-shop_1170-2334.jpg",
|
||||
},
|
||||
id: "t1", name: "Alex R.", role: "Tech Enthusiast", testimonial: "Best gadgets I've ever owned. Fast delivery and premium quality.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-man-using-laptop-coffee-shop_1170-2334.jpg"},
|
||||
{
|
||||
id: "t2",
|
||||
name: "Sarah P.",
|
||||
role: "Creative",
|
||||
testimonial: "The headphones sound incredible. A truly modern store.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/low-angle-man-using-tablet_23-2148468686.jpg",
|
||||
},
|
||||
id: "t2", name: "Sarah P.", role: "Creative", testimonial: "The headphones sound incredible. A truly modern store.", imageSrc: "http://img.b2bpic.net/free-photo/low-angle-man-using-tablet_23-2148468686.jpg"},
|
||||
{
|
||||
id: "t3",
|
||||
name: "David M.",
|
||||
role: "Developer",
|
||||
testimonial: "Excellent service and top-notch hardware.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/elderly-woman-checking-website-stock-find-items-store-mall_482257-88626.jpg",
|
||||
},
|
||||
id: "t3", name: "David M.", role: "Developer", testimonial: "Excellent service and top-notch hardware.", imageSrc: "http://img.b2bpic.net/free-photo/elderly-woman-checking-website-stock-find-items-store-mall_482257-88626.jpg"},
|
||||
{
|
||||
id: "t4",
|
||||
name: "Elena K.",
|
||||
role: "Designer",
|
||||
testimonial: "The smart features are game changers for my work.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/middle-age-greyhaired-woman-streamer-playing-video-game-using-computer-gaming-room_839833-20313.jpg",
|
||||
},
|
||||
id: "t4", name: "Elena K.", role: "Designer", testimonial: "The smart features are game changers for my work.", imageSrc: "http://img.b2bpic.net/free-photo/middle-age-greyhaired-woman-streamer-playing-video-game-using-computer-gaming-room_839833-20313.jpg"},
|
||||
{
|
||||
id: "t5",
|
||||
name: "Marcus J.",
|
||||
role: "Gamer",
|
||||
testimonial: "The RGB peripherals have completely transformed my desk setup.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/closeup-man-with-gaming-headset-playing-multiplayer-online-action-game-streaming-gameplay-professional-pc-setup-gamer-looking-computer-screen-while-talking-team-members-tournament_482257-49310.jpg",
|
||||
},
|
||||
id: "t5", name: "Marcus J.", role: "Gamer", testimonial: "The RGB peripherals have completely transformed my desk setup.", imageSrc: "http://img.b2bpic.net/free-photo/closeup-man-with-gaming-headset-playing-multiplayer-online-action-game-streaming-gameplay-professional-pc-setup-gamer-looking-computer-screen-while-talking-team-members-tournament_482257-49310.jpg"},
|
||||
]}
|
||||
title="Community Voices"
|
||||
description="Hear what our amazing customers have to say about their experience."
|
||||
@@ -323,20 +205,11 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
faqs={[
|
||||
{
|
||||
id: "q1",
|
||||
title: "What is the return policy?",
|
||||
content: "You can return items within 30 days of purchase in original packaging.",
|
||||
},
|
||||
id: "q1", title: "What is the return policy?", content: "You can return items within 30 days of purchase in original packaging."},
|
||||
{
|
||||
id: "q2",
|
||||
title: "Do you offer international shipping?",
|
||||
content: "Yes, we ship globally to over 50 countries.",
|
||||
},
|
||||
id: "q2", title: "Do you offer international shipping?", content: "Yes, we ship globally to over 50 countries."},
|
||||
{
|
||||
id: "q3",
|
||||
title: "How long is the warranty?",
|
||||
content: "Most gadgets include a 1-year manufacturer warranty.",
|
||||
},
|
||||
id: "q3", title: "How long is the warranty?", content: "Most gadgets include a 1-year manufacturer warranty."},
|
||||
]}
|
||||
title="Common Inquiries"
|
||||
description="Find answers to frequently asked questions about our products."
|
||||
@@ -351,22 +224,14 @@ export default function LandingPage() {
|
||||
description="Have questions? Our support team is ready to assist you."
|
||||
inputs={[
|
||||
{
|
||||
name: "name",
|
||||
type: "text",
|
||||
placeholder: "Your Name",
|
||||
required: true,
|
||||
name: "name", type: "text", placeholder: "Your Name", required: true,
|
||||
},
|
||||
{
|
||||
name: "email",
|
||||
type: "email",
|
||||
placeholder: "Your Email",
|
||||
required: true,
|
||||
name: "email", type: "email", placeholder: "Your Email", required: true,
|
||||
},
|
||||
]}
|
||||
textarea={{
|
||||
name: "message",
|
||||
placeholder: "Your Message",
|
||||
rows: 4,
|
||||
name: "message", placeholder: "Your Message", rows: 4,
|
||||
required: true,
|
||||
}}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/light-blue-3d-abstract-wave-pattern_53876-95188.jpg"
|
||||
@@ -377,29 +242,19 @@ export default function LandingPage() {
|
||||
<FooterBase
|
||||
columns={[
|
||||
{
|
||||
title: "Shop",
|
||||
items: [
|
||||
title: "Shop", items: [
|
||||
{
|
||||
label: "Gadgets",
|
||||
href: "#products",
|
||||
},
|
||||
label: "Gadgets", href: "#products"},
|
||||
{
|
||||
label: "About",
|
||||
href: "#about",
|
||||
},
|
||||
label: "About", href: "#about"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Support",
|
||||
items: [
|
||||
title: "Support", items: [
|
||||
{
|
||||
label: "FAQ",
|
||||
href: "#faq",
|
||||
},
|
||||
label: "FAQ", href: "#faq"},
|
||||
{
|
||||
label: "Contact",
|
||||
href: "#contact",
|
||||
},
|
||||
label: "Contact", href: "#contact"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
@@ -409,4 +264,4 @@ export default function LandingPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user