diff --git a/src/app/(agent)/layout.tsx b/src/app/(agent)/layout.tsx index 0adf3ad..3bfa024 100644 --- a/src/app/(agent)/layout.tsx +++ b/src/app/(agent)/layout.tsx @@ -25,7 +25,7 @@ export default function AgentLayout({ // Redirect non-agents to user dashboard const userRole = (session.user as any)?.role; if (userRole !== 'AGENT') { - router.replace('/user/userdashboard'); + router.replace('/user/dashboard'); } }, [session, status, router]); diff --git a/src/app/page.tsx b/src/app/page.tsx index 2329846..74067a8 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -22,7 +22,7 @@ export default function Home() { if (userRole === 'AGENT') { router.replace('/agent/dashboard'); } else { - router.replace('/user/userdashboard'); + router.replace('/user/dashboard'); } }, [session, status, router]); diff --git a/src/components/home/HeroSection.tsx b/src/components/home/HeroSection.tsx index ec0340e..65ba315 100644 --- a/src/components/home/HeroSection.tsx +++ b/src/components/home/HeroSection.tsx @@ -6,19 +6,15 @@ import Image from 'next/image'; const propertyTypes = [ { value: '', label: 'Types' }, - { value: 'residential', label: 'Residential' }, - { value: 'commercial', label: 'Commercial' }, - { value: 'luxury', label: 'Luxury Homes' }, - { value: 'rentals', label: 'Rentals' }, + { value: 'professionals', label: 'Professionals' }, + { value: 'lenders', label: 'Lenders' }, ]; const categories = [ { value: '', label: 'Categories' }, - { value: 'luxury-broker', label: 'Luxury Broker' }, - { value: 'buying', label: 'Buying Agent' }, - { value: 'selling', label: 'Selling Agent' }, - { value: 'investment', label: 'Investment' }, - { value: 'property-management', label: 'Property Management' }, + { value: 'luxury-homes', label: 'Luxury Homes' }, + { value: 'commercial', label: 'Commercial' }, + { value: 'mortgages', label: 'Mortgages' }, ]; @@ -67,12 +63,15 @@ export function HeroSection() { /> -
+ Discover verified, top-rated real estate professionals +