aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/GolfPlayApps
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/GolfPlayApps
parentf53005455c19f822fb66c6ed78fcba44a3e45196 (diff)
downloadphperkaigi-2025-albatross-0bc943a36c9992d1098d92812b19b70d371e6a0d.tar.gz
phperkaigi-2025-albatross-0bc943a36c9992d1098d92812b19b70d371e6a0d.tar.zst
phperkaigi-2025-albatross-0bc943a36c9992d1098d92812b19b70d371e6a0d.zip
feat(frontend): remove "player 1" or "player 2" labels
Diffstat (limited to 'frontend/app/components/GolfPlayApps')
-rw-r--r--frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx7
-rw-r--r--frontend/app/components/GolfPlayApps/GolfPlayAppWaiting.tsx2
2 files changed, 3 insertions, 6 deletions
diff --git a/frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx b/frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx
index b1b6f80..0931f73 100644
--- a/frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx
+++ b/frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx
@@ -72,12 +72,9 @@ export default function GolfPlayAppGaming({
<LeftTime sec={leftTimeSeconds} />
</div>
<Link to={"/dashboard"}>
- <div className="flex gap-4 my-auto font-bold">
+ <div className="flex gap-6 items-center font-bold">
<div className="text-6xl">{score}</div>
- <div className="text-end">
- <div className="text-gray-100">Player 1</div>
- <div className="text-2xl">{playerProfile.displayName}</div>
- </div>
+ <div className="text-4xl">{playerProfile.displayName}</div>
{playerProfile.iconPath && (
<UserIcon
iconPath={playerProfile.iconPath}
diff --git a/frontend/app/components/GolfPlayApps/GolfPlayAppWaiting.tsx b/frontend/app/components/GolfPlayApps/GolfPlayAppWaiting.tsx
index 4b74c0d..303b4a8 100644
--- a/frontend/app/components/GolfPlayApps/GolfPlayAppWaiting.tsx
+++ b/frontend/app/components/GolfPlayApps/GolfPlayAppWaiting.tsx
@@ -16,7 +16,7 @@ export default function GolfPlayAppWaiting({
<div className="text-4xl">{gameDisplayName}</div>
</div>
<div className="grow grid mx-auto text-black">
- <PlayerNameAndIcon label="You" profile={playerProfile} />
+ <PlayerNameAndIcon profile={playerProfile} />
</div>
</div>
);