Add community content reports, map bans, and appeals

This commit is contained in:
2026-10-06 13:00:10 +05:00
parent 5f43e97d32
commit dd67b5c0de
18 changed files with 1167 additions and 50 deletions

View File

@@ -14,6 +14,7 @@ import { GuessMap, type Pin } from "./GuessMap";
import { api } from "./StartGame";
import { difficulties, type Difficulty, type Bounds } from "@/shared/protocol";
import { roundClock } from "@/shared/round-clock";
import { ReportContent } from "./ReportContent";
export type RoundResult = {
score: number;
distance: number | null;
@@ -197,6 +198,13 @@ export function Game({ id }: { id: string }) {
)}
<div className="game-header">
<Brand />
{session && (
<ReportContent
key={session.round}
sessionId={id}
round={session.round}
/>
)}
<div className="game-info">
<div>
<small>ROUND</small>