diff --git a/public/assets/icons/agents-tab-icon.svg b/public/assets/icons/agents-tab-icon.svg
new file mode 100644
index 0000000..1c170f0
--- /dev/null
+++ b/public/assets/icons/agents-tab-icon.svg
@@ -0,0 +1,3 @@
+
diff --git a/public/assets/icons/building-icon.svg b/public/assets/icons/building-icon.svg
new file mode 100644
index 0000000..5deec48
--- /dev/null
+++ b/public/assets/icons/building-icon.svg
@@ -0,0 +1,3 @@
+
diff --git a/public/assets/icons/lenders-tab-icon.svg b/public/assets/icons/lenders-tab-icon.svg
new file mode 100644
index 0000000..99eb38d
--- /dev/null
+++ b/public/assets/icons/lenders-tab-icon.svg
@@ -0,0 +1,3 @@
+
diff --git a/public/assets/icons/star-rating-filled.svg b/public/assets/icons/star-rating-filled.svg
new file mode 100644
index 0000000..da748e7
--- /dev/null
+++ b/public/assets/icons/star-rating-filled.svg
@@ -0,0 +1,3 @@
+
diff --git a/public/assets/icons/star-rating-icon.svg b/public/assets/icons/star-rating-icon.svg
new file mode 100644
index 0000000..f79a67e
--- /dev/null
+++ b/public/assets/icons/star-rating-icon.svg
@@ -0,0 +1,3 @@
+
diff --git a/public/assets/icons/verified-badge-green.svg b/public/assets/icons/verified-badge-green.svg
new file mode 100644
index 0000000..f5ad133
--- /dev/null
+++ b/public/assets/icons/verified-badge-green.svg
@@ -0,0 +1,3 @@
+
diff --git a/public/assets/images/professional-1.jpg b/public/assets/images/professional-1.jpg
new file mode 100644
index 0000000..4c913aa
Binary files /dev/null and b/public/assets/images/professional-1.jpg differ
diff --git a/public/assets/images/professional-2.jpg b/public/assets/images/professional-2.jpg
new file mode 100644
index 0000000..b6c4e31
Binary files /dev/null and b/public/assets/images/professional-2.jpg differ
diff --git a/public/assets/images/professional-3.jpg b/public/assets/images/professional-3.jpg
new file mode 100644
index 0000000..45c8145
Binary files /dev/null and b/public/assets/images/professional-3.jpg differ
diff --git a/src/app/(user)/user/dashboard/page.tsx b/src/app/(user)/user/dashboard/page.tsx
index ab9875d..4338db8 100644
--- a/src/app/(user)/user/dashboard/page.tsx
+++ b/src/app/(user)/user/dashboard/page.tsx
@@ -2,7 +2,6 @@
import { HeroSection } from '@/components/home/HeroSection';
import { FeaturesSection } from '@/components/home/FeaturesSection';
-import { FeaturedAgents } from '@/components/home/FeaturedAgents';
import { TopProfessionals } from '@/components/home/TopProfessionals';
import { TestimonialsSection } from '@/components/home/TestimonialsSection';
@@ -11,7 +10,6 @@ export default function UserDashboard() {
-
diff --git a/src/components/home/FeaturedAgents.tsx b/src/components/home/FeaturedAgents.tsx
deleted file mode 100644
index 6b1c182..0000000
--- a/src/components/home/FeaturedAgents.tsx
+++ /dev/null
@@ -1,68 +0,0 @@
-'use client';
-
-import { AgentCard } from '../ui/AgentCard';
-
-// Sample featured agents data
-const featuredAgents = [
- {
- id: '1',
- name: 'Andrew Collins',
- title: 'Rental & Investment Consultant',
- location: 'New York',
- rating: 4.8,
- reviewCount: 124,
- experience: '8+ years in the real estate industry',
- expertise: ['Residential', 'Commercial', 'Investment'],
- imageUrl: 'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=400&h=400&fit=crop',
- isVerified: true,
- },
- {
- id: '2',
- name: 'Dempsi',
- title: 'Real Estate & Investment Consultant',
- location: 'Atlanta',
- rating: 4.9,
- reviewCount: 98,
- experience: '5+ years in the real estate industry',
- expertise: ['Luxury Homes', 'First-time Buyers'],
- imageUrl: 'https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=400&h=400&fit=crop',
- isVerified: true,
- },
- {
- id: '3',
- name: 'Daniel',
- title: 'Rental & Investment Consultant',
- location: 'San Diego',
- rating: 4.7,
- reviewCount: 156,
- experience: '7 years in the real estate industry',
- expertise: ['Property Management', 'Rentals'],
- imageUrl: 'https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=400&h=400&fit=crop',
- isVerified: true,
- },
-];
-
-export function FeaturedAgents() {
- return (
-
-
-
- {featuredAgents.map((agent) => (
-
- ))}
-
-
-
- );
-}
diff --git a/src/components/home/TopProfessionals.tsx b/src/components/home/TopProfessionals.tsx
index 3e0c152..0a62aef 100644
--- a/src/components/home/TopProfessionals.tsx
+++ b/src/components/home/TopProfessionals.tsx
@@ -2,46 +2,36 @@
import { useState } from 'react';
import Link from 'next/link';
-import { AgentCard } from '../ui/AgentCard';
-import { Button } from '../ui/Button';
+import Image from 'next/image';
// Sample agents data for tabs
const agentsData = [
{
id: '1',
name: 'Arjun Mehta',
- title: 'Professional/General Agent',
+ subtitle: '(Residential Property Expert)',
location: 'San Francisco, CA',
- rating: 4.9,
- reviewCount: 87,
- experience: '6+ years in the real estate industry',
- expertise: ['Residential', 'Luxury', 'Commercial'],
- imageUrl: 'https://images.unsplash.com/photo-1560250097-0b93528c311a?w=400&h=400&fit=crop',
- isVerified: true,
+ experience: '10+ years in the real estate industry.',
+ expertise: ['Residential', 'Rental', 'Commercial', 'Inspection', 'Land', 'Rental'],
+ imageUrl: '/assets/images/professional-1.jpg',
},
{
id: '2',
name: 'Arjun Mehta',
- title: 'Top-tier Real Agent',
+ subtitle: '(Residential Property Expert)',
location: 'San Francisco, CA',
- rating: 4.8,
- reviewCount: 65,
- experience: '8+ years in the real estate industry',
- expertise: ['Investment', 'Commercial', 'Property Management'],
- imageUrl: 'https://images.unsplash.com/photo-1519085360753-af0119f7cbe7?w=400&h=400&fit=crop',
- isVerified: true,
+ experience: '10+ years in the real estate industry.',
+ expertise: ['Residential', 'Rental', 'Commercial', 'Inspection', 'Land', 'Rental'],
+ imageUrl: '/assets/images/professional-2.jpg',
},
{
id: '3',
name: 'Arjun Mehta',
- title: 'Verified Real Agent',
+ subtitle: '(Residential Property Expert)',
location: 'San Francisco, CA',
- rating: 4.7,
- reviewCount: 42,
- experience: '6+ years in the real estate industry',
- expertise: ['Residential', 'First-time Buyers', 'Rentals'],
- imageUrl: 'https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?w=400&h=400&fit=crop',
- isVerified: true,
+ experience: '10+ years in the real estate industry.',
+ expertise: ['Residential', 'Rental', 'Commercial', 'Inspection', 'Land', 'Rental'],
+ imageUrl: '/assets/images/professional-3.jpg',
},
];
@@ -49,119 +39,243 @@ const lendersData = [
{
id: '4',
name: 'Sarah Johnson',
- title: 'Mortgage Specialist',
+ subtitle: '(Mortgage Specialist)',
location: 'Los Angeles, CA',
- rating: 4.9,
- reviewCount: 112,
- experience: '10+ years in mortgage lending',
- expertise: ['FHA Loans', 'Conventional', 'VA Loans'],
- imageUrl: 'https://images.unsplash.com/photo-1580489944761-15a19d654956?w=400&h=400&fit=crop',
- isVerified: true,
+ experience: '10+ years in mortgage lending.',
+ expertise: ['FHA Loans', 'Conventional', 'VA Loans', 'Refinancing', 'Jumbo'],
+ imageUrl: '/assets/images/professional-1.jpg',
},
{
id: '5',
name: 'Michael Chen',
- title: 'Senior Loan Officer',
+ subtitle: '(Senior Loan Officer)',
location: 'Seattle, WA',
- rating: 4.8,
- reviewCount: 89,
- experience: '7+ years in lending',
- expertise: ['Jumbo Loans', 'Refinancing', 'Investment'],
- imageUrl: 'https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=400&h=400&fit=crop',
- isVerified: true,
+ experience: '7+ years in lending.',
+ expertise: ['Jumbo Loans', 'Refinancing', 'Investment', 'First-time', 'USDA'],
+ imageUrl: '/assets/images/professional-2.jpg',
},
{
id: '6',
name: 'Emily Davis',
- title: 'Home Loan Advisor',
+ subtitle: '(Home Loan Advisor)',
location: 'Austin, TX',
- rating: 4.7,
- reviewCount: 76,
- experience: '5+ years in mortgage industry',
- expertise: ['First-time Buyers', 'FHA', 'USDA Loans'],
- imageUrl: 'https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=400&h=400&fit=crop',
- isVerified: true,
+ experience: '5+ years in mortgage industry.',
+ expertise: ['First-time Buyers', 'FHA', 'USDA Loans', 'VA Loans', 'Conventional'],
+ imageUrl: '/assets/images/professional-3.jpg',
},
];
+interface ProfessionalCardProps {
+ name: string;
+ subtitle: string;
+ location: string;
+ experience: string;
+ expertise: string[];
+ imageUrl: string;
+}
+
+function ProfessionalCard({
+ name,
+ subtitle,
+ location,
+ experience,
+ expertise,
+ imageUrl,
+}: ProfessionalCardProps) {
+ return (
+
+ {/* Image */}
+
+
+
+
+ {/* Content */}
+
+ {/* Name */}
+
+ {name}
+
+
+ {/* Subtitle */}
+
+ {subtitle}
+
+
+ {/* Verified Badge */}
+
+
+
+ “Verified local agent”
+
+
+
+ {/* Location */}
+
+
+ Location:
+
+
+
+
+ {location}
+
+
+
+
+ {/* Expertise */}
+
+
+ Expertise:
+
+
+ {expertise.slice(0, 6).map((tag, index) => (
+
+ {tag}
+
+ ))}
+
+
+
+ {/* Experience */}
+
+ Experience:
+ {experience}
+
+
+ {/* Star Rating */}
+
+ {[...Array(5)].map((_, i) => (
+
+ ))}
+
+
+
+ );
+}
+
export function TopProfessionals() {
const [activeTab, setActiveTab] = useState<'agents' | 'lenders'>('agents');
const displayData = activeTab === 'agents' ? agentsData : lendersData;
return (
-
+
{/* Section Header */}
-
+
“Meet top real estate professionals”
- {/* Tabs */}
-
-
-
-
+ {/* Tabs Container */}
+
+
+ {/* Agents Tab */}
+
- {/* Cards Grid */}
-
- {displayData.map((professional) => (
-
- ))}
+ {/* Divider */}
+
- {/* Browse Experts CTA Card */}
-
-
- Discover 6,000+ Top Real Estate Agents in Our Network
-
-
-
-
+ {/* Lenders Tab */}
+
- {/* Pagination Dots */}
-
- {[0, 1, 2, 3].map((dot) => (
-