From 6df78f254d98453520e8644996b917d673ee3978 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Tue, 23 Sep 2025 15:05:48 -0700 Subject: initial mobile CSS style --- frontend/src/pages/Home.tsx | 20 ++++++++--------- frontend/src/pages/Import.tsx | 24 ++++++++++---------- frontend/src/pages/Landing.tsx | 50 +++++++++++++++++++++--------------------- frontend/src/pages/Score.tsx | 35 ++++++++++++++++------------- 4 files changed, 67 insertions(+), 62 deletions(-) (limited to 'frontend/src/pages') diff --git a/frontend/src/pages/Home.tsx b/frontend/src/pages/Home.tsx index 71ba772..4eb1c59 100644 --- a/frontend/src/pages/Home.tsx +++ b/frontend/src/pages/Home.tsx @@ -75,22 +75,22 @@ const Home = () => { {/* Main Content */} -
+
{/* Header */} -
-

Dashboard

-

+

+

Dashboard

+

Track your rhythm game progress and performance

{/* Supported Games */} -
-
+
+
{supportedGames.map((game) => (
navigate(`/score?game=${game.internalName}`)} >
@@ -120,11 +120,11 @@ const Home = () => {
)}
-
-

+
+

{game.formattedName}

-

+

{game.description}

diff --git a/frontend/src/pages/Import.tsx b/frontend/src/pages/Import.tsx index fe2501f..08976c7 100644 --- a/frontend/src/pages/Import.tsx +++ b/frontend/src/pages/Import.tsx @@ -92,8 +92,8 @@ const Import = () => { }; const JsonUploadCard = () => ( -
-
+
+
{

@@ -148,7 +148,7 @@ const Import = () => {

@@ -193,11 +193,11 @@ const Import = () => { {/* Main Content */} -
+
{/* Header */} -
-

Import Data

-

+

+

Import Data

+

Import your game scores and progress from various sources

@@ -224,10 +224,10 @@ const Import = () => { )} {/* Game Selection Card */} -
-
-

Select Game

-

+

+
+

Select Game

+

Choose the game you want to import data for

diff --git a/frontend/src/pages/Landing.tsx b/frontend/src/pages/Landing.tsx index c607cee..5ca4459 100644 --- a/frontend/src/pages/Landing.tsx +++ b/frontend/src/pages/Landing.tsx @@ -14,16 +14,16 @@ const Landing = () => {
Mirage
-
+
Log In Create Account @@ -32,7 +32,7 @@ const Landing = () => {
-
+
{/* Background Image */}
{ {/* Content */}
-

+

Welcome to Mirage!

-

+

Looks like you're not logged in. If you've got an account,{" "} {

{/* Introduction Section */} -
+
-

+

What is this?

-

+

Mirage is a flexible Rhythm Game Score Tracker that works without relying on predefined seeds. It offers a lightweight alternative that can act - as a holdover for tracking scores when chart metadata isn’t + as a holdover for tracking scores when chart metadata isn't readily available.

@@ -83,13 +83,13 @@ const Landing = () => {
{/* Track Your Scores Section */} -
+
-

+

Track Your Scores

-

+

Mirage lets you import scores from the games you play for safe-keeping, so you can prevent losing them to the void should anything ever happen. @@ -99,13 +99,13 @@ const Landing = () => {

{/* Add your own games */} -
+
-

+

Add Your Own Games

-

+

While not as robust as other seed-based systems. Mirage makes it easy for you to track and keep score for any game, no matter how niche it is. @@ -115,13 +115,13 @@ const Landing = () => {

{/* Join with others */} -
+
-

+

Mirage Together

-

+

Mirage is easily self-hostable and can be used locally for a single person or hosted so you can track scores with your friends. Everything is open-source.

@@ -129,22 +129,22 @@ const Landing = () => {
{/* Call to Action Section */} -
+
-

+

Ready to Start Tracking?

Create Account Log In @@ -154,7 +154,7 @@ const Landing = () => {
{/* Footer */} -