feat: Enhance agent profiles with dynamic fields, granular location data, and add a verified badge asset.

This commit is contained in:
pradeepkumar
2026-02-01 22:45:56 +05:30
parent ad2d2dfbf4
commit bb7706d152
5 changed files with 204 additions and 97 deletions

View File

@@ -226,7 +226,7 @@ export default function AgentProfileView() {
lastName={agentProfile.lastName}
isVerified={agentProfile.isVerified}
title={agentProfile.agentType?.name || 'Real Estate Agent'}
location={agentProfile.serviceAreas?.[0] || 'United States'}
location={agentProfile.serviceAreas?.[0] || '-'}
memberSince={formatMemberSince((agentProfile as unknown as { createdAt?: string }).createdAt)}
bio={agentProfile.bio || ''}
expertise={agentProfile.specializations || []}