--- import wg from "../../images/WarGears.png" import mwg from "../../images/MiniWarGears.png" import as from "../../images/AirShips.png" import ws from "../../images/WarShips.png" import {t} from "astro-i18n"; import {getCollection} from "astro:content"; import PageLayout from "../../layouts/PageLayout.astro"; import {Image} from "astro:assets"; const imageMap = { "wg": wg, "mwg": mwg, "as": as, "ws": ws } const modes = await getCollection("modes", entry => entry.data.main) --- {modes.map(value => (
{t(value.data.translationKey

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

{t(value.data.translationKey + ".description")}
{t("rules")} {t("council")} {value.data.ranked ? {t("ranking")} : null}
))}