Merge version_1 into main #2
183
src/app/page.tsx
183
src/app/page.tsx
@@ -32,31 +32,19 @@ export default function LandingPage() {
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "hero",
|
||||
},
|
||||
name: "Home", id: "hero"},
|
||||
{
|
||||
name: "Products",
|
||||
id: "products",
|
||||
},
|
||||
name: "Products", id: "products"},
|
||||
{
|
||||
name: "Reviews",
|
||||
id: "reviews",
|
||||
},
|
||||
name: "Reviews", id: "reviews"},
|
||||
{
|
||||
name: "Blog",
|
||||
id: "blog",
|
||||
},
|
||||
name: "Blog", id: "blog"},
|
||||
{
|
||||
name: "Contact",
|
||||
id: "contact",
|
||||
},
|
||||
name: "Contact", id: "contact"},
|
||||
]}
|
||||
brandName="PhoneHub"
|
||||
button={{
|
||||
text: "Shop Now",
|
||||
href: "#products",
|
||||
}}
|
||||
text: "Shop Now", href: "#products"}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -66,15 +54,11 @@ export default function LandingPage() {
|
||||
description="Discover the latest smartphone reviews, best budget picks for students, and top 2026 comparisons to help you buy smarter."
|
||||
buttons={[
|
||||
{
|
||||
text: "Explore Phones",
|
||||
href: "#products",
|
||||
},
|
||||
text: "Explore Phones", href: "#products"},
|
||||
{
|
||||
text: "Read Reviews",
|
||||
href: "#reviews",
|
||||
},
|
||||
text: "Read Reviews", href: "#reviews"},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/top-view-hand-holding-cell-phone-white-background_1150-6840.jpg?_wi=1"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/top-view-hand-holding-cell-phone-white-background_1150-6840.jpg"
|
||||
imageAlt="Modern Smartphone"
|
||||
/>
|
||||
</div>
|
||||
@@ -87,41 +71,17 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Titan Pro X",
|
||||
price: "$899",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/office-desktop-with-paper-sheet-mobile-phone_23-2148196556.jpg?_wi=1",
|
||||
},
|
||||
id: "1", name: "Titan Pro X", price: "$899", imageSrc: "http://img.b2bpic.net/free-photo/office-desktop-with-paper-sheet-mobile-phone_23-2148196556.jpg"},
|
||||
{
|
||||
id: "2",
|
||||
name: "Swift Edge 5",
|
||||
price: "$749",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/new-cell-phone-colorful-background_58702-5073.jpg",
|
||||
},
|
||||
id: "2", name: "Swift Edge 5", price: "$749", imageSrc: "http://img.b2bpic.net/free-photo/new-cell-phone-colorful-background_58702-5073.jpg"},
|
||||
{
|
||||
id: "3",
|
||||
name: "Horizon Z",
|
||||
price: "$999",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-modern-iphone-with-colorful-gradient-back-studio-shot_187299-46640.jpg",
|
||||
},
|
||||
id: "3", name: "Horizon Z", price: "$999", imageSrc: "http://img.b2bpic.net/free-photo/close-up-modern-iphone-with-colorful-gradient-back-studio-shot_187299-46640.jpg"},
|
||||
{
|
||||
id: "4",
|
||||
name: "Budget Swift",
|
||||
price: "$299",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/new-cell-phone-colorful-background_58702-5248.jpg?_wi=1",
|
||||
},
|
||||
id: "4", name: "Budget Swift", price: "$299", imageSrc: "http://img.b2bpic.net/free-photo/new-cell-phone-colorful-background_58702-5248.jpg"},
|
||||
{
|
||||
id: "5",
|
||||
name: "Student Power 2",
|
||||
price: "$349",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smartphone-with-blank-screen-isolated-white-background-perfect-mockup_187299-46340.jpg",
|
||||
},
|
||||
id: "5", name: "Student Power 2", price: "$349", imageSrc: "http://img.b2bpic.net/free-photo/smartphone-with-blank-screen-isolated-white-background-perfect-mockup_187299-46340.jpg"},
|
||||
{
|
||||
id: "6",
|
||||
name: "Ultra Nano",
|
||||
price: "$1199",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/horizontal-tempered-glass-phone_187299-48752.jpg",
|
||||
},
|
||||
id: "6", name: "Ultra Nano", price: "$1199", imageSrc: "http://img.b2bpic.net/free-photo/horizontal-tempered-glass-phone_187299-48752.jpg"},
|
||||
]}
|
||||
title="Featured Smartphones"
|
||||
description="Curated selection of our top-rated smartphones for every budget."
|
||||
@@ -135,44 +95,32 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
features={[
|
||||
{
|
||||
title: "Top Performance Flagships",
|
||||
description: "The ultimate contenders for 2026.",
|
||||
media: {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/office-desktop-with-paper-sheet-mobile-phone_23-2148196556.jpg?_wi=2",
|
||||
title: "Top Performance Flagships", description: "The ultimate contenders for 2026.", media: {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-hand-holding-cell-phone-white-background_1150-6840.jpg", imageAlt: "smartphone close up studio"
|
||||
},
|
||||
items: [
|
||||
{
|
||||
icon: CheckCircle,
|
||||
text: "Next-gen processor",
|
||||
},
|
||||
text: "Next-gen processor"},
|
||||
{
|
||||
icon: CheckCircle,
|
||||
text: "High refresh rate display",
|
||||
},
|
||||
text: "High refresh rate display"},
|
||||
],
|
||||
reverse: false,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-hand-holding-cell-phone-white-background_1150-6840.jpg?_wi=2",
|
||||
imageAlt: "smartphone close up studio",
|
||||
},
|
||||
{
|
||||
title: "Budget Student Picks",
|
||||
description: "Best value for performance.",
|
||||
media: {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/new-cell-phone-colorful-background_58702-5248.jpg?_wi=2",
|
||||
title: "Budget Student Picks", description: "Best value for performance.", media: {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/new-cell-phone-colorful-background_58702-5248.jpg", imageAlt: "smartphone studio isolated"
|
||||
},
|
||||
items: [
|
||||
{
|
||||
icon: CheckCircle,
|
||||
text: "Great battery life",
|
||||
},
|
||||
text: "Great battery life"},
|
||||
{
|
||||
icon: CheckCircle,
|
||||
text: "Student discount eligible",
|
||||
},
|
||||
text: "Student discount eligible"},
|
||||
],
|
||||
reverse: true,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/office-desktop-with-paper-sheet-mobile-phone_23-2148196556.jpg?_wi=3",
|
||||
imageAlt: "smartphone studio isolated",
|
||||
},
|
||||
]}
|
||||
title="Best Phones 2026 Comparison"
|
||||
@@ -189,35 +137,11 @@ export default function LandingPage() {
|
||||
description="Expert advice on mobile technology and trends."
|
||||
blogs={[
|
||||
{
|
||||
id: "b1",
|
||||
category: "Comparison",
|
||||
title: "Top 10 Phones 2026",
|
||||
excerpt: "Comparing the ultimate tech.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-desk-with-coffee-plant-laptop_23-2148110227.jpg",
|
||||
authorName: "Tech Guru",
|
||||
authorAvatar: "http://img.b2bpic.net/free-photo/portrait-beautiful-young-woman-smiling-with-pleased-face-thinking-using-smartphone-application_1258-201642.jpg",
|
||||
date: "Jan 2026",
|
||||
},
|
||||
id: "b1", category: "Comparison", title: "Top 10 Phones 2026", excerpt: "Comparing the ultimate tech.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-desk-with-coffee-plant-laptop_23-2148110227.jpg", authorName: "Tech Guru", authorAvatar: "http://img.b2bpic.net/free-photo/portrait-beautiful-young-woman-smiling-with-pleased-face-thinking-using-smartphone-application_1258-201642.jpg", date: "Jan 2026"},
|
||||
{
|
||||
id: "b2",
|
||||
category: "Guide",
|
||||
title: "Student Phones Guide",
|
||||
excerpt: "Affordable and powerful picks.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-woman-using-her-smartphone-home-couch-by-holding-from-pop-socket_23-2150168426.jpg",
|
||||
authorName: "Student Tech",
|
||||
authorAvatar: "http://img.b2bpic.net/free-photo/young-woman-wearing-vr-glasses-using-tablet_1303-18146.jpg",
|
||||
date: "Jan 2026",
|
||||
},
|
||||
id: "b2", category: "Guide", title: "Student Phones Guide", excerpt: "Affordable and powerful picks.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-woman-using-her-smartphone-home-couch-by-holding-from-pop-socket_23-2150168426.jpg", authorName: "Student Tech", authorAvatar: "http://img.b2bpic.net/free-photo/young-woman-wearing-vr-glasses-using-tablet_1303-18146.jpg", date: "Jan 2026"},
|
||||
{
|
||||
id: "b3",
|
||||
category: "Review",
|
||||
title: "Titan Pro X Review",
|
||||
excerpt: "The flagship experience.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/work-space-with-laptop-coffee-stationery-white-table-top-view-flat-lay_501050-576.jpg",
|
||||
authorName: "Editor",
|
||||
authorAvatar: "http://img.b2bpic.net/free-photo/smiling-young-businessman-walking-near-business-center_171337-19794.jpg",
|
||||
date: "Jan 2026",
|
||||
},
|
||||
id: "b3", category: "Review", title: "Titan Pro X Review", excerpt: "The flagship experience.", imageSrc: "http://img.b2bpic.net/free-photo/work-space-with-laptop-coffee-stationery-white-table-top-view-flat-lay_501050-576.jpg", authorName: "Editor", authorAvatar: "http://img.b2bpic.net/free-photo/smiling-young-businessman-walking-near-business-center_171337-19794.jpg", date: "Jan 2026"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -227,30 +151,15 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Sarah",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-influencer-excited-record-mini-led-lights-review-apartment-studio_482257-82739.jpg",
|
||||
},
|
||||
id: "1", name: "Sarah", imageSrc: "http://img.b2bpic.net/free-photo/smiling-influencer-excited-record-mini-led-lights-review-apartment-studio_482257-82739.jpg"},
|
||||
{
|
||||
id: "2",
|
||||
name: "Mark",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/joyful-young-beautiful-woman-holding-mobile-phone-pointing-it-isolated-white-wall_141793-25829.jpg",
|
||||
},
|
||||
id: "2", name: "Mark", imageSrc: "http://img.b2bpic.net/free-photo/joyful-young-beautiful-woman-holding-mobile-phone-pointing-it-isolated-white-wall_141793-25829.jpg"},
|
||||
{
|
||||
id: "3",
|
||||
name: "Emily",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-businessman-walking-near-business-center_171337-19794.jpg",
|
||||
},
|
||||
id: "3", name: "Emily", imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-businessman-walking-near-business-center_171337-19794.jpg"},
|
||||
{
|
||||
id: "4",
|
||||
name: "John",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-woman-wearing-vr-glasses-using-tablet_1303-18146.jpg",
|
||||
},
|
||||
id: "4", name: "John", imageSrc: "http://img.b2bpic.net/free-photo/young-woman-wearing-vr-glasses-using-tablet_1303-18146.jpg"},
|
||||
{
|
||||
id: "5",
|
||||
name: "Alice",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-young-woman-smiling-with-pleased-face-thinking-using-smartphone-application_1258-201642.jpg",
|
||||
},
|
||||
id: "5", name: "Alice", imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-young-woman-smiling-with-pleased-face-thinking-using-smartphone-application_1258-201642.jpg"},
|
||||
]}
|
||||
cardTitle="User Reviews"
|
||||
cardTag="What people say"
|
||||
@@ -264,20 +173,11 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
faqs={[
|
||||
{
|
||||
id: "f1",
|
||||
title: "How does the affiliate program work?",
|
||||
content: "We earn a small commission from purchases.",
|
||||
},
|
||||
id: "f1", title: "How does the affiliate program work?", content: "We earn a small commission from purchases."},
|
||||
{
|
||||
id: "f2",
|
||||
title: "Are these prices updated?",
|
||||
content: "Prices reflect current marketplace data.",
|
||||
},
|
||||
id: "f2", title: "Are these prices updated?", content: "Prices reflect current marketplace data."},
|
||||
{
|
||||
id: "f3",
|
||||
title: "Are ads integrated?",
|
||||
content: "Yes, we work with reputable advertisers.",
|
||||
},
|
||||
id: "f3", title: "Are ads integrated?", content: "Yes, we work with reputable advertisers."},
|
||||
]}
|
||||
title="Common Questions"
|
||||
description="Everything you need to know about smartphone deals."
|
||||
@@ -289,16 +189,13 @@ export default function LandingPage() {
|
||||
<ContactCTA
|
||||
useInvertedBackground={true}
|
||||
background={{
|
||||
variant: "plain",
|
||||
}}
|
||||
variant: "plain"}}
|
||||
tag="Get in touch"
|
||||
title="Need Tech Advice?"
|
||||
description="Have questions about a phone? Drop us a line."
|
||||
buttons={[
|
||||
{
|
||||
text: "Send Email",
|
||||
href: "mailto:hello@phonehub.com",
|
||||
},
|
||||
text: "Send Email", href: "mailto:hello@phonehub.com"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -307,13 +204,9 @@ export default function LandingPage() {
|
||||
<FooterLogoReveal
|
||||
logoText="PhoneHub 2026"
|
||||
leftLink={{
|
||||
text: "Privacy Policy",
|
||||
href: "#",
|
||||
}}
|
||||
text: "Privacy Policy", href: "#"}}
|
||||
rightLink={{
|
||||
text: "Terms of Use",
|
||||
href: "#",
|
||||
}}
|
||||
text: "Terms of Use", href: "#"}}
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
|
||||
Reference in New Issue
Block a user