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}