Add more Prerendering

This commit is contained in:
2024-03-09 18:22:14 +01:00
parent 7599038c82
commit 0590cd349a
5 changed files with 20 additions and 7 deletions

View File

@@ -52,7 +52,7 @@ function mapMap<T, K, J>(i: Map<T, K>, fn: (key: T, value: K) => J): J[] {
<text-carousel class="h-20 w-full relative select-none">
<h2 class="-translate-y-16">{t("home.subtitle.1")}</h2>
<h2>{t("home.subtitle.2")}
<PlayerCount client:only="svelte"/>
<PlayerCount client:idle />
</h2>
<h2>{t("home.subtitle.3")}</h2>
</text-carousel>

View File

@@ -26,5 +26,5 @@ const {mode} = Astro.props;
<PageLayout title={t("ranking.heading", {mode: t(`${mode.data.translationKey}.title`)})}>
<h1 class="text-2xl mb-2">{t("ranking.heading", {mode: t(`${mode.data.translationKey}.title`)})}</h1>
<EloTable gamemode={mode.id} client:only="svelte"/>
<EloTable gamemode={mode.id} client:load/>
</PageLayout>