Dieser Commit ist enthalten in:
Ursprung
e08f75d849
Commit
30808bfd5b
@ -119,7 +119,9 @@
|
|||||||
"join": "Jetzt Spielen"
|
"join": "Jetzt Spielen"
|
||||||
},
|
},
|
||||||
"elo": {
|
"elo": {
|
||||||
"place": "Platz"
|
"place": "Platz",
|
||||||
|
"name": "Name",
|
||||||
|
"elo": "Elo"
|
||||||
},
|
},
|
||||||
"tag": {
|
"tag": {
|
||||||
"title": "Tag: {# tag #} - SteamWar"
|
"title": "Tag: {# tag #} - SteamWar"
|
||||||
@ -209,5 +211,8 @@
|
|||||||
},
|
},
|
||||||
"stats": {
|
"stats": {
|
||||||
"title": "Kampf Statistiken"
|
"title": "Kampf Statistiken"
|
||||||
|
},
|
||||||
|
"ranking": {
|
||||||
|
"heading": "{# mode #} Rangliste"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -88,10 +88,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"elo": {
|
"elo": {
|
||||||
"place": "Place",
|
"place": "Place"
|
||||||
"name": "Name",
|
|
||||||
"elo": "Elo",
|
|
||||||
"title": "{# mode #} - Rankings"
|
|
||||||
},
|
},
|
||||||
"warning": {
|
"warning": {
|
||||||
"title": "This page is not available in your language.",
|
"title": "This page is not available in your language.",
|
||||||
|
@ -3,6 +3,7 @@ import {createGetStaticPaths, t} from "astro-i18n";
|
|||||||
import {getCollection, CollectionEntry} from "astro:content";
|
import {getCollection, CollectionEntry} from "astro:content";
|
||||||
import PageLayout from "../../layouts/PageLayout.astro";
|
import PageLayout from "../../layouts/PageLayout.astro";
|
||||||
import EloTable from "../../components/EloTable.svelte";
|
import EloTable from "../../components/EloTable.svelte";
|
||||||
|
import "@styles/table.css";
|
||||||
|
|
||||||
export const getStaticPaths = createGetStaticPaths(async () => {
|
export const getStaticPaths = createGetStaticPaths(async () => {
|
||||||
const modes = await getCollection("modes", entry => entry.data.ranked);
|
const modes = await getCollection("modes", entry => entry.data.ranked);
|
||||||
@ -24,7 +25,7 @@ interface Props {
|
|||||||
const {mode} = Astro.props;
|
const {mode} = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
<PageLayout title={t("elo.title", {mode: t(`${mode.data.translationKey}.title`)})}>
|
<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>
|
<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:only="svelte"/>
|
||||||
</PageLayout>
|
</PageLayout>
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren