diff --git a/src/app/database/page.tsx b/src/app/database/page.tsx new file mode 100644 index 0000000..d33e432 --- /dev/null +++ b/src/app/database/page.tsx @@ -0,0 +1,160 @@ +'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'; + +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' }, + ], + }, +]; + +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.

+ +
+ + + +
+ + +
+
+ +
+ +
+ + +
+ ); +}