-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
);
diff --git a/src/app/brands/page.tsx b/src/app/brands/page.tsx
new file mode 100644
index 0000000..2f26a1b
--- /dev/null
+++ b/src/app/brands/page.tsx
@@ -0,0 +1,25 @@
+"use client";
+
+import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
+
+const BrandsPage = () => {
+ return (
+
+
+
+
+ );
+};
+
+export default BrandsPage;
diff --git a/src/app/browse/page.tsx b/src/app/browse/page.tsx
index c79d3f2..ef89f38 100644
--- a/src/app/browse/page.tsx
+++ b/src/app/browse/page.tsx
@@ -1,159 +1,25 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
-import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
-import FeatureCardTwentyFive from "@/components/sections/feature/FeatureCardTwentyFive";
-import ProductCardTwo from "@/components/sections/product/ProductCardTwo";
-import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis";
-import Link from "next/link";
-import { Zap, Award, Sparkles, Car } from "lucide-react";
-
-export default function BrowsePage() {
- const navItems = [
- { name: "Search", id: "/" },
- { name: "Browse", id: "/browse" },
- { name: "Compare", id: "/compare" },
- { name: "Timeline", id: "/" },
- { name: "About", id: "/" },
- ];
-
- const footerColumns = [
- {
- items: [
- { label: "Search Database", href: "/" },
- { label: "Browse Vehicles", href: "/browse" },
- { label: "Compare Cars", href: "/compare" },
- { label: "Timeline Explorer", href: "/" },
- ],
- },
- {
- items: [
- { label: "Brand Directory", href: "/" },
- { label: "Model Guide", href: "/" },
- { label: "Specifications", href: "/" },
- { label: "Production Data", href: "/" },
- ],
- },
- {
- items: [
- { label: "About Us", href: "/" },
- { label: "Help & Support", href: "/" },
- { label: "Contact", href: "/" },
- { label: "Contribute Data", href: "/" },
- ],
- },
- {
- items: [
- { label: "Privacy Policy", href: "/" },
- { label: "Terms of Service", href: "/" },
- { label: "Data Attribution", href: "/" },
- { label: "Sitemap", href: "/" },
- ],
- },
- ];
+const BrowsePage = () => {
return (
-
-
-
-
-
-
-
-
-
-
-
+
+
);
-}
\ No newline at end of file
+};
+
+export default BrowsePage;
diff --git a/src/app/cars/[id]/page.tsx b/src/app/cars/[id]/page.tsx
new file mode 100644
index 0000000..740c42c
--- /dev/null
+++ b/src/app/cars/[id]/page.tsx
@@ -0,0 +1,273 @@
+"use client";
+
+import { useParams } from "next/navigation";
+import { useState } from "react";
+import { ChevronLeft, ChevronRight, Heart, Share2, MapPin, Fuel, Gauge, Calendar } from "lucide-react";
+
+interface CarDetail {
+ id: string;
+ name: string;
+ price: string;
+ rating: number;
+ description: string;
+ images: Array<{ src: string; alt: string }>;
+ specs: {
+ year: string;
+ mileage: string;
+ transmission: string;
+ fuelType: string;
+ engine: string;
+ color: string;
+ };
+ features: string[];
+ variants?: Array<{
+ label: string;
+ options: string[];
+ selected: string;
+ }>;
+}
+
+const mockCarData: { [key: string]: CarDetail } = {
+ "1": {
+ id: "1", name: "2024 Tesla Model S", price: "$89,990", rating: 5,
+ description: "Experience the future of electric vehicles with cutting-edge technology and exceptional performance.", images: [
+ { src: "https://images.unsplash.com/photo-1560958089-b8a63dd8b50b?w=800", alt: "Tesla Model S Front" },
+ { src: "https://images.unsplash.com/photo-1516814050195-3a03d82e059d?w=800", alt: "Tesla Model S Side" },
+ { src: "https://images.unsplash.com/photo-1552820728-8ac41f1ce891?w=800", alt: "Tesla Model S Interior" },
+ ],
+ specs: {
+ year: "2024", mileage: "5,200 miles", transmission: "Automatic", fuelType: "Electric", engine: "Dual Motor", color: "Solid Black"},
+ features: [
+ "Autopilot Advanced", "Premium Audio System", "Panoramic Sunroof", "19-inch Wheel Set", "Premium Interior", "Over-the-Air Updates", "Supercharger Access", "Enhanced Autopilot"],
+ },
+ "2": {
+ id: "2", name: "2024 BMW M440i xDrive", price: "$67,500", rating: 5,
+ description: "German engineering meets performance with the new M440i xDrive.", images: [
+ { src: "https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?w=800", alt: "BMW M440i Front" },
+ { src: "https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=800", alt: "BMW M440i Side" },
+ { src: "https://images.unsplash.com/photo-1533473359331-35b3c3f0f038?w=800", alt: "BMW M440i Interior" },
+ ],
+ specs: {
+ year: "2024", mileage: "8,100 miles", transmission: "Automatic", fuelType: "Gasoline", engine: "3.0L Twin-Turbo", color: "Alpine White"},
+ features: [
+ "M Sport Brake Package", "Premium Sound System", "Adaptive M Suspension", "20-inch M Light Alloy Wheels", "Harman Kardon Audio", "Gesture Control", "Head-Up Display", "Premium Leather Interior"],
+ },
+};
+
+export default function CarDetailPage() {
+ const params = useParams();
+ const carId = params.id as string;
+ const car = mockCarData[carId];
+ const [currentImageIndex, setCurrentImageIndex] = useState(0);
+ const [isFavorited, setIsFavorited] = useState(false);
+
+ if (!car) {
+ return (
+
+
+
Car Not Found
+
The car you're looking for doesn't exist.
+
Back to Home
+
+
+ );
+ }
+
+ const nextImage = () => {
+ setCurrentImageIndex((prev) => (prev + 1) % car.images.length);
+ };
+
+ const prevImage = () => {
+ setCurrentImageIndex((prev) => (prev - 1 + car.images.length) % car.images.length);
+ };
+
+ return (
+
+
+ {/* Header */}
+
+
← Back
+
{car.name}
+
{car.price}
+
+
+ {/* Image Gallery */}
+
+
+
+
![{car.images[currentImageIndex].alt}]({car.images[currentImageIndex].src})
+
+
+
+ {/* Navigation Buttons */}
+ {car.images.length > 1 && (
+ <>
+
+
+ >
+ )}
+
+ {/* Image Counter */}
+
+ {currentImageIndex + 1} / {car.images.length}
+
+
+
+ {/* Thumbnail Gallery */}
+ {car.images.length > 1 && (
+
+ {car.images.map((image, index) => (
+
+ ))}
+
+ )}
+
+
+
+ {/* Left Column - Specs & Features */}
+
+ {/* Description */}
+
+
Overview
+
{car.description}
+
+
+ {/* Key Specifications */}
+
+
Key Specifications
+
+
+
+
+ Year
+
+
{car.specs.year}
+
+
+
+
+ Mileage
+
+
{car.specs.mileage}
+
+
+
+
+ Fuel Type
+
+
{car.specs.fuelType}
+
+
+
+
+ Transmission
+
+
{car.specs.transmission}
+
+
+
+
+ {/* Additional Specs */}
+
+
Additional Details
+
+
+ Engine:
+ {car.specs.engine}
+
+
+ Color:
+ {car.specs.color}
+
+
+
+
+
+ {/* Right Column - Features & CTA */}
+
+ {/* Features */}
+
+
Features & Amenities
+
+ {car.features.map((feature, index) => (
+
+ ))}
+
+
+
+ {/* Call to Action */}
+
+
+
+
+
+
+
+
+ {/* Related Section */}
+
+
Compare Similar Vehicles
+
+ {[1, 2, 3].map((i) => (
+
+ ))}
+
+
+
+
+ );
+}
diff --git a/src/app/cars/[slug]/page.tsx b/src/app/cars/[slug]/page.tsx
index 0d96832..9ca1cc1 100644
--- a/src/app/cars/[slug]/page.tsx
+++ b/src/app/cars/[slug]/page.tsx
@@ -3,53 +3,33 @@
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import HeroSplitTestimonial from "@/components/sections/hero/HeroSplitTestimonial";
-import TextSplitAbout from "@/components/sections/about/TextSplitAbout";
+import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
+import ProductCardTwo from "@/components/sections/product/ProductCardTwo";
+import FeatureCardTwentyFive from "@/components/sections/feature/FeatureCardTwentyFive";
+import BlogCardThree from "@/components/sections/blog/BlogCardThree";
import MetricCardThree from "@/components/sections/metrics/MetricCardThree";
+import TextSplitAbout from "@/components/sections/about/TextSplitAbout";
+import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis";
-import { Car, Zap, Gauge, Award } from "lucide-react";
+import Link from "next/link";
+import {
+ Car,
+ Zap,
+ Award,
+ Sparkles,
+ Building2,
+ History,
+ Globe,
+ Mail,
+} from "lucide-react";
-export default function CarDetailPage() {
+export default function CarPage({ params }: { params: { slug: string } }) {
const navItems = [
- { name: "Search", id: "search" },
- { name: "Browse", id: "browse" },
- { name: "Compare", id: "compare" },
- { name: "Timeline", id: "timeline" },
- { name: "About", id: "about" },
- ];
-
- const footerColumns = [
- {
- items: [
- { label: "Search Database", href: "/search" },
- { label: "Browse Vehicles", href: "/browse" },
- { label: "Compare Cars", href: "/compare" },
- { label: "Timeline Explorer", href: "/timeline" },
- ],
- },
- {
- items: [
- { label: "Brand Directory", href: "/brands" },
- { label: "Model Guide", href: "/models" },
- { label: "Specifications", href: "/specs" },
- { label: "Production Data", href: "/production" },
- ],
- },
- {
- items: [
- { label: "About Us", href: "/about" },
- { label: "Help & Support", href: "/help" },
- { label: "Contact", href: "/contact" },
- { label: "Contribute Data", href: "/contribute" },
- ],
- },
- {
- items: [
- { label: "Privacy Policy", href: "/privacy" },
- { label: "Terms of Service", href: "/terms" },
- { label: "Data Attribution", href: "/attribution" },
- { label: "Sitemap", href: "/sitemap" },
- ],
- },
+ { name: "Search", id: "/search" },
+ { name: "Browse", id: "/browse" },
+ { name: "Compare", id: "/compare" },
+ { name: "Timeline", id: "/timeline" },
+ { name: "About", id: "/about" },
];
return (
@@ -59,7 +39,7 @@ export default function CarDetailPage() {
borderRadius="pill"
contentWidth="compact"
sizing="largeSmallSizeMediumTitles"
- background="aurora"
+ background="circleGradient"
cardStyle="solid"
primaryButtonStyle="gradient"
secondaryButtonStyle="solid"
@@ -67,116 +47,294 @@ export default function CarDetailPage() {
>
-