Update src/app/reviews/page.tsx

This commit is contained in:
2026-03-07 12:11:22 +00:00
parent f5e512c285
commit f315c5e5e7

View File

@@ -2,33 +2,12 @@
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import TestimonialCardTen from "@/components/sections/testimonial/TestimonialCardTen";
import TestimonialCardOne from "@/components/sections/testimonial/TestimonialCardOne";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import FooterSimple from "@/components/sections/footer/FooterSimple";
import { Star } from "lucide-react";
import { Award, Star } from "lucide-react";
export default function ReviewsPage() {
const testimonials = [
{
id: "1", title: "Best Audio Experience I've Had", quote: "The sound quality is absolutely incredible. Active noise cancellation works flawlessly, and the spatial audio feature is mind-blowing. I use them daily for work calls and music, and they never disappoint.", name: "Michael Thompson", role: "Software Engineer", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AcG4WbdmgnoUEgMn6GlqKFPyhF/professional-headshot-of-a-satisfied-use-1772884351817-6dec7f08.png", imageAlt: "Michael Thompson"},
{
id: "2", title: "Seamless Integration with Apple Ecosystem", quote: "Switching between my iPhone, iPad, and Mac is seamless. The automatic device switching is a game-changer. Setup was literally just one tap. This is what premium integration looks like.", name: "Sarah Chen", role: "Creative Director", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AcG4WbdmgnoUEgMn6GlqKFPyhF/happy-lifestyle-photo-of-person-wearing--1772884353901-6ee88695.png", imageAlt: "Sarah Chen"},
{
id: "3", title: "Perfect for Fitness and Daily Use", quote: "I take these to the gym, on runs, and they stay secure the entire time. Water resistant, reliable connectivity, and the battery lasts through my entire workout routine. Highly recommend!", name: "James Rodriguez", role: "Fitness Coach", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AcG4WbdmgnoUEgMn6GlqKFPyhF/professional-businessperson-using-airpod-1772884353609-0ef52970.png", imageAlt: "James Rodriguez"},
{
id: "4", title: "Worth Every Penny", quote: "I was skeptical about the price, but after using these for three months, I can confirm they're worth every dollar. The build quality, sound fidelity, and features are exceptional. Best tech purchase I've made.", name: "Emma Wilson", role: "Product Manager", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AcG4WbdmgnoUEgMn6GlqKFPyhF/creative-professional-or-content-creator-1772884352345-f1e1d55c.png", imageAlt: "Emma Wilson"},
{
id: "5", title: "Game-Changing Noise Cancellation", quote: "The adaptive noise cancellation is revolutionary. On airplanes, in coffee shops, or at home it adapts perfectly to my environment. Conversation awareness is fantastic for staying connected while immersed in audio.", name: "David Park", role: "Business Consultant", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AcG4WbdmgnoUEgMn6GlqKFPyhF/active-lifestyle-user-athlete-or-fitness-1772884351718-1b549457.png", imageAlt: "David Park"},
{
id: "6", title: "Premium Design Meets Performance", quote: "These are beautiful. The design is minimalist yet premium, they fit comfortably for hours, and the charging case is elegant. Performance matches the aesthetics perfectly. A truly well-thought product.", name: "Sophie Laurent", role: "Design Enthusiast", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AcG4WbdmgnoUEgMn6GlqKFPyhF/diverse-user-in-relaxed-comfortable-sett-1772884352272-d4dc5302.png", imageAlt: "Sophie Laurent"},
];
const stats = [
{ label: "Average Rating", value: "4.8/5" },
{ label: "Customer Reviews", value: "10k+" },
{ label: "Recommendation Rate", value: "95%" },
{ label: "Verified Purchases", value: "98%" },
];
return (
<ThemeProvider
defaultButtonVariant="icon-arrow"
@@ -36,7 +15,7 @@ export default function ReviewsPage() {
borderRadius="rounded"
contentWidth="compact"
sizing="mediumLargeSizeMediumTitles"
background="noise"
background="circleGradient"
cardStyle="inset"
primaryButtonStyle="double-inset"
secondaryButtonStyle="solid"
@@ -50,138 +29,74 @@ export default function ReviewsPage() {
{ name: "Features", id: "/" },
{ name: "Why AirPods", id: "/" },
{ name: "Support", id: "/" },
{ name: "Compare", id: "/comparison" },
{ name: "Reviews", id: "/reviews" },
{ name: "About", id: "/about" },
{ name: "Pricing", id: "/pricing" },
{ name: "Contact", id: "/contact" },
]}
button={{ text: "Shop Now", href: "/" }}
animateOnLoad={true}
/>
</div>
<div id="reviews-header" data-section="reviews-header" className="w-full py-20">
<div className="w-content-width mx-auto px-5">
<div className="mb-16 text-center">
<h1 className="text-4xl md:text-5xl font-bold mb-4">Customer Reviews</h1>
<p className="text-lg text-foreground/75 max-w-2xl mx-auto mb-8">
Read what thousands of satisfied customers have to say about their AirPods experience.
</p>
<div className="grid grid-cols-2 md:grid-cols-4 gap-4 max-w-3xl mx-auto">
{stats.map((stat, index) => (
<div key={index} className="p-6 rounded-2xl border border-accent/20 bg-card">
<p className="text-foreground/75 text-sm mb-2">{stat.label}</p>
<p className="text-3xl font-bold text-primary-cta">{stat.value}</p>
</div>
))}
</div>
</div>
</div>
<div id="testimonials" data-section="testimonials">
<TestimonialCardOne
title="What Our Customers Say"
description="Real feedback from users who love their AirPods experience"
tag="Customer Reviews"
tagIcon={Star}
tagAnimation="slide-up"
testimonials={[
{
id: "1", name: "Alisa Hester", role: "Product Manager", company: "Tech Innovations", rating: 5,
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AcG4WbdmgnoUEgMn6GlqKFPyhF/professional-headshot-of-a-satisfied-use-1772884351817-6dec7f08.png", imageAlt: "Alisa Hester"
},
{
id: "2", name: "James Mitchell", role: "Creative Director", company: "Design Studio", rating: 5,
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AcG4WbdmgnoUEgMn6GlqKFPyhF/happy-lifestyle-photo-of-person-wearing--1772884353901-6ee88695.png", imageAlt: "James Mitchell"
},
{
id: "3", name: "Emily Rodriguez", role: "Fitness Coach", company: "Wellness Center", rating: 5,
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AcG4WbdmgnoUEgMn6GlqKFPyhF/professional-businessperson-using-airpod-1772884353609-0ef52970.png", imageAlt: "Emily Rodriguez"
},
{
id: "4", name: "Michael Chen", role: "Software Engineer", company: "Tech Company", rating: 5,
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AcG4WbdmgnoUEgMn6GlqKFPyhF/creative-professional-or-content-creator-1772884352345-f1e1d55c.png", imageAlt: "Michael Chen"
},
{
id: "5", name: "Sophie Laurent", role: "Digital Nomad", company: "Content Creator", rating: 5,
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AcG4WbdmgnoUEgMn6GlqKFPyhF/active-lifestyle-user-athlete-or-fitness-1772884351718-1b549457.png", imageAlt: "Sophie Laurent"
},
{
id: "6", name: "David Park", role: "Music Producer", company: "Studio Audio", rating: 5,
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AcG4WbdmgnoUEgMn6GlqKFPyhF/diverse-user-in-relaxed-comfortable-sett-1772884352272-d4dc5302.png", imageAlt: "David Park"
},
]}
gridVariant="three-columns-all-equal-width"
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}
/>
</div>
<div id="testimonials" data-section="testimonials" className="w-full py-20">
<div className="w-full">
<TestimonialCardTen
testimonials={testimonials}
title="What Our Customers Are Saying"
description="Join thousands of happy customers who have transformed their audio experience."
textboxLayout="default"
useInvertedBackground={false}
/>
</div>
</div>
<div id="rating-breakdown" data-section="rating-breakdown" className="w-full py-20">
<div className="w-content-width mx-auto px-5">
<h2 className="text-3xl font-bold mb-8 text-center">Rating Breakdown</h2>
<div className="max-w-2xl mx-auto space-y-4">
{[
{ stars: 5, percentage: 75, count: 7500 },
{ stars: 4, percentage: 18, count: 1800 },
{ stars: 3, percentage: 5, count: 500 },
{ stars: 2, percentage: 1.5, count: 150 },
{ stars: 1, percentage: 0.5, count: 50 },
].map((rating) => (
<div key={rating.stars} className="flex items-center gap-4">
<div className="flex gap-1">
{Array.from({ length: rating.stars }).map((_, i) => (
<Star key={i} className="w-4 h-4 fill-primary-cta text-primary-cta" />
))}
</div>
<div className="flex-1 h-3 bg-accent/20 rounded-full overflow-hidden">
<div
className="h-full bg-primary-cta"
style={{ width: `${rating.percentage}%` }}
/>
</div>
<div className="text-right">
<p className="text-sm font-semibold text-foreground">{rating.percentage}%</p>
<p className="text-xs text-foreground/50">{rating.count} reviews</p>
</div>
</div>
))}
</div>
</div>
</div>
<div id="why-choose" data-section="why-choose" className="w-full py-20 bg-background-accent/5">
<div className="w-content-width mx-auto px-5">
<h2 className="text-3xl font-bold mb-12 text-center">Why Choose AirPods?</h2>
<div className="grid grid-cols-1 md:grid-cols-3 gap-8">
<div className="p-8 rounded-2xl border border-accent/20 bg-card">
<h3 className="text-xl font-bold mb-3 text-foreground">Premium Sound Quality</h3>
<p className="text-foreground/75">
Industry-leading audio quality with crystal-clear highs, rich mids, and deep bass. Every note is perfectly tuned for optimal listening.
</p>
</div>
<div className="p-8 rounded-2xl border border-accent/20 bg-card">
<h3 className="text-xl font-bold mb-3 text-foreground">Seamless Integration</h3>
<p className="text-foreground/75">
Works perfectly across all Apple devices with automatic switching, iCloud sync, and unified controls. One ecosystem for everything.
</p>
</div>
<div className="p-8 rounded-2xl border border-accent/20 bg-card">
<h3 className="text-xl font-bold mb-3 text-foreground">All-Day Comfort</h3>
<p className="text-foreground/75">
Ergonomic design engineered for comfort during extended use. Lightweight, secure fit, and breathable materials keep you comfortable all day.
</p>
</div>
<div className="p-8 rounded-2xl border border-accent/20 bg-card">
<h3 className="text-xl font-bold mb-3 text-foreground">Active Noise Cancellation</h3>
<p className="text-foreground/75">
Advanced ANC technology adapts to your environment in real-time. Immersive listening whether you're in a bustling city or quiet office.
</p>
</div>
<div className="p-8 rounded-2xl border border-accent/20 bg-card">
<h3 className="text-xl font-bold mb-3 text-foreground">Extended Battery Life</h3>
<p className="text-foreground/75">
Get through full days on a single charge. Quick charging and intelligent power management ensure you're always connected.
</p>
</div>
<div className="p-8 rounded-2xl border border-accent/20 bg-card">
<h3 className="text-xl font-bold mb-3 text-foreground">Spatial Audio Experience</h3>
<p className="text-foreground/75">
Immersive 3D sound with dynamic head tracking. Feel like you're in the middle of the action with theater-like audio.
</p>
</div>
</div>
</div>
</div>
<div id="cta" data-section="cta" className="w-full py-20">
<div className="w-content-width mx-auto px-5 text-center">
<h2 className="text-3xl font-bold mb-4">Ready to Experience Premium Audio?</h2>
<p className="text-lg text-foreground/75 mb-8">Join thousands of satisfied customers today.</p>
<a href="/#products" className="inline-block px-8 py-3 bg-primary-cta text-background rounded-lg font-semibold hover:opacity-90 transition-opacity">
Shop AirPods Now
</a>
</div>
<div id="social-proof" data-section="social-proof">
<SocialProofOne
title="Trusted by Industry Leaders"
description="Recommended and endorsed by top audio professionals and technology experts worldwide"
tag="Social Proof"
tagIcon={Award}
tagAnimation="slide-up"
names={[
"Audio Professionals", "Tech Reviewers", "Music Experts", "Industry Awards", "Customer Choice", "Best in Class", "Editor's Pick"
]}
logos={[
"http://img.b2bpic.net/free-photo/top-view-apples-around-frame-white-background-with-copy-space_141793-11956.jpg", "http://img.b2bpic.net/free-vector/flat-design-minimal-music-festival-youtube-channel-art_23-2149155264.jpg", "http://img.b2bpic.net/free-vector/set-retro-music-stickers_23-2147592207.jpg", "http://img.b2bpic.net/free-vector/music-festival-logo-collection-with-flat-design_23-2147825729.jpg", "http://img.b2bpic.net/free-vector/gradient-colored-dj-logo-set_23-2148874408.jpg", "http://img.b2bpic.net/free-vector/flat-design-dj-logo-collection_23-2148872847.jpg", "http://img.b2bpic.net/free-vector/neumorph-business-card_52683-59098.jpg"
]}
textboxLayout="default"
useInvertedBackground={false}
speed={40}
showCard={true}
/>
</div>
<div id="footer" data-section="footer">
@@ -189,24 +104,24 @@ export default function ReviewsPage() {
columns={[
{
title: "Products", items: [
{ label: "AirPods Pro", href: "/#products" },
{ label: "AirPods Max", href: "/#products" },
{ label: "AirPods (2nd Gen)", href: "/#products" },
{ label: "Compare Models", href: "/comparison" },
{ label: "AirPods Pro", href: "/" },
{ label: "AirPods Max", href: "/" },
{ label: "AirPods (2nd Gen)", href: "/" },
{ label: "Compare Models", href: "#" },
],
},
{
title: "Support", items: [
{ label: "FAQ", href: "/#faq" },
{ label: "FAQ", href: "/" },
{ label: "Setup Guide", href: "#" },
{ label: "Troubleshooting", href: "#" },
{ label: "Contact Us", href: "/#contact-cta" },
{ label: "Contact Us", href: "/contact" },
],
},
{
title: "Company", items: [
{ label: "About Us", href: "#" },
{ label: "Blog", href: "#" },
{ label: "About Us", href: "/about" },
{ label: "Reviews", href: "/reviews" },
{ label: "Careers", href: "#" },
{ label: "News", href: "#" },
],