From 87a6c4eb8c694b7d40012d2cf9e69cbc347157b2 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 6 Mar 2026 19:31:34 +0000 Subject: [PATCH] Update src/app/compare/page.tsx --- src/app/compare/page.tsx | 209 +++++++++++++++++++++------------------ 1 file changed, 113 insertions(+), 96 deletions(-) diff --git a/src/app/compare/page.tsx b/src/app/compare/page.tsx index 3154e17..7d7ee0e 100644 --- a/src/app/compare/page.tsx +++ b/src/app/compare/page.tsx @@ -1,129 +1,146 @@ -"use client"; +'use client'; -import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; -import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen"; -import BlogCardThree from "@/components/sections/blog/BlogCardThree"; -import MetricCardThree from "@/components/sections/metrics/MetricCardThree"; -import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis"; -import Link from "next/link"; -import { Building2, Car, History, Globe } from "lucide-react"; +import { ThemeProvider } from '@/components/theme/ThemeProvider'; +import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline'; +import HeroLogo from '@/components/sections/hero/HeroLogo'; +import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven'; +import ContactCenter from '@/components/sections/contact/ContactCenter'; +import FooterSimple from '@/components/sections/footer/FooterSimple'; +import { Sparkles } from 'lucide-react'; +import { useState } from 'react'; export default function ComparePage() { const navItems = [ - { name: "Search", id: "/" }, - { name: "Browse", id: "/browse" }, - { name: "Compare", id: "/compare" }, - { name: "Timeline", id: "/" }, - { name: "About", id: "/" }, + { name: 'Home', id: '/' }, + { name: 'Compare', id: '/compare' }, + { name: 'Timeline', id: '/timeline' }, + { name: 'FAQ', id: '#faq' }, ]; - const footerColumns = [ + const [selectedItems, setSelectedItems] = useState([]); + + const compareFeatures = [ { - items: [ - { label: "Search Database", href: "/" }, - { label: "Browse Vehicles", href: "/browse" }, - { label: "Compare Cars", href: "/compare" }, - { label: "Timeline Explorer", href: "/" }, - ], + id: 1, + title: 'Add Items to Compare', + description: 'Select multiple items from our catalog to compare side-by-side. View all key specifications and metrics at once.', + imageSrc: '/placeholders/placeholder1.jpg', }, { - items: [ - { label: "Brand Directory", href: "/" }, - { label: "Model Guide", href: "/" }, - { label: "Specifications", href: "/" }, - { label: "Production Data", href: "/" }, - ], + id: 2, + title: 'Detailed Comparison Matrix', + description: 'See differences highlighted in our comprehensive comparison matrix. Filter by category and feature importance.', + imageSrc: '/placeholders/placeholder2.jpg', }, { - items: [ - { label: "About Us", href: "/" }, - { label: "Help & Support", href: "/" }, - { label: "Contact", href: "/" }, - { label: "Contribute Data", href: "/" }, - ], + id: 3, + title: 'Export Reports', + description: 'Generate and export comparison reports in multiple formats. Share findings with your team effortlessly.', + imageSrc: '/placeholders/placeholder3.jpg', }, { - items: [ - { label: "Privacy Policy", href: "/" }, - { label: "Terms of Service", href: "/" }, - { label: "Data Attribution", href: "/" }, - { label: "Sitemap", href: "/" }, - ], + id: 4, + title: 'Save Comparisons', + description: 'Bookmark your favorite comparisons and access them anytime. Build a library of comparisons for future reference.', + imageSrc: '/placeholders/placeholder4.jpg', }, ]; return ( - + -
- +
-
- +
-