--- import { assertSecret } from "@blitzkit/core"; import { Box, Code, Flex, Heading, Link, Text } from "@radix-ui/themes"; import packageJson from "../../../../package.json"; import { api } from "../api/dynamic"; import { LinkI18n } from "./LinkI18n"; import { LocaleSwitcherThemeWrapper } from "./LocaleSwitcher"; export interface Props { locale: string; } const gameDefinitions = await api.game(); const gameVersion = gameDefinitions.version.split("_")[0]; const environment = assertSecret(import.meta.env.PUBLIC_ENVIRONMENT); const { locale } = Astro.props; const strings = await api.strings(locale); --- BlitzKit {strings.website.footer.motto} {strings.website.footer.copyright} {strings.website.footer.about.title} {strings.website.footer.about.credits} {strings.website.footer.about.discord} {strings.website.footer.about.github} {strings.website.footer.about.patches} {strings.website.footer.legal.title} {strings.website.footer.legal.privacy} {strings.website.footer.legal.terms} BlitzKit { environment !== "preview" && ( WoTB ) } Branch {packageJson.version} { environment !== "preview" && ( {gameVersion} ) } {environment} BlitzKit {packageJson.version} { environment !== "preview" && ( <> WoTB {gameVersion} ) } Branch {environment}