From b93c62372dcd75d9972c5bece7c0ea4b046a46c1 Mon Sep 17 00:00:00 2001 From: Ho Ngoc Hai Date: Sun, 19 Apr 2026 09:19:19 +0700 Subject: [PATCH] fix(web): tighten PublicLayout header on mobile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The header on --- apps/web/app/[locale]/(public)/layout.tsx | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/apps/web/app/[locale]/(public)/layout.tsx b/apps/web/app/[locale]/(public)/layout.tsx index 15807a7..9841034 100644 --- a/apps/web/app/[locale]/(public)/layout.tsx +++ b/apps/web/app/[locale]/(public)/layout.tsx @@ -80,15 +80,19 @@ export default function PublicLayout({ children }: { children: React.ReactNode } ))} -
+
{user ? ( <> - - + {/* Bell only on sm+ to avoid overcrowding mobile header */} +
+ +
+ {user.fullName} - + {/* Dashboard button is desktop-only; mobile users reach it via the hamburger menu */} + @@ -106,8 +110,10 @@ export default function PublicLayout({ children }: { children: React.ReactNode } )} {/* Mobile menu toggle */}