Add src/app/comparison/page.tsx
This commit is contained in:
175
src/app/comparison/page.tsx
Normal file
175
src/app/comparison/page.tsx
Normal file
@@ -0,0 +1,175 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
|
||||
import HeroSplitKpi from "@/components/sections/hero/HeroSplitKpi";
|
||||
import FeatureCardMedia from "@/components/sections/feature/FeatureCardMedia";
|
||||
import ProductCardThree from "@/components/sections/product/ProductCardThree";
|
||||
import ContactCTA from "@/components/sections/contact/ContactCTA";
|
||||
import FooterSimple from "@/components/sections/footer/FooterSimple";
|
||||
import { Zap, Sparkles, ShoppingBag, CheckCircle, AlertCircle } from "lucide-react";
|
||||
|
||||
export default function ComparisonPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="icon-arrow"
|
||||
defaultTextAnimation="entrance-slide"
|
||||
borderRadius="rounded"
|
||||
contentWidth="compact"
|
||||
sizing="mediumLargeSizeMediumTitles"
|
||||
background="noise"
|
||||
cardStyle="inset"
|
||||
primaryButtonStyle="double-inset"
|
||||
secondaryButtonStyle="solid"
|
||||
headingFontWeight="bold"
|
||||
>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingInline
|
||||
brandName="AirPods"
|
||||
navItems={[
|
||||
{ name: "Products", id: "/" },
|
||||
{ name: "Features", id: "/features" },
|
||||
{ name: "Why AirPods", id: "/" },
|
||||
{ name: "Support", id: "/" },
|
||||
{ name: "Compare", id: "/comparison" },
|
||||
]}
|
||||
button={{ text: "Shop Now", href: "/#products" }}
|
||||
animateOnLoad={true}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroSplitKpi
|
||||
title="AirPods Pro vs AirPods 4 Comparison"
|
||||
description="Find your perfect match. Compare detailed specifications, features, and performance between AirPods Pro and AirPods 4. Make an informed decision based on your needs."
|
||||
background={{ variant: "noise" }}
|
||||
kpis={[
|
||||
{ value: "2 Models", label: "Full Comparison" },
|
||||
{ value: "20+ Specs", label: "Detailed Analysis" },
|
||||
{ value: "All Features", label: "Side by Side" },
|
||||
]}
|
||||
enableKpiAnimation={true}
|
||||
tag="Choose Wisely"
|
||||
tagIcon={Sparkles}
|
||||
tagAnimation="slide-up"
|
||||
buttons={[
|
||||
{ text: "Shop AirPods Pro", href: "/#products" },
|
||||
{ text: "Shop AirPods 4", href: "/#products" },
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AcG4WbdmgnoUEgMn6GlqKFPyhF/high-quality-product-photography-of-airp-1772884351466-337fed24.png"
|
||||
imageAlt="AirPods Pro and AirPods 4 side by side"
|
||||
mediaAnimation="blur-reveal"
|
||||
imagePosition="right"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="features" data-section="features">
|
||||
<FeatureCardMedia
|
||||
title="Detailed Feature Comparison Matrix"
|
||||
description="Everything you need to know to choose between these two premium models."
|
||||
tag="Specifications"
|
||||
tagIcon={CheckCircle}
|
||||
tagAnimation="slide-up"
|
||||
features={[
|
||||
{
|
||||
id: "audio-quality", title: "Audio Quality & Performance", description: "AirPods Pro delivers superior audio with premium drivers, adaptive audio, and personalized spatial audio with dynamic head tracking. AirPods 4 provides excellent audio quality with AAC codec support and dynamic range optimization, perfect for everyday listening.", tag: "Audio", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AcG4WbdmgnoUEgMn6GlqKFPyhF/spatial-audio-visualization-showing-3d-s-1772884352783-6a2daab8.png", imageAlt: "Audio quality comparison visualization", buttons: [{ text: "Learn More", href: "#" }],
|
||||
},
|
||||
{
|
||||
id: "noise-control", title: "Noise Control Technologies", description: "AirPods Pro feature industry-leading active noise cancellation (up to 40dB reduction) plus transparency mode with conversation awareness. AirPods 4 offer passive noise isolation through secure fit design, making them perfect for moderate noise environments.", tag: "Comparison", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AcG4WbdmgnoUEgMn6GlqKFPyhF/abstract-visualization-of-active-noise-c-1772884352205-cdd837a4.png", imageAlt: "Noise control feature comparison", buttons: [{ text: "Explore", href: "#" }],
|
||||
},
|
||||
{
|
||||
id: "battery-endurance", title: "Battery Life & Charging", description: "AirPods Pro: 6 hours per charge (30 hours total with case). AirPods 4: 5 hours per charge (24 hours total with case). Both support fast charging - 5 minutes equals up to an hour of playback. Wireless charging available on both premium models.", tag: "Battery", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AcG4WbdmgnoUEgMn6GlqKFPyhF/battery-charge-indicator-visualization-sh-1772884352345-a1b2c3d4.png", imageAlt: "Battery life comparison chart", buttons: [{ text: "Details", href: "#" }],
|
||||
},
|
||||
]}
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="products" data-section="products">
|
||||
<ProductCardThree
|
||||
title="Shop the Comparison"
|
||||
description="Compare side-by-side and choose the AirPods that fit your needs perfectly."
|
||||
tag="Premium Models"
|
||||
tagIcon={ShoppingBag}
|
||||
tagAnimation="slide-up"
|
||||
products={[
|
||||
{
|
||||
id: "airpods-pro", name: "AirPods Pro", price: "$249", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AcG4WbdmgnoUEgMn6GlqKFPyhF/high-quality-product-photography-of-airp-1772884351466-337fed24.png", imageAlt: "AirPods Pro - Premium noise cancellation model", initialQuantity: 1,
|
||||
},
|
||||
{
|
||||
id: "airpods-4", name: "AirPods 4", price: "$129", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AcG4WbdmgnoUEgMn6GlqKFPyhF/airpods-2nd-generation-with-charging-cas-1772884351239-d2c575a8.png", imageAlt: "AirPods 4 - Standard model with excellent value", initialQuantity: 1,
|
||||
},
|
||||
{
|
||||
id: "airpods-max", name: "AirPods Max", price: "$549", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AcG4WbdmgnoUEgMn6GlqKFPyhF/airpods-max-over-ear-headphones-displaye-1772884352294-e666eff4.png", imageAlt: "AirPods Max - Premium over-ear headphones", initialQuantity: 1,
|
||||
},
|
||||
]}
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="contact-cta" data-section="contact-cta">
|
||||
<ContactCTA
|
||||
tag="Still Deciding?"
|
||||
tagIcon={AlertCircle}
|
||||
tagAnimation="slide-up"
|
||||
title="Get Expert Guidance"
|
||||
description="Our specialists can help you choose the perfect AirPods model for your lifestyle. Compare features, read reviews, and make your purchase with confidence."
|
||||
buttons={[
|
||||
{ text: "Shop Now", href: "/#products" },
|
||||
{ text: "View Features", href: "/features" },
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
background={{ variant: "noise" }}
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterSimple
|
||||
columns={[
|
||||
{
|
||||
title: "Products", items: [
|
||||
{ label: "AirPods Pro", href: "/#products" },
|
||||
{ label: "AirPods Max", href: "/#products" },
|
||||
{ label: "AirPods 4", href: "/#products" },
|
||||
{ label: "Compare Models", href: "/comparison" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Support", items: [
|
||||
{ label: "FAQ", href: "/#faq" },
|
||||
{ label: "Setup Guide", href: "#" },
|
||||
{ label: "Troubleshooting", href: "#" },
|
||||
{ label: "Contact Us", href: "/#contact-cta" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "#" },
|
||||
{ label: "Blog", href: "#" },
|
||||
{ label: "Careers", href: "#" },
|
||||
{ label: "News", href: "#" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal", items: [
|
||||
{ label: "Privacy Policy", href: "#" },
|
||||
{ label: "Terms of Service", href: "#" },
|
||||
{ label: "Cookie Policy", href: "#" },
|
||||
{ label: "Warranty", href: "#" },
|
||||
],
|
||||
},
|
||||
]}
|
||||
bottomLeftText="© 2025 AirPods. All rights reserved."
|
||||
bottomRightText="Powered by Premium Audio Technology"
|
||||
/>
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user