Testing things out

This commit is contained in:
nmcnew
2024-09-24 23:52:40 -06:00
parent 7a1700ca71
commit 187b3413b8
17 changed files with 1006 additions and 772 deletions

View File

@@ -0,0 +1,22 @@
<script lang="ts">
import HeadToHeadCell from '$lib/components/HeadToHeadCell.svelte';
import type { PageData } from './$types';
let { data }: { data: PageData } = $props();
console.debug(data);
</script>
<div class="flex">
{#each data.rounds as round}
<div class="min-w-36">
{#each round as match}
<HeadToHeadCell
player1={match.player1}
player2={match.player2}
player1Seed={match.seed1}
player2Seed={match.seed2}
setId={match.matchId}
/>
{/each}
</div>
{/each}
</div>