Mobile-first nav redesign (Phase 10e-5) #24
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/westside-landing#24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Lineage
plan-2026-03-08-tryout-prep→ Phase 10e → Phase 10e-5 (Mobile-first nav redesign)Repo
forgejo_admin/westside-appUser Story
As Marcus (admin on his phone)
I want a mobile-friendly navigation that doesn't wrap awkwardly across the screen
So that I can quickly access admin tools, coach view, and player view without horizontal scrolling
Context
The current nav in
AuthStatus.svelteis a horizontal flex bar with 5+ links for admin (Admin Panel, Teams, Coach View, Manage Users, My Player, Manage Account) plus a sign-out button. On a 390px phone viewport, this wraps across 3+ lines and looks broken. The nav needs a hamburger/drawer pattern or bottom nav bar for mobile.Phase 10e-1 and 10e-2 are COMPLETED (PR #23) — design system tokens are available in
src/app.cssas CSS custom properties. This work should use those tokens.Key design decisions:
.auth-statussectionFile Targets
Files to modify:
src/lib/components/AuthStatus.svelte— full rewrite of nav structure. Replace horizontal link bar with hamburger menu drawer on mobile, horizontal nav on desktop. Use CSS custom properties fromapp.css.Files NOT to touch:
src/routes/**/+page.server.js— data fetchingsrc/routes/**/+page.svelte— page content (except removing any duplicate nav links like the/adminpage's "Manage Users" link, if the global nav now covers it)src/auth.js— auth configsrc/hooks.server.js— middlewaresrc/app.css— design tokens are already defined. May add new tokens if needed but prefer using existing ones.src/app.html— critical styles, don't touchAcceptance Criteria
app.css— no new hardcoded hex valuesTest Expectations
npm run buildpassesnpm run build && npm run previewConstraints
src/app.cssSignInandSignOutcomponents from@auth/sveltekit/componentswindowreferences outsideonMountor$effect)Checklist
npm run build)Related
westside-basketball— projectplan-2026-03-08-tryout-prep— parent plan