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,6 +1,9 @@
---
import { SERVICES } from '@config';
import { t } from '../utils/i18n';
import { getLangFromUrl, useTranslations, localizePath } from '../utils/i18n';
const lang = getLangFromUrl(Astro.url);
const t = await useTranslations(lang);
---
<section id="services" class="py-20 bg-muted/30">
@@ -52,7 +55,7 @@ import { t } from '../utils/i18n';
<!-- Learn more link -->
<div class="mt-6">
<a
href={`/services#${service.id}`}
href={localizePath(`/services#${service.id}`, lang)}
class="inline-flex items-center text-primary hover:text-primary/80 font-medium text-sm group-hover:translate-x-1 transition-all duration-200"
>
Learn more
@@ -68,7 +71,7 @@ import { t } from '../utils/i18n';
<!-- CTA section -->
<div class="text-center animate-on-scroll">
<a
href="/services"
href={localizePath("/services", lang)}
class="btn-primary 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('services.viewAll')}
@@ -78,4 +81,4 @@ import { t } from '../utils/i18n';
</a>
</div>
</div>
</section>
</section>