From af3274ae9f0087ee73fd669285e333d8b498c2d6 Mon Sep 17 00:00:00 2001 From: "soroush.asadi" Date: Mon, 8 Jun 2026 07:59:07 +0330 Subject: [PATCH] Mobile: compact Home vertical rhythm so footer fits without scroll MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Logo/title/hero/tiles/footer spacing now scales down on small screens (sm: breakpoints) so the menu fits common phone viewports — the sign-in/ language footer was being pushed below the fold. Co-Authored-By: Claude Opus 4.8 --- src/components/HomeScreen.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/HomeScreen.tsx b/src/components/HomeScreen.tsx index fbd7b70..7642ce5 100644 --- a/src/components/HomeScreen.tsx +++ b/src/components/HomeScreen.tsx @@ -84,12 +84,12 @@ export function HomeScreen() { -
- +
+
-

+

{t("app.title")}

{t("app.subtitle")}

@@ -106,9 +106,9 @@ export function HomeScreen() { transition={{ delay: 0.05 }} whileTap={{ scale: 0.985 }} onClick={playOnline} - className="press-3d btn-gold relative w-full rounded-3xl px-5 py-5 flex items-center gap-4 text-start" + className="press-3d btn-gold relative w-full rounded-3xl px-5 py-4 sm:py-5 flex items-center gap-4 text-start" > - + @@ -154,7 +154,7 @@ export function HomeScreen() {
{/* tiles */} -
+
} label={t("menu.profile")} tint="teal" onClick={() => nav("profile")} /> } label={t("menu.friends")} tint="sky" onClick={() => nav(isAuthed ? "friends" : "auth")} /> } label={t("menu.leaderboard")} tint="gold" onClick={() => nav("leaderboard")} /> @@ -164,7 +164,7 @@ export function HomeScreen() {
{/* footer */} -
+
{isAuthed ? (