aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-03-21 01:22:46 +0900
committernsfisis <nsfisis@gmail.com>2025-03-21 01:22:46 +0900
commit338313f3fb97aa96b7cf75596ddcbf55f6a9002d (patch)
treeed42bd09baa17058139c2839336d61ce648f2a37 /frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx
parent0ab9bdf4ad937913dd3a29dbddf93f09b57deedd (diff)
downloadphperkaigi-2025-albatross-338313f3fb97aa96b7cf75596ddcbf55f6a9002d.tar.gz
phperkaigi-2025-albatross-338313f3fb97aa96b7cf75596ddcbf55f6a9002d.tar.zst
phperkaigi-2025-albatross-338313f3fb97aa96b7cf75596ddcbf55f6a9002d.zip
feat(frontend): show ranking in 1v1 watch page
Diffstat (limited to 'frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx')
-rw-r--r--frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx15
1 files changed, 9 insertions, 6 deletions
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}`}