Cyril Šebek fd03b7b9cf
almost finished navbar
TODO: modify dropdown menus
2024-04-07 17:23:34 +02:00

20 lines
580 B
Plaintext

---
import MainLayout from "../../layouts/MainLayout.astro";
import Hero from "../../components/Hero.astro";
import About from "../../components/About.astro";
//@ts-ignore
import { dictionary } from "../../i18n/dictionary";
const { title, description } = dictionary[Astro.currentLocale];
export async function getStaticPaths() {
return ["en", "fr", "cs", "de"].map((lang) => {
return { params: { lang } };
});
}
---
<MainLayout title={title} description={description} lang={Astro.currentLocale} themeOverride="theme_auto">
<Hero />
<About />
<Hero />
</MainLayout>