i18n
CI/CD Pipeline / Build and Push PocketBase Docker Image (push) Successful in 8s
CI/CD Pipeline / i18n Catalog Check (push) Failing after 10s
CI/CD Pipeline / Build and Push App Docker Image (push) Skipped
CI/CD Pipeline / Deploy to Kubernetes (push) Skipped

This commit is contained in:
2026-08-08 15:29:40 -07:00
parent 22c282d8fa
commit 0a7b5fa00f
178 changed files with 13099 additions and 1285 deletions
@@ -3,12 +3,14 @@ import { useTournaments } from "../queries";
import { useSheet } from "@/hooks/use-sheet";
import { Button, Stack } from "@mantine/core";
import { PlusIcon, TrophyIcon } from "@phosphor-icons/react";
import { Trans, useLingui } from "@lingui/react/macro";
import Sheet from "@/components/sheet/sheet";
import TournamentForm from "./tournament-form";
import { TournamentCard } from "./tournament-card";
import EmptyState from "@/components/empty-state";
const TournamentCardList = () => {
const { t } = useLingui();
const { data: tournaments } = useTournaments();
const { roles } = useAuth();
const sheet = useSheet();
@@ -21,9 +23,9 @@ const TournamentCardList = () => {
variant="subtle"
onClick={sheet.open}
>
Create Tournament
<Trans>Create Tournament</Trans>
</Button>
<Sheet {...sheet.props} title="Create Tournament">
<Sheet {...sheet.props} title={t`Create Tournament`}>
<TournamentForm close={sheet.close} />
</Sheet>
</>
@@ -35,8 +37,8 @@ const TournamentCardList = () => {
) : (
<EmptyState
icon={<TrophyIcon size={32} />}
title="No Tournaments Yet"
description="The cups are racked and waiting. Check back soon."
title={t`No Tournaments Yet`}
description={t`The cups are racked and waiting. Check back soon.`}
/>
)}
</Stack>