From 317f7e74021607cc4ba22c9395459793ab3ea475 Mon Sep 17 00:00:00 2001 From: pradeepkumar Date: Fri, 27 Mar 2026 06:47:53 +0530 Subject: [PATCH] feat: Introduce `alwaysShow` prop for MobileBackButton to control visibility and apply minor UI refinements to specialization cards and chat header. --- src/app/(agent)/agent/edit/page.tsx | 2 +- src/app/(user)/user/profile/[id]/page.tsx | 2 +- src/app/support/chat/page.tsx | 2 +- src/components/layout/MobileBackButton.tsx | 5 +++-- src/components/profile/SpecializationCard.tsx | 2 +- src/components/profile/SpecializationSection.tsx | 4 ++-- 6 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/app/(agent)/agent/edit/page.tsx b/src/app/(agent)/agent/edit/page.tsx index 050298b..855bf23 100644 --- a/src/app/(agent)/agent/edit/page.tsx +++ b/src/app/(agent)/agent/edit/page.tsx @@ -366,7 +366,7 @@ export default function EditProfilePage() { return (
- +
{/* Left Sidebar - Quick Links */}
diff --git a/src/app/(user)/user/profile/[id]/page.tsx b/src/app/(user)/user/profile/[id]/page.tsx index d61ae53..5ded245 100644 --- a/src/app/(user)/user/profile/[id]/page.tsx +++ b/src/app/(user)/user/profile/[id]/page.tsx @@ -278,7 +278,7 @@ export default function AgentProfileView() { return (
- + {/* Main Layout - Responsive: Column on mobile, Row on desktop */}
{/* Left Sidebar - Status & Contact */} diff --git a/src/app/support/chat/page.tsx b/src/app/support/chat/page.tsx index a4ef733..eea4e1c 100644 --- a/src/app/support/chat/page.tsx +++ b/src/app/support/chat/page.tsx @@ -277,7 +277,7 @@ export default function SupportChatPage() { {/* Chat Area */}
{/* Chat Header */} -
+
{ @@ -23,7 +24,7 @@ export function MobileBackButton({ label, fallbackHref }: MobileBackButtonProps) return (