Add src/app/comparison/page.tsx

This commit is contained in:
2026-03-07 11:55:39 +00:00
parent 3f5f98eb3e
commit 0f970e81a1

187
src/app/comparison/page.tsx Normal file
View File

@@ -0,0 +1,187 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import HeroSplitKpi from "@/components/sections/hero/HeroSplitKpi";
import FeatureCardTen from "@/components/sections/feature/FeatureCardTen";
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, Check, X, Battery, Volume2, Headphones } 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: "Comparison", id: "/comparison" },
{ name: "Why AirPods", id: "/" },
{ name: "Support", id: "/" },
]}
button={{ text: "Shop Now", href: "/" }}
animateOnLoad={true}
/>
</div>
<div id="hero" data-section="hero">
<HeroSplitKpi
title="Side-by-Side Comparison"
description="Compare PodsX Pro and PodsX 4 to find which model best fits your lifestyle. See the detailed specifications, features, and capabilities of each model to make an informed decision."
background={{ variant: "noise" }}
kpis={[
{ value: "2 Models", label: "To Choose From" },
{ value: "Clear", label: "Comparison" },
{ value: "Perfect", label: "For Everyone" },
]}
enableKpiAnimation={true}
tag="Find Your Perfect Match"
tagIcon={Zap}
tagAnimation="slide-up"
buttons={[
{ text: "Shop Now", href: "/" },
{ text: "Learn Features", href: "/features" },
]}
buttonAnimation="slide-up"
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AcG4WbdmgnoUEgMn6GlqKFPyhF/a-sleek-premium-product-shot-of-airpods--1772884352155-5b47d23f.png"
imageAlt="AirPods comparison showcase"
mediaAnimation="blur-reveal"
imagePosition="right"
/>
</div>
<div id="features" data-section="features">
<FeatureCardTen
features={[
{
id: "1", title: "PodsX Pro - Professional Grade Audio", description: "The pinnacle of wireless audio technology, designed for professionals and audiophiles who demand the absolute best in sound quality, noise cancellation, and features.", media: {
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AcG4WbdmgnoUEgMn6GlqKFPyhF/high-quality-product-photography-of-airp-1772884351466-337fed24.png", imageAlt: "PodsX Pro professional model"},
items: [
{ icon: Check, text: "Advanced Active Noise Cancellation (99%)" },
{ icon: Check, text: "Spatial Audio with Head Tracking" },
{ icon: Check, text: "6 Hours Battery + 30 Hour Case" },
{ icon: Check, text: "Adaptive Audio" },
{ icon: Check, text: "Water Resistant (IPX4)" },
],
reverse: false,
},
{
id: "2", title: "PodsX 4 - Great For Everyone", description: "Perfect for everyday users who want excellent audio quality and core features at a great value. Ideal for casual listeners, students, and anyone looking for reliable wireless audio.", media: {
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AcG4WbdmgnoUEgMn6GlqKFPyhF/airpods-2nd-generation-with-charging-cas-1772884351239-d2c575a8.png", imageAlt: "PodsX 4 standard model"},
items: [
{ icon: Check, text: "Standard Noise Reduction" },
{ icon: Check, text: "Clear Audio Quality" },
{ icon: Check, text: "5 Hours Battery + 24 Hour Case" },
{ icon: Check, text: "Quick Setup" },
{ icon: X, text: "Not Water Resistant" },
],
reverse: true,
},
]}
title="Detailed Feature Comparison"
description="See how PodsX Pro and PodsX 4 stack up against each other across key performance metrics and features."
tag="Side-by-Side Specs"
tagIcon={Sparkles}
tagAnimation="slide-up"
textboxLayout="default"
animationType="slide-up"
useInvertedBackground={false}
/>
</div>
<div id="products" data-section="products">
<ProductCardThree
title="Choose Your Model"
description="Both PodsX models deliver exceptional audio experiences. Select the one that matches your needs and budget."
tag="Available Now"
tagIcon={ShoppingBag}
tagAnimation="slide-up"
products={[
{
id: "podsx-pro", name: "PodsX 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: "PodsX Pro professional wireless earbuds", initialQuantity: 1,
},
{
id: "podsx-4", name: "PodsX 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: "PodsX 4 standard wireless earbuds", 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="Ready to Choose?"
tagIcon={Headphones}
tagAnimation="slide-up"
title="Pick the Perfect PodsX for You"
description="Whether you choose PodsX Pro for ultimate performance or PodsX 4 for everyday excellence, you're getting premium wireless audio designed to inspire and connect."
buttons={[
{ text: "Shop PodsX Pro", href: "/" },
{ text: "Shop PodsX 4", href: "/" },
]}
buttonAnimation="slide-up"
background={{ variant: "noise" }}
useInvertedBackground={false}
/>
</div>
<div id="footer" data-section="footer">
<FooterSimple
columns={[
{
title: "Products", items: [
{ label: "PodsX Pro", href: "/" },
{ label: "PodsX 4", href: "/" },
{ label: "All Products", href: "/" },
{ label: "Compare Models", href: "/comparison" },
],
},
{
title: "Support", items: [
{ label: "Features", href: "/features" },
{ label: "Setup Guide", href: "#" },
{ label: "Troubleshooting", href: "#" },
{ label: "Contact Us", href: "#" },
],
},
{
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 PodsX. All rights reserved."
bottomRightText="Premium Wireless Audio Technology"
/>
</div>
</ThemeProvider>
);
}