From 90d83e78cbfeef013b9845dbc89d77f50fc1cd73 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 6 Mar 2026 19:47:57 +0000 Subject: [PATCH] Update src/app/database/page.tsx --- src/app/database/page.tsx | 168 ++++++-------------------------------- 1 file changed, 27 insertions(+), 141 deletions(-) diff --git a/src/app/database/page.tsx b/src/app/database/page.tsx index d33e432..c701295 100644 --- a/src/app/database/page.tsx +++ b/src/app/database/page.tsx @@ -1,160 +1,46 @@ -'use client'; +"use client"; -import { ThemeProvider } from '@/components/theme/ThemeProvider'; -import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple'; -import FeatureCardMedia from '@/components/sections/feature/FeatureCardMedia'; -import FooterSimple from '@/components/sections/footer/FooterSimple'; -import { useState } from 'react'; -import Input from '@/components/form/Input'; +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 databaseFeatures = [ - { - id: '1', - title: 'Advanced Search Filters', - description: 'Search by make, model, year, engine type, fuel efficiency, price range, and hundreds of other parameters.', - tag: 'Search', - imageSrc: '/feature-search.jpg', - }, - { - id: '2', - title: 'Detailed Specifications', - description: 'Access complete technical data including engine specs, dimensions, performance metrics, and safety ratings.', - tag: 'Details', - imageSrc: '/feature-specs.jpg', - }, - { - id: '3', - title: 'Real-time Data', - description: 'Stay updated with the latest vehicle information, pricing, availability, and market trends.', - tag: 'Updated', - imageSrc: '/feature-realtime.jpg', - }, -]; - -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 DatabasePage() { - const [searchQuery, setSearchQuery] = useState(''); - const [make, setMake] = useState(''); - const [year, setYear] = useState(''); - - const handleSearch = () => { - console.log('Search:', { searchQuery, make, year }); - }; - return ( - + -
-
-

Search Our Database

-

Find the perfect vehicle with our comprehensive search tools and filters.

- -
- - - -
- - +
+
+

Car Database

+

Complete vehicle database with advanced search

- -
- -
- - ); }