From a2501562a8256f84b5f34497eb78ed435f9293e8 Mon Sep 17 00:00:00 2001 From: pac7 <47831526-pac7@users.noreply.replit.com> Date: Sun, 21 Sep 2025 13:56:18 +0000 Subject: [PATCH] Improve header navigation and user account access for mobile Update `enhanced_header.html` to conditionally render mobile navigation links for login and signup based on user authentication status. Adjustments made to `.hidden md:flex` and `.md:hidden` classes for proper display. Additionally, modify `button.html` component to provide default empty strings for `x_data` and `x_on` attributes. Replit-Commit-Author: Agent Replit-Commit-Session-Id: eff39de1-3afa-446d-a965-acaf61837fc7 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/d6d61dac-164d-45dd-929f-7dcdfd771b64/eff39de1-3afa-446d-a965-acaf61837fc7/W8ptmMg --- .../components/layout/enhanced_header.html | 33 +++++++++++++++++-- backend/templates/cotton/ui/button.html | 4 +-- 2 files changed, 33 insertions(+), 4 deletions(-) diff --git a/backend/templates/components/layout/enhanced_header.html b/backend/templates/components/layout/enhanced_header.html index 773e40c1..d7165065 100644 --- a/backend/templates/components/layout/enhanced_header.html +++ b/backend/templates/components/layout/enhanced_header.html @@ -309,7 +309,7 @@ Includes: Browse menu, advanced search, theme toggle, user dropdown, mobile menu {% else %} -
+