From c73fdbfba426ad76d37fa34e4088d40e8acc1603 Mon Sep 17 00:00:00 2001 From: James Kolpack Date: Tue, 6 Jan 2026 15:07:55 -0500 Subject: [PATCH] Update MainLayout.razor to conditionally render app bar title based on drawer state Modified the MainLayout component to display the app bar title only when the drawer is closed, enhancing the layout's responsiveness and user experience. This change improves the visual clarity of the application when navigating between different sections. --- WebApp/Components/Shared/Layout/MainLayout.razor | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/WebApp/Components/Shared/Layout/MainLayout.razor b/WebApp/Components/Shared/Layout/MainLayout.razor index cf7d7cf..b63b9df 100644 --- a/WebApp/Components/Shared/Layout/MainLayout.razor +++ b/WebApp/Components/Shared/Layout/MainLayout.razor @@ -9,9 +9,12 @@ - - TSA Chapter Organizer - @Configuration["ChapterSettings:Name"] - + @if (!_drawerOpen) + { + + TSA Chapter Organizer - @Configuration["ChapterSettings:Name"] + + }