Fix Elo Page fr
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Chaoscaot 2024-03-09 14:30:37 +01:00
Ursprung 72cf00934a
Commit c5e2ad9426

Datei anzeigen

@ -20,7 +20,6 @@
<script lang="ts">
import {t} from "astro-i18n";
import {statsRepo} from "@repo/stats.ts";
import "@styles/table.css";
export let gamemode: string;
@ -36,11 +35,14 @@
{:then data}
<div>
<table>
<tr class="font-bold">
<thead>
<tr>
<td>{t("elo.place")}</td>
<td>{t("elo.name")}</td>
<td>{t("elo.elo")}</td>
</tr>
</thead>
<tbody>
{#each data as player, i (player.name)}
<tr>
<td>{`${i + 1}.`}</td>
@ -48,9 +50,14 @@
<td>{player.elo}</td>
</tr>
{/each}
</tbody>
</table>
</div>
{:catch error}
<p>{error.message}</p>
{/await}
<style>
@import "../styles/table.css";
</style>