From 4b28b1eb8ee6177a8009b89ac2200b3b753bc5b1 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 21 Mar 2025 10:55:10 +0900 Subject: feat(frontend): support mobile layout --- .../GolfWatchApps/GolfWatchAppGaming1v1.tsx | 34 ++++++++++++++-------- 1 file changed, 22 insertions(+), 12 deletions(-) (limited to 'frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx') diff --git a/frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx b/frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx index ce12dca..a17b301 100644 --- a/frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx +++ b/frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx @@ -66,18 +66,20 @@ export default function GolfWatchAppGaming1v1({ return (
-
+
- {playerProfileA?.iconPath && ( + {playerProfileB?.iconPath && ( )} -
{playerProfileA?.displayName}
+
+ {playerProfileB?.displayName} +
-
{scoreA}
+
{scoreB}
{gameDisplayName}
@@ -93,10 +95,12 @@ export default function GolfWatchAppGaming1v1({ )}
-
-
{scoreB}
+
+
{scoreB}
-
{playerProfileB?.displayName}
+
+ {playerProfileB?.displayName} +
{playerProfileB?.iconPath && ( - }> + } + className="order-2 md:order-1" + > - + - }> + } + className="order-3" + > -- cgit v1.2.3-70-g09d2