23 lines
752 B
Plaintext
23 lines
752 B
Plaintext
---
|
|
import { getLocaleByPath } from "astro:i18n";
|
|
import MainLayout from "../layouts/MainLayout.astro";
|
|
|
|
// Don't remove - redirects user to language version for the preffered language
|
|
if (Astro.preferredLocale) {
|
|
return Astro.redirect(`/${Astro.preferredLocale}/`);
|
|
}
|
|
|
|
---
|
|
|
|
<MainLayout title="sitetitle" description="sitedescription" lang="en">
|
|
<h1>Welcome</h1>
|
|
<p>
|
|
You shouldn't be here. please continue to one of the following:
|
|
</p>
|
|
<ul>
|
|
<li><a href="/en">English Version / English</a></li>
|
|
<li><a href="/cs">Czech Version / Česky</a></li>
|
|
<li><a href="/de">German Version [WIP] / Deutsch [laufende Arbeiten]</a></li>
|
|
<li><a href="/fr">French Version [WIP] / Français [travail en cours]</a></li>
|
|
</ul>
|
|
</MainLayout> |