From 426fad42dd6f593ff2a774a86a4e05ab00eb9b25 Mon Sep 17 00:00:00 2001 From: Mohannad Ehab <157999295+MohanEhab@users.noreply.github.com> Date: Fri, 29 May 2026 09:59:57 +0300 Subject: [PATCH 1/8] Fix mobile app shell layout --- src/components/friends/InviteFriendModal.tsx | 4 +- src/components/layout/Topbar.tsx | 14 +- src/components/lobby/ChatPanel.tsx | 6 +- src/components/lobby/CreateLobbyModal.tsx | 4 +- src/features/auth/AuthPage.tsx | 4 +- src/features/settings/SettingsPage.tsx | 19 ++- src/styles/globals.css | 157 +++++++++++++++++-- 7 files changed, 169 insertions(+), 39 deletions(-) diff --git a/src/components/friends/InviteFriendModal.tsx b/src/components/friends/InviteFriendModal.tsx index 715d951..2a2f5bd 100644 --- a/src/components/friends/InviteFriendModal.tsx +++ b/src/components/friends/InviteFriendModal.tsx @@ -58,7 +58,7 @@ export function InviteFriendModal({ open, onClose, preselectedGameId }: Props) {
Game
-
+
{GAMES.slice(0,6).map(g => ( @@ -58,7 +58,7 @@ function NotificationBell({ open, setOpen }: { open: boolean; setOpen: (v: boole {count > 0 && } {open && ( -
+
Notifications
{count} new @@ -120,18 +120,18 @@ function UserMenuButton() { return (
{open && ( -
+
diff --git a/src/components/lobby/ChatPanel.tsx b/src/components/lobby/ChatPanel.tsx index 0937b95..bf0c05a 100644 --- a/src/components/lobby/ChatPanel.tsx +++ b/src/components/lobby/ChatPanel.tsx @@ -25,7 +25,7 @@ export function ChatPanel({ chat, onSend, title = 'Chat', compact = false }: Cha }; return ( -
+
@@ -42,12 +42,12 @@ export function ChatPanel({ chat, onSend, title = 'Chat', compact = false }: Cha {m.from} {m.when}
-
{m.text}
+
{m.text}
))}
-
+
-
+
- simple.gg/j/SP-7F-29 + simple.gg/j/SP-7F-29
Auto-expires 30m
diff --git a/src/features/auth/AuthPage.tsx b/src/features/auth/AuthPage.tsx index b4c5575..94fa21e 100644 --- a/src/features/auth/AuthPage.tsx +++ b/src/features/auth/AuthPage.tsx @@ -50,9 +50,9 @@ export function AuthPage({ initialMode }: { initialMode: Mode }) { }; return ( -
+
-
+
{status !== 'anonymous' ? (
Checking your session...
diff --git a/src/features/settings/SettingsPage.tsx b/src/features/settings/SettingsPage.tsx index 3d82a2e..60a6fc2 100644 --- a/src/features/settings/SettingsPage.tsx +++ b/src/features/settings/SettingsPage.tsx @@ -67,8 +67,8 @@ export function SettingsPage() {
Account, gameplay, notifications and more.
-
-