mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-23 04:31:09 -05:00
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
This commit is contained in:
@@ -13,8 +13,8 @@ Converts existing button component to use Django Cotton's component system
|
||||
type="type|default:'button'"
|
||||
disabled="disabled|default:''"
|
||||
onclick="onclick|default:''"
|
||||
x_data="x_data"
|
||||
x_on="x_on"
|
||||
x_data="x_data|default:''"
|
||||
x_on="x_on|default:''"
|
||||
hx_get="hx_get|default:''"
|
||||
hx_post="hx_post|default:''"
|
||||
hx_target="hx_target|default:''"
|
||||
|
||||
Reference in New Issue
Block a user