UNO refactor (stage 1): hub shell with nav rail + internal-scroll panel
CI/CD / CI - API (dotnet build + engine sim) (push) Successful in 22s
CI/CD / CI - Web (tsc + next build) (push) Successful in 1m4s
CI/CD / Deploy - local stack (db + server + web) (push) Successful in 58s

Rebuild ScreenShell into a UNO-style app shell: a persistent NavRail (vertical
side rail in landscape, bottom tab bar in portrait — Home/Profile/Shop/Friends/
Leaderboard/Achievements, active highlighted gold) + a content panel that owns
its own scroll so the page never scrolls as a whole and uses the width in
landscape. Reskins all 10 menu screens at once. Transient screens (auth,
matchmaking, room) opt out via hideNav. New nav.home i18n key.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
soroush.asadi
2026-06-11 01:56:52 +03:30
parent 78dea770d7
commit 08d81cba65
6 changed files with 90 additions and 10 deletions
+2 -2
View File
@@ -69,7 +69,7 @@ export function MatchmakingScreen() {
if (queued) {
return (
<ScreenShell>
<ScreenShell hideNav>
<div className="flex flex-col items-center justify-center min-h-[80dvh] text-center">
<div className="text-5xl mb-4"></div>
<h1 className="gold-text text-2xl font-black">{t("queue.title")}</h1>
@@ -101,7 +101,7 @@ export function MatchmakingScreen() {
}
return (
<ScreenShell>
<ScreenShell hideNav>
<div className="flex flex-col items-center justify-center min-h-[80dvh] text-center">
<motion.div
animate={ready ? {} : { rotate: 360 }}