Update src/app/page.tsx
This commit is contained in:
278
src/app/page.tsx
278
src/app/page.tsx
@@ -35,9 +35,7 @@ export default function HomePage() {
|
||||
{ name: "Contact", id: "contact" },
|
||||
]}
|
||||
button={{
|
||||
text: "Explore Products",
|
||||
href: "/browse",
|
||||
}}
|
||||
text: "Explore Products", href: "/browse"}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -48,17 +46,13 @@ export default function HomePage() {
|
||||
tag="Welcome to ProdFound"
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "plain" }}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/selfcare-products-still-life_23-2149249572.jpg?_wi=1"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/selfcare-products-still-life_23-2149249572.jpg"
|
||||
imageAlt="Featured innovative products display"
|
||||
buttons={[
|
||||
{
|
||||
text: "Explore Products",
|
||||
href: "/browse",
|
||||
},
|
||||
text: "Explore Products", href: "/browse"},
|
||||
{
|
||||
text: "Learn More",
|
||||
href: "#",
|
||||
},
|
||||
text: "Learn More", href: "#"},
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
/>
|
||||
@@ -70,47 +64,24 @@ export default function HomePage() {
|
||||
description="Handpicked selection of innovative products trending this month"
|
||||
tag="Popular Picks"
|
||||
tagAnimation="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
products={[
|
||||
{
|
||||
id: "1",
|
||||
brand: "TechFlow",
|
||||
name: "SmartFlow Pro Wireless Earbuds",
|
||||
price: "$129.99",
|
||||
rating: 5,
|
||||
reviewCount: "2.3k",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/wireless-earbuds-with-neon-cyberpunk-style-lighting_23-2151074264.jpg?_wi=1",
|
||||
imageAlt: "SmartFlow Pro wireless earbuds",
|
||||
},
|
||||
id: "1", brand: "TechFlow", name: "SmartFlow Pro Wireless Earbuds", price: "$129.99", rating: 5,
|
||||
reviewCount: "2.3k", imageSrc: "http://img.b2bpic.net/free-photo/wireless-earbuds-with-neon-cyberpunk-style-lighting_23-2151074264.jpg", imageAlt: "SmartFlow Pro wireless earbuds"},
|
||||
{
|
||||
id: "2",
|
||||
brand: "LifeStyle Co",
|
||||
name: "Minimal Design Desk Organizer",
|
||||
price: "$49.99",
|
||||
rating: 4,
|
||||
reviewCount: "1.8k",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/labels-plants-florist-shop_53876-134342.jpg?_wi=1",
|
||||
imageAlt: "Minimalist desk organizer set",
|
||||
},
|
||||
id: "2", brand: "LifeStyle Co", name: "Minimal Design Desk Organizer", price: "$49.99", rating: 4,
|
||||
reviewCount: "1.8k", imageSrc: "http://img.b2bpic.net/free-photo/labels-plants-florist-shop_53876-134342.jpg", imageAlt: "Minimalist desk organizer set"},
|
||||
{
|
||||
id: "3",
|
||||
brand: "Productivity Lab",
|
||||
name: "Digital Task Manager Tablet",
|
||||
price: "$299.99",
|
||||
rating: 5,
|
||||
reviewCount: "3.1k",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/tablet-near-healthy-food_23-2147750796.jpg?_wi=1",
|
||||
imageAlt: "Digital task manager tablet device",
|
||||
},
|
||||
id: "3", brand: "Productivity Lab", name: "Digital Task Manager Tablet", price: "$299.99", rating: 5,
|
||||
reviewCount: "3.1k", imageSrc: "http://img.b2bpic.net/free-photo/tablet-near-healthy-food_23-2147750796.jpg", imageAlt: "Digital task manager tablet device"},
|
||||
]}
|
||||
buttons={[
|
||||
{
|
||||
text: "View All Featured",
|
||||
href: "/browse",
|
||||
},
|
||||
text: "View All Featured", href: "/browse"},
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
/>
|
||||
@@ -122,39 +93,24 @@ export default function HomePage() {
|
||||
description="Explore our curated collections across different product categories"
|
||||
tag="Categories"
|
||||
tagAnimation="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/crowd-people-with-phones_53876-20883.jpg?_wi=1"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/crowd-people-with-phones_53876-20883.jpg"
|
||||
imageAlt="Product category showcase"
|
||||
mediaAnimation="slide-up"
|
||||
mediaPosition="right"
|
||||
accordionItems={[
|
||||
{
|
||||
id: "tech",
|
||||
title: "Tech & Gadgets",
|
||||
content: "Latest innovative technology, smart devices, and cutting-edge gadgets from leading brands worldwide.",
|
||||
},
|
||||
id: "tech", title: "Tech & Gadgets", content: "Latest innovative technology, smart devices, and cutting-edge gadgets from leading brands worldwide."},
|
||||
{
|
||||
id: "lifestyle",
|
||||
title: "Lifestyle & Home",
|
||||
content: "Transform your space with premium home decor, furniture, and lifestyle products that blend style with functionality.",
|
||||
},
|
||||
id: "lifestyle", title: "Lifestyle & Home", content: "Transform your space with premium home decor, furniture, and lifestyle products that blend style with functionality."},
|
||||
{
|
||||
id: "productivity",
|
||||
title: "Productivity Tools",
|
||||
content: "Enhance your workflow with carefully selected productivity tools, organizers, and workspace essentials.",
|
||||
},
|
||||
id: "productivity", title: "Productivity Tools", content: "Enhance your workflow with carefully selected productivity tools, organizers, and workspace essentials."},
|
||||
{
|
||||
id: "wellness",
|
||||
title: "Wellness & Self-Care",
|
||||
content: "Discover products designed to improve your wellbeing, health, and daily self-care routines.",
|
||||
},
|
||||
id: "wellness", title: "Wellness & Self-Care", content: "Discover products designed to improve your wellbeing, health, and daily self-care routines."},
|
||||
]}
|
||||
buttons={[
|
||||
{
|
||||
text: "Explore All Categories",
|
||||
href: "/browse",
|
||||
},
|
||||
text: "Explore All Categories", href: "/browse"},
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
/>
|
||||
@@ -166,57 +122,27 @@ export default function HomePage() {
|
||||
description="What everyone is discovering and buying right now"
|
||||
tag="Hot Products"
|
||||
tagAnimation="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
gridVariant="four-items-2x2-equal-grid"
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
products={[
|
||||
{
|
||||
id: "4",
|
||||
brand: "EcoHome",
|
||||
name: "Sustainable Bamboo Storage Set",
|
||||
price: "$79.99",
|
||||
rating: 5,
|
||||
reviewCount: "892",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/mediterranean-aesthetics-bag-still-life_23-2151141453.jpg?_wi=1",
|
||||
imageAlt: "Eco-friendly bamboo storage containers",
|
||||
},
|
||||
id: "4", brand: "EcoHome", name: "Sustainable Bamboo Storage Set", price: "$79.99", rating: 5,
|
||||
reviewCount: "892", imageSrc: "http://img.b2bpic.net/free-photo/mediterranean-aesthetics-bag-still-life_23-2151141453.jpg", imageAlt: "Eco-friendly bamboo storage containers"},
|
||||
{
|
||||
id: "5",
|
||||
brand: "FitNow",
|
||||
name: "Portable Smart Fitness Watch",
|
||||
price: "$199.99",
|
||||
rating: 4,
|
||||
reviewCount: "1.5k",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/women-wear-wristbands-exercise-stand-against-wall_1150-16546.jpg?_wi=1",
|
||||
imageAlt: "Smart fitness tracking watch",
|
||||
},
|
||||
id: "5", brand: "FitNow", name: "Portable Smart Fitness Watch", price: "$199.99", rating: 4,
|
||||
reviewCount: "1.5k", imageSrc: "http://img.b2bpic.net/free-photo/women-wear-wristbands-exercise-stand-against-wall_1150-16546.jpg", imageAlt: "Smart fitness tracking watch"},
|
||||
{
|
||||
id: "6",
|
||||
brand: "LightWorks",
|
||||
name: "Adjustable LED Desk Lamp",
|
||||
price: "$89.99",
|
||||
rating: 5,
|
||||
reviewCount: "743",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/desk-arrangement-with-lamp-plants_23-2148745749.jpg?_wi=1",
|
||||
imageAlt: "Modern adjustable LED desk lamp",
|
||||
},
|
||||
id: "6", brand: "LightWorks", name: "Adjustable LED Desk Lamp", price: "$89.99", rating: 5,
|
||||
reviewCount: "743", imageSrc: "http://img.b2bpic.net/free-photo/desk-arrangement-with-lamp-plants_23-2148745749.jpg", imageAlt: "Modern adjustable LED desk lamp"},
|
||||
{
|
||||
id: "7",
|
||||
brand: "VoiceHub",
|
||||
name: "Smart Home Voice Assistant",
|
||||
price: "$149.99",
|
||||
rating: 4,
|
||||
reviewCount: "2.1k",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-using-speaker-digital-assistant_23-2149108001.jpg?_wi=1",
|
||||
imageAlt: "Smart home voice assistant device",
|
||||
},
|
||||
id: "7", brand: "VoiceHub", name: "Smart Home Voice Assistant", price: "$149.99", rating: 4,
|
||||
reviewCount: "2.1k", imageSrc: "http://img.b2bpic.net/free-photo/woman-using-speaker-digital-assistant_23-2149108001.jpg", imageAlt: "Smart home voice assistant device"},
|
||||
]}
|
||||
buttons={[
|
||||
{
|
||||
text: "Discover More Trending",
|
||||
href: "/browse",
|
||||
},
|
||||
text: "Discover More Trending", href: "/browse"},
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
/>
|
||||
@@ -234,65 +160,27 @@ export default function HomePage() {
|
||||
animationType="slide-up"
|
||||
testimonials={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Sarah Chen",
|
||||
role: "Product Designer",
|
||||
company: "Tech Startup",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-businesswoman-portrait-office_1262-1506.jpg?_wi=1",
|
||||
imageAlt: "Sarah Chen profile photo",
|
||||
},
|
||||
id: "1", name: "Sarah Chen", role: "Product Designer", company: "Tech Startup", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-businesswoman-portrait-office_1262-1506.jpg", imageAlt: "Sarah Chen profile photo"},
|
||||
{
|
||||
id: "2",
|
||||
name: "Marcus Johnson",
|
||||
role: "Entrepreneur",
|
||||
company: "Small Business Owner",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/successful-male-manager-leaning-railings_1262-3653.jpg?_wi=1",
|
||||
imageAlt: "Marcus Johnson profile photo",
|
||||
},
|
||||
id: "2", name: "Marcus Johnson", role: "Entrepreneur", company: "Small Business Owner", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/successful-male-manager-leaning-railings_1262-3653.jpg", imageAlt: "Marcus Johnson profile photo"},
|
||||
{
|
||||
id: "3",
|
||||
name: "Emma Rodriguez",
|
||||
role: "Creative Director",
|
||||
company: "Design Agency",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smart-brunette-glasses-street-with-interesting-architecture-background_613910-14022.jpg?_wi=1",
|
||||
imageAlt: "Emma Rodriguez profile photo",
|
||||
},
|
||||
id: "3", name: "Emma Rodriguez", role: "Creative Director", company: "Design Agency", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smart-brunette-glasses-street-with-interesting-architecture-background_613910-14022.jpg", imageAlt: "Emma Rodriguez profile photo"},
|
||||
{
|
||||
id: "4",
|
||||
name: "David Kim",
|
||||
role: "Home Enthusiast",
|
||||
company: "Interior Design",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/people-business-style-luxury-concept-picture-successful-young-european-bearded-man-wearing-expensive-wrist-watch-elegant-suit-relaxing-modern-luxurious-living-room-couch_343059-1777.jpg",
|
||||
imageAlt: "David Kim profile photo",
|
||||
},
|
||||
id: "4", name: "David Kim", role: "Home Enthusiast", company: "Interior Design", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/people-business-style-luxury-concept-picture-successful-young-european-bearded-man-wearing-expensive-wrist-watch-elegant-suit-relaxing-modern-luxurious-living-room-couch_343059-1777.jpg", imageAlt: "David Kim profile photo"},
|
||||
{
|
||||
id: "5",
|
||||
name: "Lisa Anderson",
|
||||
role: "Lifestyle Blogger",
|
||||
company: "Digital Creator",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-artist-portrait_23-2149445986.jpg",
|
||||
imageAlt: "Lisa Anderson profile photo",
|
||||
},
|
||||
id: "5", name: "Lisa Anderson", role: "Lifestyle Blogger", company: "Digital Creator", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-artist-portrait_23-2149445986.jpg", imageAlt: "Lisa Anderson profile photo"},
|
||||
{
|
||||
id: "6",
|
||||
name: "James Wilson",
|
||||
role: "Tech Enthusiast",
|
||||
company: "Freelancer",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-business-executive-using-mobile-phone_1170-1116.jpg",
|
||||
imageAlt: "James Wilson profile photo",
|
||||
},
|
||||
id: "6", name: "James Wilson", role: "Tech Enthusiast", company: "Freelancer", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-business-executive-using-mobile-phone_1170-1116.jpg", imageAlt: "James Wilson profile photo"},
|
||||
]}
|
||||
buttons={[
|
||||
{
|
||||
text: "Read More Reviews",
|
||||
href: "#",
|
||||
},
|
||||
text: "Read More Reviews", href: "#"},
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
/>
|
||||
@@ -306,13 +194,9 @@ export default function HomePage() {
|
||||
useInvertedBackground={false}
|
||||
buttons={[
|
||||
{
|
||||
text: "Subscribe Now",
|
||||
href: "#",
|
||||
},
|
||||
text: "Subscribe Now", href: "#"},
|
||||
{
|
||||
text: "Learn More",
|
||||
href: "#",
|
||||
},
|
||||
text: "Learn More", href: "#"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -322,87 +206,51 @@ export default function HomePage() {
|
||||
logoText="ProdFound"
|
||||
columns={[
|
||||
{
|
||||
title: "Product",
|
||||
items: [
|
||||
title: "Product", items: [
|
||||
{
|
||||
label: "Browse All",
|
||||
href: "/browse",
|
||||
},
|
||||
label: "Browse All", href: "/browse"},
|
||||
{
|
||||
label: "Categories",
|
||||
href: "/browse",
|
||||
},
|
||||
label: "Categories", href: "/browse"},
|
||||
{
|
||||
label: "Trending",
|
||||
href: "/browse",
|
||||
},
|
||||
label: "Trending", href: "/browse"},
|
||||
{
|
||||
label: "Featured",
|
||||
href: "#featured-products",
|
||||
},
|
||||
label: "Featured", href: "#featured-products"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Company",
|
||||
items: [
|
||||
title: "Company", items: [
|
||||
{
|
||||
label: "About Us",
|
||||
href: "#",
|
||||
},
|
||||
label: "About Us", href: "#"},
|
||||
{
|
||||
label: "How It Works",
|
||||
href: "#",
|
||||
},
|
||||
label: "How It Works", href: "#"},
|
||||
{
|
||||
label: "Blog",
|
||||
href: "#",
|
||||
},
|
||||
label: "Blog", href: "#"},
|
||||
{
|
||||
label: "Careers",
|
||||
href: "#",
|
||||
},
|
||||
label: "Careers", href: "#"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Support",
|
||||
items: [
|
||||
title: "Support", items: [
|
||||
{
|
||||
label: "Help Center",
|
||||
href: "#",
|
||||
},
|
||||
label: "Help Center", href: "#"},
|
||||
{
|
||||
label: "Contact Us",
|
||||
href: "#",
|
||||
},
|
||||
label: "Contact Us", href: "#"},
|
||||
{
|
||||
label: "FAQ",
|
||||
href: "#",
|
||||
},
|
||||
label: "FAQ", href: "#"},
|
||||
{
|
||||
label: "Shipping Info",
|
||||
href: "#",
|
||||
},
|
||||
label: "Shipping Info", href: "#"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
title: "Legal", items: [
|
||||
{
|
||||
label: "Privacy Policy",
|
||||
href: "#",
|
||||
},
|
||||
label: "Privacy Policy", href: "#"},
|
||||
{
|
||||
label: "Terms of Service",
|
||||
href: "#",
|
||||
},
|
||||
label: "Terms of Service", href: "#"},
|
||||
{
|
||||
label: "Cookie Policy",
|
||||
href: "#",
|
||||
},
|
||||
label: "Cookie Policy", href: "#"},
|
||||
{
|
||||
label: "Return Policy",
|
||||
href: "#",
|
||||
},
|
||||
label: "Return Policy", href: "#"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user