diff --git a/src/pages/regeln/[mode].astro b/src/pages/regeln/[mode].astro index cc44584..1298dd4 100644 --- a/src/pages/regeln/[mode].astro +++ b/src/pages/regeln/[mode].astro @@ -53,7 +53,7 @@ const {Content} = await page.render();

{t(`${page.data.translationKey}.title`)}

{mode && mode.data.ranked && ( - + {t("rules.ranking")} )} diff --git a/src/pages/regeln/index.astro b/src/pages/regeln/index.astro index 905431c..b436b76 100644 --- a/src/pages/regeln/index.astro +++ b/src/pages/regeln/index.astro @@ -31,14 +31,15 @@ const modes = await getCollection("modes", entry => entry.data.main); alt={t("rules." + value.data.translationKey + ".title")} class="h-full aspect-square max-w-fit">
-

{t(value.data.translationKey + ".title")}

-
{t("rules." + value.data.translationKey + ".description")}
+ +

{t(value.data.translationKey + ".title")}

+
{t("rules." + value.data.translationKey + ".description")}
+
- {t("rules.rules")} {t("rules.publics")} {value.data.ranked ? {t("rules.ranking")} + class="text-yellow-300 hover:underline w-fit">{t("rules.ranking")} : null}