+ {/* Name and Verified Badge */}
-
- {profile.firstName} {profile.lastName}
+
+ {profile.firstName}{' '}
+ {profile.lastName}
{profile.isVerified && (
-
+ <>
- (Verified Expert)
-
+
+ (Verified Expert)
+
+ >
)}
-
+ {/* Agent Type */}
+
{profile.agentType?.name || 'Real Estate Professional'}
- {profile.rating && (
-
- {profile.rating.toFixed(1)} Rating
-
- )}
+
+ {/* Match Badge */}
+
+ 95% Match
+
- {profile.serviceAreas && profile.serviceAreas.length > 0 && (
-
+
+ {location && (
+
- {profile.serviceAreas[0]}
+
+ {location}
+
)}
-
+
-
+
Member Since {formatMemberSince(profile.createdAt)}
- {/* Bio */}
- {profile.bio && (
-
- {showFullBio ? profile.bio : truncatedBio}
- {profile.bio.length > 150 && (
-
- )}
-
+ {/* Description */}
+ {description && (
+
+
+ {showFullBio ? description : truncatedDescription}
+ {description.length > 200 && (
+ <>
+ {' '}
+
+ >
+ )}
+
+
)}
- {/* Specializations */}
- {profile.specializations && profile.specializations.length > 0 && (
+ {/* Expertise Tags */}
+ {expertiseTags.length > 0 && (
-
Expertise:
-
- {profile.specializations.map((tag, index) => (
+
Expertise:
+
+ {(showAllTags ? expertiseTags : expertiseTags.slice(0, 8)).map((tag, index) => (
{tag}
))}
+ {expertiseTags.length > 8 && (
+
+ )}
)}
-
- {/* Languages */}
- {profile.languages && profile.languages.length > 0 && (
-
- {profile.languages.map((lang, index) => (
-
- {lang}
-
- ))}
-
- )}
);
@@ -398,17 +493,15 @@ function ProfilesPageContent() {
@@ -424,7 +517,7 @@ function ProfilesPageContent() {
className="text-[#00293d] hover:opacity-70"
>
@@ -471,7 +564,7 @@ function ProfilesPageContent() {
className="absolute right-2 top-1/2 -translate-y-1/2 w-[36px] h-[36px] bg-[#e58625] rounded-[8px] flex items-center justify-center"
>
@@ -481,11 +574,10 @@ function ProfilesPageContent() {
@@ -493,24 +585,16 @@ function ProfilesPageContent() {
))}
- {/* Results Count */}
- {!loading && (
-
- {totalResults} {totalResults === 1 ? 'agent' : 'agents'} found
-
- )}
-
{/* Loading State */}
{loading && (
diff --git a/src/components/profile/ContactInfo.tsx b/src/components/profile/ContactInfo.tsx
index 45797e4..09f458a 100644
--- a/src/components/profile/ContactInfo.tsx
+++ b/src/components/profile/ContactInfo.tsx
@@ -29,12 +29,12 @@ export function ContactInfo({ email, phone }: ContactInfoProps) {
return (
- Email:
-
+ Email:
+
{showEmail ? email : maskEmail(email)}
- Ph.No:
-
+ Ph.No:
+
{showPhone ? phone : maskPhone(phone)}