diff --git a/src/components/home/HeroSection.tsx b/src/components/home/HeroSection.tsx index 19d7758..ec0340e 100644 --- a/src/components/home/HeroSection.tsx +++ b/src/components/home/HeroSection.tsx @@ -21,11 +21,6 @@ const categories = [ { value: 'property-management', label: 'Property Management' }, ]; -const quickFilters = [ - { label: 'Professionals', value: 'professionals' }, - { label: 'Lenders', value: 'lenders' }, - { label: 'Agent', value: 'agent' }, -]; export function HeroSection() { const router = useRouter(); @@ -75,42 +70,39 @@ export function HeroSection() {
{/* Headline */}
-

+

“Discover verified, top-rated real estate professionals to guide your buying, selling, or investing journey.”

-

- “Discover verified, top-rated real estate professionals.” -

{/* Search Form */}
-
-
+
+
{/* Type Select */} -
+
{openDropdown === 'type' && ( -
- {propertyTypes.map((type) => ( +
+ {propertyTypes.slice(1).map((type, index, arr) => ( @@ -120,51 +112,51 @@ export function HeroSection() {
{/* Name Input */} -
+
setSearchParams({ ...searchParams, name: e.target.value })} - className="w-full px-4 py-3 rounded-[10px] border-2 border-[#e58625] bg-white font-serif text-sm text-[#00293d] placeholder:text-[#00293d]/50 focus:outline-none focus:ring-2 focus:ring-[#e58625]/30" + className="w-full h-[42px] px-4 rounded-[7px] border border-[#00293d]/10 bg-white font-serif text-sm text-[#00293d] placeholder:text-[#00293d] focus:outline-none" />
{/* Location Input */} -
+
setSearchParams({ ...searchParams, location: e.target.value })} - className="w-full px-4 py-3 rounded-[10px] border-2 border-[#e58625] bg-white font-serif text-sm text-[#00293d] placeholder:text-[#00293d]/50 focus:outline-none focus:ring-2 focus:ring-[#e58625]/30" + className="w-full h-[42px] px-4 rounded-[7px] border border-[#00293d]/10 bg-white font-serif text-sm text-[#00293d] placeholder:text-[#00293d] focus:outline-none" />
{/* Category Select */} -
+
{openDropdown === 'category' && ( -
- {categories.map((cat) => ( +
+ {categories.slice(1).map((cat, index, arr) => ( @@ -174,35 +166,17 @@ export function HeroSection() {
{/* Search Button */} -
+
- - {/* Quick Filter Links */} -
- {quickFilters.map((filter, index) => ( - - - {index < quickFilters.length - 1 && ( - | - )} - - ))} -
{/* See All Agents Button */}