Merge version_1 into main #2
256
src/app/page.tsx
256
src/app/page.tsx
@@ -22,6 +22,7 @@ import {
|
||||
Monitor,
|
||||
TrendingDown,
|
||||
Tag,
|
||||
ShoppingCart,
|
||||
} from "lucide-react";
|
||||
|
||||
export default function HomePage() {
|
||||
@@ -34,8 +35,7 @@ export default function HomePage() {
|
||||
|
||||
const footerColumns = [
|
||||
{
|
||||
title: "Categories",
|
||||
items: [
|
||||
title: "Categories", items: [
|
||||
{ label: "Videogames", href: "/videogames" },
|
||||
{ label: "Cellphones", href: "/cellphones" },
|
||||
{ label: "Computers", href: "/computers" },
|
||||
@@ -43,8 +43,7 @@ export default function HomePage() {
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Company",
|
||||
items: [
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "/about" },
|
||||
{ label: "Blog", href: "#" },
|
||||
{ label: "Careers", href: "#" },
|
||||
@@ -52,8 +51,7 @@ export default function HomePage() {
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Resources",
|
||||
items: [
|
||||
title: "Resources", items: [
|
||||
{ label: "Buying Guide", href: "#" },
|
||||
{ label: "Price Tracking", href: "#" },
|
||||
{ label: "Deal Alerts", href: "#" },
|
||||
@@ -61,8 +59,7 @@ export default function HomePage() {
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
title: "Legal", items: [
|
||||
{ label: "Privacy Policy", href: "#" },
|
||||
{ label: "Terms of Service", href: "#" },
|
||||
{ label: "Cookie Policy", href: "#" },
|
||||
@@ -89,9 +86,7 @@ export default function HomePage() {
|
||||
brandName="PriceCompare"
|
||||
navItems={navItems}
|
||||
button={{
|
||||
text: "Find Best Deals",
|
||||
href: "#products",
|
||||
}}
|
||||
text: "Find Best Deals", href: "#products"}}
|
||||
animateOnLoad={true}
|
||||
/>
|
||||
</div>
|
||||
@@ -110,11 +105,8 @@ export default function HomePage() {
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
dashboard={{
|
||||
title: "Live Price Comparison Hub",
|
||||
logoIcon: "ShoppingCart",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-light-box-coffee-cyber-monday_23-2148657760.jpg",
|
||||
searchPlaceholder: "Search for videogames, cellphones, computers...",
|
||||
buttons: [
|
||||
title: "Live Price Comparison Hub", logoIcon: ShoppingCart,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-light-box-coffee-cyber-monday_23-2148657760.jpg", searchPlaceholder: "Search for videogames, cellphones, computers...", buttons: [
|
||||
{ text: "View Deals", href: "#products" },
|
||||
{ text: "Track Price", href: "#" },
|
||||
],
|
||||
@@ -125,46 +117,32 @@ export default function HomePage() {
|
||||
],
|
||||
stats: [
|
||||
{
|
||||
title: "Price Comparison",
|
||||
values: [2847, 3156, 4021],
|
||||
description: "Active products tracked daily.",
|
||||
},
|
||||
title: "Price Comparison", values: [2847, 3156, 4021],
|
||||
description: "Active products tracked daily."},
|
||||
{
|
||||
title: "Best Deals",
|
||||
values: [1250, 1680, 2145],
|
||||
description: "New deals found today.",
|
||||
},
|
||||
title: "Best Deals", values: [1250, 1680, 2145],
|
||||
description: "New deals found today."},
|
||||
{
|
||||
title: "Stores",
|
||||
values: [45, 48, 52],
|
||||
description: "Retailers monitored.",
|
||||
},
|
||||
title: "Stores", values: [45, 48, 52],
|
||||
description: "Retailers monitored."},
|
||||
],
|
||||
chartTitle: "Price Trends",
|
||||
chartData: [
|
||||
chartTitle: "Price Trends", chartData: [
|
||||
{ value: 45 },
|
||||
{ value: 60 },
|
||||
{ value: 35 },
|
||||
{ value: 75 },
|
||||
{ value: 50 },
|
||||
],
|
||||
listTitle: "Latest Price Drops",
|
||||
listItems: [
|
||||
listTitle: "Latest Price Drops", listItems: [
|
||||
{
|
||||
icon: TrendingDown,
|
||||
title: "Gaming Laptop - $899",
|
||||
status: "Save $200",
|
||||
},
|
||||
title: "Gaming Laptop - $899", status: "Save $200"},
|
||||
{
|
||||
icon: Tag,
|
||||
title: "iPhone 15 - $749",
|
||||
status: "Best Price",
|
||||
},
|
||||
title: "iPhone 15 - $749", status: "Best Price"},
|
||||
{
|
||||
icon: Zap,
|
||||
title: "PlayStation 5 - $449",
|
||||
status: "Limited Stock",
|
||||
},
|
||||
title: "PlayStation 5 - $449", status: "Limited Stock"},
|
||||
],
|
||||
}}
|
||||
/>
|
||||
@@ -177,28 +155,19 @@ export default function HomePage() {
|
||||
tag="Features"
|
||||
tagIcon={CheckCircle}
|
||||
tagAnimation="slide-up"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/wooden-table-with-arrangement-letters_23-2147652043.jpg?_wi=1"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/wooden-table-with-arrangement-letters_23-2147652043.jpg"
|
||||
imageAlt="Price comparison interface"
|
||||
mediaAnimation="slide-up"
|
||||
accordionItems={[
|
||||
{
|
||||
id: "1",
|
||||
title: "Real-Time Price Tracking",
|
||||
content:
|
||||
"Our system monitors prices across 50+ retailers automatically. Get instant notifications when your favorite products drop in price. Never miss a deal again with our advanced tracking technology.",
|
||||
},
|
||||
id: "1", title: "Real-Time Price Tracking", content:
|
||||
"Our system monitors prices across 50+ retailers automatically. Get instant notifications when your favorite products drop in price. Never miss a deal again with our advanced tracking technology."},
|
||||
{
|
||||
id: "2",
|
||||
title: "Widest Selection of Electronics",
|
||||
content:
|
||||
"From the latest videogames and gaming consoles to cutting-edge smartphones and powerful computers. We cover all major electronics categories with thousands of products.",
|
||||
},
|
||||
id: "2", title: "Widest Selection of Electronics", content:
|
||||
"From the latest videogames and gaming consoles to cutting-edge smartphones and powerful computers. We cover all major electronics categories with thousands of products."},
|
||||
{
|
||||
id: "3",
|
||||
title: "Verified Seller Network",
|
||||
content:
|
||||
"All retailers in our network are verified and trusted. We ensure safe shopping experiences with secure checkout options and buyer protection policies.",
|
||||
},
|
||||
id: "3", title: "Verified Seller Network", content:
|
||||
"All retailers in our network are verified and trusted. We ensure safe shopping experiences with secure checkout options and buyer protection policies."},
|
||||
]}
|
||||
buttons={[{ text: "Explore Now", href: "#products" }]}
|
||||
buttonAnimation="slide-up"
|
||||
@@ -218,71 +187,29 @@ export default function HomePage() {
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "1",
|
||||
brand: "Sony",
|
||||
name: "PlayStation 5 Console",
|
||||
price: "$449.99",
|
||||
rating: 5,
|
||||
reviewCount: "12.8k",
|
||||
imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/smiling-young-couple-relaxing-home-playing-video-game-home_23-2148152802.jpg?_wi=1",
|
||||
imageAlt: "PlayStation 5 Gaming Console",
|
||||
},
|
||||
id: "1", brand: "Sony", name: "PlayStation 5 Console", price: "$449.99", rating: 5,
|
||||
reviewCount: "12.8k", imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/smiling-young-couple-relaxing-home-playing-video-game-home_23-2148152802.jpg", imageAlt: "PlayStation 5 Gaming Console"},
|
||||
{
|
||||
id: "2",
|
||||
brand: "Apple",
|
||||
name: "iPhone 15 Pro Max",
|
||||
price: "$1,099.99",
|
||||
rating: 5,
|
||||
reviewCount: "28.5k",
|
||||
imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/ordinary-life-scene-from-mall-america_23-2151564138.jpg?_wi=1",
|
||||
imageAlt: "Apple iPhone 15 Pro Max",
|
||||
},
|
||||
id: "2", brand: "Apple", name: "iPhone 15 Pro Max", price: "$1,099.99", rating: 5,
|
||||
reviewCount: "28.5k", imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/ordinary-life-scene-from-mall-america_23-2151564138.jpg", imageAlt: "Apple iPhone 15 Pro Max"},
|
||||
{
|
||||
id: "3",
|
||||
brand: "ASUS",
|
||||
name: "ROG Gaming Laptop RTX 4090",
|
||||
price: "$2,499.99",
|
||||
rating: 5,
|
||||
reviewCount: "9.2k",
|
||||
imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/sitting-black-chair-polygraph-examiner-works-office-with-his-lie-detector-s-equipment_146671-17240.jpg?_wi=1",
|
||||
imageAlt: "ASUS ROG Gaming Laptop",
|
||||
},
|
||||
id: "3", brand: "ASUS", name: "ROG Gaming Laptop RTX 4090", price: "$2,499.99", rating: 5,
|
||||
reviewCount: "9.2k", imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/sitting-black-chair-polygraph-examiner-works-office-with-his-lie-detector-s-equipment_146671-17240.jpg", imageAlt: "ASUS ROG Gaming Laptop"},
|
||||
{
|
||||
id: "4",
|
||||
brand: "Nintendo",
|
||||
name: "Nintendo Switch OLED",
|
||||
price: "$349.99",
|
||||
rating: 4,
|
||||
reviewCount: "15.6k",
|
||||
imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/smiling-young-couple-relaxing-home-playing-video-game-home_23-2148152802.jpg?_wi=2",
|
||||
imageAlt: "Nintendo Switch OLED",
|
||||
},
|
||||
id: "4", brand: "Nintendo", name: "Nintendo Switch OLED", price: "$349.99", rating: 4,
|
||||
reviewCount: "15.6k", imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/smiling-young-couple-relaxing-home-playing-video-game-home_23-2148152802.jpg", imageAlt: "Nintendo Switch OLED"},
|
||||
{
|
||||
id: "5",
|
||||
brand: "Samsung",
|
||||
name: "Galaxy S24 Ultra",
|
||||
price: "$1,299.99",
|
||||
rating: 5,
|
||||
reviewCount: "22.3k",
|
||||
imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/ordinary-life-scene-from-mall-america_23-2151564138.jpg?_wi=2",
|
||||
imageAlt: "Samsung Galaxy S24 Ultra",
|
||||
},
|
||||
id: "5", brand: "Samsung", name: "Galaxy S24 Ultra", price: "$1,299.99", rating: 5,
|
||||
reviewCount: "22.3k", imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/ordinary-life-scene-from-mall-america_23-2151564138.jpg", imageAlt: "Samsung Galaxy S24 Ultra"},
|
||||
{
|
||||
id: "6",
|
||||
brand: "Dell",
|
||||
name: "XPS 17 Laptop",
|
||||
price: "$1,899.99",
|
||||
rating: 4,
|
||||
reviewCount: "18.9k",
|
||||
imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/sitting-black-chair-polygraph-examiner-works-office-with-his-lie-detector-s-equipment_146671-17240.jpg?_wi=2",
|
||||
imageAlt: "Dell XPS 17 Laptop",
|
||||
},
|
||||
id: "6", brand: "Dell", name: "XPS 17 Laptop", price: "$1,899.99", rating: 4,
|
||||
reviewCount: "18.9k", imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/sitting-black-chair-polygraph-examiner-works-office-with-his-lie-detector-s-equipment_146671-17240.jpg", imageAlt: "Dell XPS 17 Laptop"},
|
||||
]}
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
animationType="slide-up"
|
||||
@@ -301,15 +228,7 @@ export default function HomePage() {
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
names={[
|
||||
"Amazon",
|
||||
"Best Buy",
|
||||
"Newegg",
|
||||
"Walmart",
|
||||
"eBay",
|
||||
"Steam",
|
||||
"PlayStation Network",
|
||||
"Microsoft Store",
|
||||
]}
|
||||
"Amazon", "Best Buy", "Newegg", "Walmart", "eBay", "Steam", "PlayStation Network", "Microsoft Store"]}
|
||||
speed={40}
|
||||
showCard={true}
|
||||
/>
|
||||
@@ -327,45 +246,21 @@ export default function HomePage() {
|
||||
animationType="slide-up"
|
||||
testimonials={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Sarah Johnson",
|
||||
role: "Tech Enthusiast",
|
||||
testimonial:
|
||||
"PriceCompare saved me over $500 on my gaming laptop purchase. The real-time price tracking is incredible!",
|
||||
imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/portrait-smiling-waitress_107420-12324.jpg?_wi=1",
|
||||
imageAlt: "Sarah Johnson",
|
||||
},
|
||||
id: "1", name: "Sarah Johnson", role: "Tech Enthusiast", testimonial:
|
||||
"PriceCompare saved me over $500 on my gaming laptop purchase. The real-time price tracking is incredible!", imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/portrait-smiling-waitress_107420-12324.jpg", imageAlt: "Sarah Johnson"},
|
||||
{
|
||||
id: "2",
|
||||
name: "Michael Chen",
|
||||
role: "College Student",
|
||||
testimonial:
|
||||
"Found the perfect smartphone at the best price. The comparison feature makes it so easy to choose between retailers.",
|
||||
imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/close-up-portrait-bearded-smiling-black-man-wool-suit_613910-15883.jpg?_wi=1",
|
||||
imageAlt: "Michael Chen",
|
||||
},
|
||||
id: "2", name: "Michael Chen", role: "College Student", testimonial:
|
||||
"Found the perfect smartphone at the best price. The comparison feature makes it so easy to choose between retailers.", imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/close-up-portrait-bearded-smiling-black-man-wool-suit_613910-15883.jpg", imageAlt: "Michael Chen"},
|
||||
{
|
||||
id: "3",
|
||||
name: "Emily Rodriguez",
|
||||
role: "Game Developer",
|
||||
testimonial:
|
||||
"The videogame section is fantastic. I've discovered deals I never would have found elsewhere. Highly recommended!",
|
||||
imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/people-technology-close-up-shot-happy-face-attractive-bearded-man-sitting-front-laptop-screen-smiling-joyfully-while-messaging-friends-online-via-social-networks_273609-6655.jpg?_wi=1",
|
||||
imageAlt: "Emily Rodriguez",
|
||||
},
|
||||
id: "3", name: "Emily Rodriguez", role: "Game Developer", testimonial:
|
||||
"The videogame section is fantastic. I've discovered deals I never would have found elsewhere. Highly recommended!", imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/people-technology-close-up-shot-happy-face-attractive-bearded-man-sitting-front-laptop-screen-smiling-joyfully-while-messaging-friends-online-via-social-networks_273609-6655.jpg", imageAlt: "Emily Rodriguez"},
|
||||
{
|
||||
id: "4",
|
||||
name: "David Kim",
|
||||
role: "Business Owner",
|
||||
testimonial:
|
||||
"Excellent platform for finding corporate electronics. The bulk pricing options and retailer comparisons are invaluable.",
|
||||
imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/cheerful-african-american-businessman_1262-20994.jpg?_wi=1",
|
||||
imageAlt: "David Kim",
|
||||
},
|
||||
id: "4", name: "David Kim", role: "Business Owner", testimonial:
|
||||
"Excellent platform for finding corporate electronics. The bulk pricing options and retailer comparisons are invaluable.", imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/cheerful-african-american-businessman_1262-20994.jpg", imageAlt: "David Kim"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -379,41 +274,26 @@ export default function HomePage() {
|
||||
tagAnimation="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
imageSrc="http://img.b2bpic.net/free-vector/faq-concept_23-2148159875.jpg?_wi=1"
|
||||
imageSrc="http://img.b2bpic.net/free-vector/faq-concept_23-2148159875.jpg"
|
||||
imageAlt="Customer support"
|
||||
mediaAnimation="slide-up"
|
||||
mediaPosition="left"
|
||||
faqs={[
|
||||
{
|
||||
id: "1",
|
||||
title: "How does PriceCompare work?",
|
||||
content:
|
||||
"PriceCompare aggregates prices from 50+ major electronics retailers in real-time. Simply search for a product, and we display all available options with current prices from different sellers so you can choose the best deal.",
|
||||
},
|
||||
id: "1", title: "How does PriceCompare work?", content:
|
||||
"PriceCompare aggregates prices from 50+ major electronics retailers in real-time. Simply search for a product, and we display all available options with current prices from different sellers so you can choose the best deal."},
|
||||
{
|
||||
id: "2",
|
||||
title: "Is it really free to use?",
|
||||
content:
|
||||
"Yes, PriceCompare is completely free for users. We earn through partnerships with retailers. You get access to all price comparisons and deal alerts at no cost.",
|
||||
},
|
||||
id: "2", title: "Is it really free to use?", content:
|
||||
"Yes, PriceCompare is completely free for users. We earn through partnerships with retailers. You get access to all price comparisons and deal alerts at no cost."},
|
||||
{
|
||||
id: "3",
|
||||
title: "How accurate are the prices?",
|
||||
content:
|
||||
"Our prices are updated in real-time from retailer websites. However, prices may vary by location and are subject to change. Always verify prices directly with retailers before purchase.",
|
||||
},
|
||||
id: "3", title: "How accurate are the prices?", content:
|
||||
"Our prices are updated in real-time from retailer websites. However, prices may vary by location and are subject to change. Always verify prices directly with retailers before purchase."},
|
||||
{
|
||||
id: "4",
|
||||
title: "Can I get price drop notifications?",
|
||||
content:
|
||||
"Absolutely! Create an account and add products to your watchlist. We'll notify you via email when prices drop or deals become available.",
|
||||
},
|
||||
id: "4", title: "Can I get price drop notifications?", content:
|
||||
"Absolutely! Create an account and add products to your watchlist. We'll notify you via email when prices drop or deals become available."},
|
||||
{
|
||||
id: "5",
|
||||
title: "Are the retailers trustworthy?",
|
||||
content:
|
||||
"All retailers in our network are verified and established. We only partner with reputable companies that meet our security and reliability standards.",
|
||||
},
|
||||
id: "5", title: "Are the retailers trustworthy?", content:
|
||||
"All retailers in our network are verified and established. We only partner with reputable companies that meet our security and reliability standards."},
|
||||
]}
|
||||
faqsAnimation="slide-up"
|
||||
animationType="smooth"
|
||||
|
||||
Reference in New Issue
Block a user