Update src/app/specifications/page.tsx
This commit is contained in:
@@ -1,100 +1,45 @@
|
||||
'use client';
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from '@/components/theme/ThemeProvider';
|
||||
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
|
||||
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
|
||||
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
||||
import { TrendingUp, Zap, Gauge, Fuel, Weight, Disc3 } from 'lucide-react';
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
||||
|
||||
const navItems = [
|
||||
{ name: 'Home', id: '/' },
|
||||
{ name: 'Browse Cars', id: '/cars' },
|
||||
{ name: 'Specifications', id: '/specifications' },
|
||||
{ name: 'Compare', id: '/compare' },
|
||||
{ name: 'Database', id: '/database' },
|
||||
];
|
||||
|
||||
const specMetrics = [
|
||||
{ id: '1', icon: TrendingUp, title: 'Horsepower', value: '250-2000+ HP' },
|
||||
{ id: '2', icon: Zap, title: 'Torque', value: '200-1100 lb-ft' },
|
||||
{ id: '3', icon: Gauge, title: 'Acceleration', value: '2.5-12s (0-60)' },
|
||||
{ id: '4', icon: Fuel, title: 'Fuel Efficiency', value: '10-150+ MPGe' },
|
||||
{ id: '5', icon: Weight, title: 'Curb Weight', value: '2,000-4,500 lbs' },
|
||||
{ id: '6', icon: Disc3, title: 'Tire Size', value: '16-23 inches' },
|
||||
];
|
||||
|
||||
const footerColumns = [
|
||||
{
|
||||
title: 'Browse',
|
||||
items: [
|
||||
{ label: 'All Cars', href: '/cars' },
|
||||
{ label: 'By Make', href: '/makes' },
|
||||
{ label: 'By Year', href: '/years' },
|
||||
{ label: 'New Releases', href: '/new' },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Tools',
|
||||
items: [
|
||||
{ label: 'Compare Vehicles', href: '/compare' },
|
||||
{ label: 'Search Database', href: '/database' },
|
||||
{ label: 'Specifications', href: '/specifications' },
|
||||
{ label: 'Reviews', href: '/reviews' },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Company',
|
||||
items: [
|
||||
{ label: 'About Us', href: '/about' },
|
||||
{ label: 'Contact', href: '/contact' },
|
||||
{ label: 'Blog', href: '/blog' },
|
||||
{ label: 'Careers', href: '/careers' },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Legal',
|
||||
items: [
|
||||
{ label: 'Privacy Policy', href: '/privacy' },
|
||||
{ label: 'Terms of Service', href: '/terms' },
|
||||
{ label: 'Cookie Policy', href: '/cookies' },
|
||||
{ label: 'Disclaimer', href: '/disclaimer' },
|
||||
],
|
||||
},
|
||||
const testCarImages = [
|
||||
'https://images.unsplash.com/photo-1552519507-da3a142c6e3d?w=800&q=80',
|
||||
'https://images.unsplash.com/photo-1494976866105-d32a481b81b4?w=800&q=80',
|
||||
'https://images.unsplash.com/photo-1527524330007-3ea4e06ed667?w=800&q=80',
|
||||
];
|
||||
|
||||
export default function SpecificationsPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="icon-arrow"
|
||||
defaultButtonVariant="text-stagger"
|
||||
defaultTextAnimation="entrance-slide"
|
||||
borderRadius="rounded"
|
||||
contentWidth="mediumLarge"
|
||||
sizing="large"
|
||||
background="aurora"
|
||||
contentWidth="medium"
|
||||
sizing="medium"
|
||||
background="circleGradient"
|
||||
cardStyle="glass-elevated"
|
||||
primaryButtonStyle="gradient"
|
||||
secondaryButtonStyle="glass"
|
||||
headingFontWeight="bold"
|
||||
headingFontWeight="normal"
|
||||
>
|
||||
<NavbarStyleApple navItems={navItems} brandName="CarDB" />
|
||||
|
||||
<div id="specifications" data-section="specifications" className="pt-24">
|
||||
<MetricCardThree
|
||||
metrics={specMetrics}
|
||||
title="Vehicle Specifications"
|
||||
description="Comprehensive specification ranges across our database of thousands of vehicles."
|
||||
textboxLayout="default"
|
||||
animationType="slide-up"
|
||||
useInvertedBackground={false}
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingOverlay
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Browse", id: "browse" },
|
||||
{ name: "Compare", id: "compare" },
|
||||
]}
|
||||
brandName="Webild"
|
||||
button={{ text: "Search", href: "search" }}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterSimple
|
||||
columns={footerColumns}
|
||||
bottomLeftText="© 2025 Universal Car Database. All rights reserved."
|
||||
bottomRightText="Made with precision and passion"
|
||||
/>
|
||||
<div className="min-h-screen flex items-center justify-center p-4">
|
||||
<div className="text-center">
|
||||
<h1 className="text-4xl font-bold mb-4">Car Specifications</h1>
|
||||
<p className="text-lg text-gray-600">Detailed technical specifications for vehicles</p>
|
||||
</div>
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user