From 338313f3fb97aa96b7cf75596ddcbf55f6a9002d Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Fri, 21 Mar 2025 01:22:46 +0900
Subject: feat(frontend): show ranking in 1v1 watch page

---
 .../components/GolfWatchApps/GolfWatchAppGaming1v1.tsx    | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 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 a647214..63ad5f3 100644
--- a/frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx
+++ b/frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx
@@ -8,7 +8,8 @@ import type { PlayerProfile } from "../../types/PlayerProfile";
 import FoldableBorderedContainerWithCaption from "../FoldableBorderedContainerWithCaption";
 import CodeBlock from "../Gaming/CodeBlock";
 import LeftTime from "../Gaming/LeftTime";
-import ProblemColumn from "../Gaming/ProblemColumn";
+import ProblemColumnContent from "../Gaming/ProblemColumnContent";
+import RankingTable from "../Gaming/RankingTable";
 import ScoreBar from "../Gaming/ScoreBar";
 import SubmitStatusLabel from "../SubmitStatusLabel";
 import ThreeColumnLayout from "../ThreeColumnLayout";
@@ -115,11 +116,13 @@ export default function GolfWatchAppGaming1v1({
 						<CodeBlock code={codeA} language="php" />
 					</FoldableBorderedContainerWithCaption>
 				</TitledColumn>
-				<ProblemColumn
-					title={problemTitle}
-					description={problemDescription}
-					sampleCode={sampleCode}
-				/>
+				<TitledColumn title={problemTitle}>
+					<ProblemColumnContent
+						description={problemDescription}
+						sampleCode={sampleCode}
+					/>
+					<RankingTable />
+				</TitledColumn>
 				<TitledColumn title={<SubmitStatusLabel status={statusB} />}>
 					<FoldableBorderedContainerWithCaption
 						caption={`コードサイズ: ${codeSizeB}`}
-- 
cgit v1.2.3-70-g09d2

