init matches, tournament runner

This commit is contained in:
2025-08-30 23:58:50 -05:00
parent c37e8e8eb7
commit d2e4f0ca3f
11 changed files with 499 additions and 7 deletions

View File

@@ -6,10 +6,12 @@ import TournamentForm from "./tournament-form";
import {
HardDrivesIcon,
PencilLineIcon,
TreeStructureIcon,
UsersThreeIcon,
} from "@phosphor-icons/react";
import { useSheet } from "@/hooks/use-sheet";
import EditEnrolledTeams from "./edit-enrolled-teams";
import ListLink from "@/components/list-link";
interface ManageTournamentProps {
tournamentId: string;
@@ -53,6 +55,11 @@ const ManageTournament = ({ tournamentId }: ManageTournamentProps) => {
Icon={UsersThreeIcon}
onClick={openEditTeams}
/>
<ListLink
label="Run Tournament"
Icon={TreeStructureIcon}
to={`/admin/tournaments/run/${tournamentId}`}
/>
</List>
<Sheet