aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/GolfWatchApps/GolfWatchAppStarting.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-19 05:21:58 +0900
committernsfisis <nsfisis@gmail.com>2024-08-19 05:35:24 +0900
commit19fad1b969ac9b6c50b024a2c710e8f4fe792eb0 (patch)
tree3fe237c1bee168eec088e125ba3877249aa09510 /frontend/app/components/GolfWatchApps/GolfWatchAppStarting.tsx
parent6031c81f5394acf315b277302a7fd18ea288b506 (diff)
downloadiosdc-japan-2024-albatross-19fad1b969ac9b6c50b024a2c710e8f4fe792eb0.tar.gz
iosdc-japan-2024-albatross-19fad1b969ac9b6c50b024a2c710e8f4fe792eb0.tar.zst
iosdc-japan-2024-albatross-19fad1b969ac9b6c50b024a2c710e8f4fe792eb0.zip
feat(frontend): improve play/watch pages styling
Diffstat (limited to 'frontend/app/components/GolfWatchApps/GolfWatchAppStarting.tsx')
-rw-r--r--frontend/app/components/GolfWatchApps/GolfWatchAppStarting.tsx11
1 files changed, 8 insertions, 3 deletions
diff --git a/frontend/app/components/GolfWatchApps/GolfWatchAppStarting.tsx b/frontend/app/components/GolfWatchApps/GolfWatchAppStarting.tsx
index 197d8b4..74f2a43 100644
--- a/frontend/app/components/GolfWatchApps/GolfWatchAppStarting.tsx
+++ b/frontend/app/components/GolfWatchApps/GolfWatchAppStarting.tsx
@@ -1,14 +1,19 @@
type Props = {
+ gameDisplayName: string;
leftTimeSeconds: number;
};
export default function GolfWatchAppStarting({
- leftTimeSeconds: timeLeft,
+ gameDisplayName,
+ leftTimeSeconds,
}: Props) {
return (
- <div className="min-h-screen bg-gray-100 flex items-center justify-center">
+ <div className="min-h-screen bg-gray-100 flex flex-col">
+ <div className="text-white bg-iosdc-japan p-10 text-center">
+ <div className="text-4xl text-bold">{gameDisplayName}</div>
+ </div>
<div className="text-center text-black font-black text-10xl animate-ping">
- {timeLeft}
+ {leftTimeSeconds}
</div>
</div>
);