From b19991ed7ba1a424a3ec798fe5a06b9dbd34d2b8 Mon Sep 17 00:00:00 2001 From: pradeepkumar Date: Thu, 19 Mar 2026 18:18:44 +0530 Subject: [PATCH] refactor: adjust profile page layout by removing scrollable profile cards and updating header navigation positioning. --- src/app/(user)/user/profiles/page.tsx | 14 +++++++------- src/components/home/TopProfessionals.tsx | 18 ++++++++++++++---- src/components/layout/CommonHeader.tsx | 6 +++--- 3 files changed, 24 insertions(+), 14 deletions(-) diff --git a/src/app/(user)/user/profiles/page.tsx b/src/app/(user)/user/profiles/page.tsx index 221a4f8..cb47e69 100644 --- a/src/app/(user)/user/profiles/page.tsx +++ b/src/app/(user)/user/profiles/page.tsx @@ -610,8 +610,8 @@ function ProfilesPageContent() {
- {/* Left Sidebar - hidden on mobile */} -
+ {/* Left Sidebar - hidden on mobile, sticky */} +
{/* Listing Type */}

Listing Type

@@ -772,18 +772,18 @@ function ProfilesPageContent() {
)} - {/* Profile Cards - scrollable container */} + {/* Profile Cards - nested scroll matching filter sidebar height */} {!loading && !error && agents.length > 0 && ( -
-
+
+
{agents.map((profile) => ( ))}
- {/* Pagination */} + {/* Pagination - sticky at bottom of scroll area */} {totalPages > 1 && ( -
+
+ )}
)} diff --git a/src/components/layout/CommonHeader.tsx b/src/components/layout/CommonHeader.tsx index 00ff71d..068ed8c 100644 --- a/src/components/layout/CommonHeader.tsx +++ b/src/components/layout/CommonHeader.tsx @@ -57,7 +57,7 @@ export function CommonHeader() { return (
-
+
{/* Logo */} - {/* Navigation - Desktop only (centered) */} -