diff --git a/src/pages/[lang]/Legal/Impressum.astro b/src/pages/[lang]/Legal/Impressum.astro new file mode 100644 index 0000000..7b032a2 --- /dev/null +++ b/src/pages/[lang]/Legal/Impressum.astro @@ -0,0 +1,20 @@ +--- +import type {GetStaticPaths} from "astro"; +import LegalLayout from "../../../layouts/LegalLayout.astro"; +import getTranslatedContent from "../../../utils/directus.ts"; +import "./Legal.scss"; + +const {lang} = Astro.params; +const content = await getTranslatedContent("Impressum", lang!); + +export const getStaticPaths = (() => { + return [ + {params: {lang: "en"}}, + {params: {lang: "de"}}, + ]; +}) satisfies GetStaticPaths; +--- + + +
+