diff --git a/src/app/(user)/layout.tsx b/src/app/(user)/layout.tsx index c9d0646..db606b8 100644 --- a/src/app/(user)/layout.tsx +++ b/src/app/(user)/layout.tsx @@ -95,7 +95,7 @@ export default function UserLayout({ ) : ( <> {/* Regular Header for other pages */} -
+
diff --git a/src/app/(user)/user/profiles/page.tsx b/src/app/(user)/user/profiles/page.tsx index edfe3cf..7333b19 100644 --- a/src/app/(user)/user/profiles/page.tsx +++ b/src/app/(user)/user/profiles/page.tsx @@ -320,9 +320,13 @@ function ProfileCard({ profile, resolvedAvatarUrl }: ProfileCardProps) {
{/* Match Badge */} -
- 95% Match -
+ {profile.matchPercentage && ( +
= 80 ? 'bg-[#638559]' : profile.matchPercentage >= 65 ? 'bg-[#7d917d]' : 'bg-[#00293d]/60' + }`}> + {profile.matchPercentage}% Match +
+ )}
{/* Location & Member Since */} @@ -613,7 +617,7 @@ function ProfilesPageContent() {
{/* Left Sidebar - hidden on mobile */} -
+
{/* Listing Type */}

Listing Type

@@ -698,13 +702,13 @@ function ProfilesPageContent() { value={searchQuery} onChange={(e) => setSearchQuery(e.target.value)} onKeyDown={(e) => e.key === 'Enter' && handleSearch()} - className="w-full h-[44px] px-4 pr-12 rounded-[10px] border border-[#00293d]/20 bg-white font-serif text-[14px] text-[#00293d] placeholder:text-[#00293d]/50 focus:outline-none focus:border-[#e58625]" + className="w-full h-[52px] px-5 pr-[80px] rounded-[15px] border border-[#00293d]/20 bg-white font-fractul font-light text-[14px] text-[#00293d] placeholder:text-[#00293d]/50 focus:outline-none focus:border-[#e58625]" /> diff --git a/src/services/agents.service.ts b/src/services/agents.service.ts index fb972b4..e43ad4a 100644 --- a/src/services/agents.service.ts +++ b/src/services/agents.service.ts @@ -134,6 +134,7 @@ export interface PublicAgentProfile { agentType: AgentType | null; createdAt?: string; fieldValues?: AgentFieldValue[]; + matchPercentage?: number; } export interface SearchAgentsResponse {