Files
Tiber365/src/pages/it/terms.astro
becarta 3168826fa8 Add internationalization support with astro-i18next integration
- 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.
2025-05-23 15:10:00 +02:00

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>