From 2321289edbb4c3321cd89201734ab3927ea73522 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Thu, 15 Aug 2024 17:04:19 +0200 Subject: [PATCH] fixes... --- src/i18n/common/de.json | 9 +++++++++ src/pages/regeln/[mode].astro | 2 +- src/pages/regeln/index.astro | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/i18n/common/de.json b/src/i18n/common/de.json index 92278f2..a392fb5 100644 --- a/src/i18n/common/de.json +++ b/src/i18n/common/de.json @@ -112,6 +112,15 @@ "qg": { "title": "QuickGear" }, + "sf": { + "title": "StreetFight" + }, + "megawg": { + "title": "MegaWarGear" + }, + "micro": { + "title": "MicroWarGear" + }, "footer": { "imprint": "Impressum", "privacy": "Datenschutzerklärung", diff --git a/src/pages/regeln/[mode].astro b/src/pages/regeln/[mode].astro index 1298dd4..1bba393 100644 --- a/src/pages/regeln/[mode].astro +++ b/src/pages/regeln/[mode].astro @@ -57,7 +57,7 @@ const {Content} = await page.render(); {t("rules.ranking")} )} - {publics && ( + {publics && publics.length != 0 && (
{publics.map(value => ( diff --git a/src/pages/regeln/index.astro b/src/pages/regeln/index.astro index b436b76..02eaf1e 100644 --- a/src/pages/regeln/index.astro +++ b/src/pages/regeln/index.astro @@ -39,7 +39,7 @@ const modes = await getCollection("modes", entry => entry.data.main); {t("rules.publics")} {value.data.ranked ? {t("rules.ranking")} + class="text-yellow-300 hover:underline w-fit">{t("rules.ranking")} : null}