import { useState } from 'react'; import { useNavigate } from 'react-router-dom'; import { Search, MapPin, Calendar, Filter } from 'lucide-react'; import { Input } from '@/components/ui/input'; import { Button } from '@/components/ui/button'; import { Badge } from '@/components/ui/badge'; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select'; export function HeroSearch() { const navigate = useNavigate(); const [searchTerm, setSearchTerm] = useState(''); const [selectedType, setSelectedType] = useState('all'); const [selectedCountry, setSelectedCountry] = useState('all'); const popularSearches = [ 'Cedar Point', 'Disney World', 'Europa-Park', 'Six Flags Magic Mountain', 'Alton Towers', 'Roller Coasters', 'Theme Parks', 'Water Parks' ]; const parkTypes = [ { value: 'all', label: 'All Parks' }, { value: 'theme_park', label: 'Theme Parks' }, { value: 'amusement_park', label: 'Amusement Parks' }, { value: 'water_park', label: 'Water Parks' } ]; const countries = [ { value: 'all', label: 'All Countries' }, { value: 'United States', label: 'United States' }, { value: 'Germany', label: 'Germany' }, { value: 'United Kingdom', label: 'United Kingdom' }, { value: 'Netherlands', label: 'Netherlands' } ]; const handleSearch = () => { // Search functionality handled by AutocompleteSearch component in Header }; return (
Popular searches: