full site update

This commit is contained in:
2025-07-24 18:46:24 +02:00
parent bfe2b90d8d
commit 37a6e0ab31
6912 changed files with 540482 additions and 361712 deletions

View File

@@ -1,5 +1,8 @@
---
import { t } from '../utils/i18n';
import { getLangFromUrl, useTranslations, localizePath } from '../utils/i18n';
const lang = getLangFromUrl(Astro.url);
const t = await useTranslations(lang);
---
<section class="py-20 bg-gradient-to-br from-primary via-primary to-secondary text-primary-foreground relative overflow-hidden">
@@ -25,7 +28,7 @@ import { t } from '../utils/i18n';
<!-- CTA button -->
<div class="flex flex-col sm:flex-row gap-4 justify-center items-center">
<a
href="/contact"
href={localizePath("/contact", lang)}
class="bg-background text-foreground hover:bg-background/90 px-8 py-4 text-lg font-semibold rounded-xl shadow-lg hover:shadow-xl transition-all duration-300 hover:scale-105 inline-flex items-center group"
>
{t('cta.button')}
@@ -53,4 +56,4 @@ import { t } from '../utils/i18n';
</div>
</div>
</div>
</section>
</section>