From 272e270339e028407298f5c317544d6c3210c47c Mon Sep 17 00:00:00 2001 From: Leo dev Date: Sat, 7 Feb 2026 14:29:31 +0100 Subject: [PATCH] Mobile friendly UI --- src/app/run/page.tsx | 27 +++++++++++++++++++-------- src/components/app/ProfileCard.tsx | 10 ++++------ 2 files changed, 23 insertions(+), 14 deletions(-) diff --git a/src/app/run/page.tsx b/src/app/run/page.tsx index 3962589..594ee56 100644 --- a/src/app/run/page.tsx +++ b/src/app/run/page.tsx @@ -21,9 +21,20 @@ export default function Run() { ]; return ( -
+
+ {/* Main column */}
-
+ {/* Top cards */} +
@@ -44,10 +55,10 @@ export default function Run() {
{/* Editor */} - + - {/* File tree */} -
+ {/* File tree – hide on small screens */} +
{/* Code */} -
+
myfile.js
-
+
@@ -78,7 +89,7 @@ export default function Run() {
{/* Timer & Chat */} -
+
diff --git a/src/components/app/ProfileCard.tsx b/src/components/app/ProfileCard.tsx index b6e878a..4550535 100644 --- a/src/components/app/ProfileCard.tsx +++ b/src/components/app/ProfileCard.tsx @@ -10,25 +10,23 @@ export default function ProfileCard({
- + {/* Avatar */} -
+
Img -
+
#{user.rank}
{/* User Info */}
-

- {user.username} -

+

{user.username}

World Record Holder