20 lines
		
	
	
		
			580 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			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> |