diff --git a/src/components/BackgroundImage.astro b/src/components/BackgroundImage.astro index 458f78f..67f12f0 100644 --- a/src/components/BackgroundImage.astro +++ b/src/components/BackgroundImage.astro @@ -3,7 +3,13 @@ import { Image } from "astro:assets"; import localBau from "@images/90.png"; --- -Bau + class="w-full h-full object-cover" + quality={100} + draggable="false" + loading="eager" +/> diff --git a/src/components/FightTable.svelte b/src/components/FightTable.svelte index a706088..7637710 100644 --- a/src/components/FightTable.svelte +++ b/src/components/FightTable.svelte @@ -57,7 +57,7 @@ - {#each window( event.fights.filter((f) => (group === undefined ? true : f.group?.id === group)), rows ) as fights} + {#each window( event.fights.filter((f) => (group === undefined ? true : f.group?.id === group)), rows, ) as fights} {#each fights as fight (fight.id)} t.id === Number(teamId))!!, points: points, })) - .sort((a, b) => b.points - a.points) + .sort((a, b) => b.points - a.points), ); diff --git a/src/components/LanguageWarning.astro b/src/components/LanguageWarning.astro index e6936f1..7ee560e 100644 --- a/src/components/LanguageWarning.astro +++ b/src/components/LanguageWarning.astro @@ -1,5 +1,5 @@ --- -import {t} from "astro-i18n"; +import { t } from "astro-i18n"; ---