import { useState } from "react"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Search, MapPin, Home, Utensils, Calendar, ShoppingBag, Building, Dumbbell } from "lucide-react"; import heroImage from "@/assets/hero-beach.jpg"; const HeroSection = () => { const [searchQuery, setSearchQuery] = useState(""); const [location, setLocation] = useState(""); const categories = [ { icon: , title: "Appartment", count: "99+", description: "listings" }, { icon: , title: "Restaurant", count: "55+", description: "listings" }, { icon: , title: "Events/Arts", count: "55+", description: "listings" }, { icon: , title: "Shops", count: "80+", description: "listings" }, { icon: , title: "Museum", count: "96+", description: "listings" }, { icon: , title: "Gymnasiums", count: "21+", description: "listings" } ]; return ( {/* Background Overlay */} {/* Content */} {/* Header Badge */} WE ARE #1 ON THE MARKET {/* Main Heading */} We're Here To Help You{" "} Navigate{" "} While Traveling You'll get comprehensive results based on the provided location. {/* Search Bar */} setSearchQuery(e.target.value)} className="pl-12 bg-white border-0 text-gray-700 placeholder:text-gray-500 h-14 text-lg rounded-xl" /> setLocation(e.target.value)} className="pl-12 bg-white border-0 text-gray-700 placeholder:text-gray-500 h-14 text-lg rounded-xl" /> Search places {/* Category Cards Grid */} {categories.map((category, index) => ( {category.icon} {category.title} {category.count} {category.description} ))} ); }; export default HeroSection;
You'll get comprehensive results based on the provided location.