wrath/src/components/astro/intro.astro
2025-11-14 13:38:06 +01:00

12 lines
312 B
Text

---
import IntroContentDe from "~/config/de/intro.mdx"
import IntroContentEn from "~/config/en/intro.mdx"
import { getLangFromUrl } from "~/i18n/utils"
const lang = getLangFromUrl(Astro.url)
const IntroContent = lang === "de" ? IntroContentDe : IntroContentEn
---
<div class="my-10">
<IntroContent />
</div>