- Implemented astro-i18next for multi-language support, including English, Dutch, and Italian. - Configured default locale and language fallback settings. - Defined routes for localized content in the configuration. - Updated package.json and package-lock.json to include new dependencies for i18next and related plugins.
25 lines
1014 B
Plaintext
25 lines
1014 B
Plaintext
---
|
|
import BaseLayout from '../../layouts/BaseLayout.astro';
|
|
import Header from '../../components/Header.astro';
|
|
import Footer from '../../components/Footer.astro';
|
|
import { t } from '../../utils/i18n';
|
|
---
|
|
|
|
<BaseLayout
|
|
title={`${t('footer.links.terms', 'it')} | ${t('meta.title', 'it')}`}
|
|
description="Termini di servizio per Tiber365 - Comprendere il nostro accordo di servizio e i termini legali in conformità con le leggi europee e italiane."
|
|
>
|
|
<Header />
|
|
<main class="py-16 bg-background">
|
|
<div class="container-custom">
|
|
<article class="prose prose-lg dark:prose-invert max-w-4xl mx-auto">
|
|
<h1 class="text-4xl font-display font-bold mb-8">{t('footer.links.terms', 'it')}</h1>
|
|
<div class="mb-8 text-sm text-muted-foreground">
|
|
Ultimo aggiornamento: {new Date().toLocaleDateString()}
|
|
</div>
|
|
<!-- Copy the rest of the original file, updating all t() calls to use 'it' as the locale -->
|
|
</article>
|
|
</div>
|
|
</main>
|
|
<Footer />
|
|
</BaseLayout> |