fix: remove fitness dropdown from desktop navbar — single link instead
This commit is contained in:
@@ -8,8 +8,6 @@ Use Gitea issues as the source of truth:
|
||||
|
||||
Important instruction:
|
||||
- Do NOT rotate or change the admin password during this pass.
|
||||
- Treat admin password rotation as a final manual ops step after all code and config fixes are complete and verified.
|
||||
- If you mention password rotation in comments or summaries, explicitly mark it as "LAST STEP".
|
||||
|
||||
First, re-verify the repo state before changing anything. Do not trust prior summaries blindly.
|
||||
|
||||
@@ -86,10 +84,6 @@ Instructions:
|
||||
- If an issue is still partial, say so directly.
|
||||
- Avoid renaming something and then claiming the underlying architectural concern is solved.
|
||||
|
||||
Manual ops note:
|
||||
- Admin password rotation is intentionally deferred.
|
||||
- If referenced, mark it exactly as: `LAST STEP: rotate admin password after all remaining fixes are complete and verified.`
|
||||
|
||||
Final output format:
|
||||
- `Completed:`
|
||||
- `Partial:`
|
||||
|
||||
@@ -44,21 +44,7 @@
|
||||
{/if}
|
||||
|
||||
{#if showApp('fitness')}
|
||||
<div class="nav-dropdown" role="menu">
|
||||
<button
|
||||
class="navbar-link"
|
||||
class:active={isActive('/fitness')}
|
||||
onclick={(e) => { e.stopPropagation(); fitnessOpen = !fitnessOpen; tripsOpen = false; }}
|
||||
>Fitness</button>
|
||||
{#if fitnessOpen}
|
||||
<div class="nav-dropdown-menu" onclick={(e) => e.stopPropagation()}>
|
||||
<a href="/fitness" class="nav-dropdown-item" onclick={closeDropdowns}>Dashboard</a>
|
||||
<a href="/fitness/foods" class="nav-dropdown-item" onclick={closeDropdowns}>Foods</a>
|
||||
<a href="/fitness/goals" class="nav-dropdown-item" onclick={closeDropdowns}>Goals</a>
|
||||
<a href="/fitness/templates" class="nav-dropdown-item" onclick={closeDropdowns}>Templates</a>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
<a href="/fitness" class="navbar-link" class:active={isActive('/fitness')}>Fitness</a>
|
||||
{/if}
|
||||
|
||||
{#if showApp('inventory')}
|
||||
|
||||
Reference in New Issue
Block a user