From 25a9f21ab4e56b503c0c39591e78b0cebbb5b911 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Tue, 6 Aug 2024 18:58:07 +0200 Subject: [PATCH] Lixfel anmerkungen #1 --- astro-i18n.config.ts | 1 - src/components/Navbar.svelte | 8 +++---- src/content/pages/de/about.md | 19 ---------------- src/content/pages/en/about.md | 31 ------------------------- src/i18n/common/de.json | 9 ++++---- src/i18n/common/en.json | 5 ++-- src/pages/index.astro | 38 +++++-------------------------- src/pages/statistiken/fight.astro | 1 + 8 files changed, 16 insertions(+), 96 deletions(-) delete mode 100644 src/content/pages/de/about.md delete mode 100644 src/content/pages/en/about.md diff --git a/astro-i18n.config.ts b/astro-i18n.config.ts index 18ff61d..c1a4391 100644 --- a/astro-i18n.config.ts +++ b/astro-i18n.config.ts @@ -12,7 +12,6 @@ export default defineAstroI18nConfig({ translations: {}, routes: { en: { - "ueber-uns": "about", "jetzt-spielen": "join", impressum: "imprint", verhaltensrichtlinien: "code-of-conduct", diff --git a/src/components/Navbar.svelte b/src/components/Navbar.svelte index 0d40b83..49caa28 100644 --- a/src/components/Navbar.svelte +++ b/src/components/Navbar.svelte @@ -61,11 +61,9 @@
{t("navbar.links.home.announcements")} - {t("navbar.links.home.about")} - {t("navbar.links.home.publics")} {t("navbar.links.home.downloads")} - {t("navbar.links.home.ranked")} {t("navbar.links.home.faq")} + {t("navbar.links.rules.coc")}
@@ -76,7 +74,6 @@
-

{t("navbar.links.rules.gamemode")}

{t("navbar.links.rules.wg")} {t("navbar.links.rules.mwg")} {t("navbar.links.rules.ws")} @@ -89,7 +86,8 @@ class="btn btn-gray">{t("navbar.links.rules.micro")} {t("navbar.links.rules.sf")}

{t("navbar.links.rules.general")}

- {t("navbar.links.rules.coc")} + {t("navbar.links.rules.publics")} + {t("navbar.links.rules.ranked")}