i18n init
This commit is contained in:
@@ -2,16 +2,20 @@
|
||||
// Import necessary components and utilities
|
||||
import Layout from "../layouts/Layout.astro";
|
||||
import BigCard from "../components/BigCard.astro";
|
||||
import { t, DEFAULT_LANGUAGE } from "../lib/i18n";
|
||||
|
||||
// Use Spanish as default language
|
||||
const currentLang = DEFAULT_LANGUAGE;
|
||||
---
|
||||
|
||||
<Layout title="Pole Elements" description="Pole Elements">
|
||||
<Layout title={t('nav.home', currentLang)} description="Pole Elements">
|
||||
<div class="container mx-auto p-4">
|
||||
<div class="py-12">
|
||||
<BigCard
|
||||
url="/elements"
|
||||
title="Pole Elements"
|
||||
title={t('elements.title', currentLang)}
|
||||
description="Explore a comprehensive collection of pole dance elements, techniques, and combinations. From basic spins to advanced tricks, discover everything you need to master pole sport."
|
||||
ctaText="Explore Elements"
|
||||
ctaText={t('elements.view', currentLang)}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user