This commit is contained in:
pacnpal
2025-10-04 14:34:37 +00:00
97 changed files with 6202 additions and 1347 deletions

View File

@@ -33,14 +33,7 @@ export function HeroSearch() {
];
const handleSearch = () => {
if (!searchTerm.trim()) return;
const params = new URLSearchParams();
params.set('q', searchTerm);
if (selectedType !== 'all') params.set('type', selectedType);
if (selectedCountry !== 'all') params.set('country', selectedCountry);
navigate(`/search?${params.toString()}`);
// Search functionality handled by AutocompleteSearch component in Header
};
return (