aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-03-20 21:16:55 +0900
committernsfisis <nsfisis@gmail.com>2025-03-20 21:16:55 +0900
commit0bc943a36c9992d1098d92812b19b70d371e6a0d (patch)
tree892b423d6f47ab8d58b0f4e9abfbe0e5595f4243 /frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx
parentf53005455c19f822fb66c6ed78fcba44a3e45196 (diff)
downloadiosdc-japan-2025-albatross-0bc943a36c9992d1098d92812b19b70d371e6a0d.tar.gz
iosdc-japan-2025-albatross-0bc943a36c9992d1098d92812b19b70d371e6a0d.tar.zst
iosdc-japan-2025-albatross-0bc943a36c9992d1098d92812b19b70d371e6a0d.zip
feat(frontend): remove "player 1" or "player 2" labels
Diffstat (limited to 'frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx')
-rw-r--r--frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx14
1 files changed, 4 insertions, 10 deletions
diff --git a/frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx b/frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx
index 081212e..f72397d 100644
--- a/frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx
+++ b/frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx
@@ -55,7 +55,7 @@ export default function GolfWatchAppGaming1v1({
<div className="min-h-screen bg-gray-100 flex flex-col">
<div className={`text-white ${topBg} grid grid-cols-3 px-4 py-2`}>
<div className="font-bold flex justify-between my-auto">
- <div className="flex gap-6">
+ <div className="flex gap-6 items-center">
{playerProfileA.iconPath && (
<UserIcon
iconPath={playerProfileA.iconPath}
@@ -63,10 +63,7 @@ export default function GolfWatchAppGaming1v1({
className="w-12 h-12 my-auto"
/>
)}
- <div>
- <div className="text-gray-100">Player 1</div>
- <div className="text-2xl">{playerProfileA.displayName}</div>
- </div>
+ <div className="text-4xl">{playerProfileA.displayName}</div>
</div>
<div className="text-6xl">{scoreA}</div>
</div>
@@ -86,11 +83,8 @@ export default function GolfWatchAppGaming1v1({
</div>
<div className="font-bold flex justify-between my-auto">
<div className="text-6xl">{scoreB}</div>
- <div className="flex gap-6 text-end">
- <div>
- <div className="text-gray-100">Player 2</div>
- <div className="text-2xl">{playerProfileB.displayName}</div>
- </div>
+ <div className="flex gap-6 items-center text-end">
+ <div className="text-4xl">{playerProfileB.displayName}</div>
{playerProfileB.iconPath && (
<UserIcon
iconPath={playerProfileB.iconPath}