Files
landing/src/pages/en/index.astro
T
anthony 96ec05f649 feat: add hero section and service cards to the hub page
CVE Watch card resolves its href per-locale (cve-en/cve-fr), Convert
resolves to the same URL on both locales.
2026-08-02 15:58:44 +02:00

26 lines
736 B
Plaintext

---
import BaseLayout from '../../layouts/BaseLayout.astro';
import Header from '../../components/Header.astro';
import ServiceCard from '../../components/ServiceCard.astro';
import { getDictionary } from '../../i18n';
import { services } from '../../i18n/services';
const locale = 'en';
const t = getDictionary(locale);
---
<BaseLayout locale={locale}>
<Header locale={locale} />
<main>
<section class="hero">
<h1>{t.hero.title}</h1>
<p>{t.hero.subtitle}</p>
</section>
<section class="services">
<h2>{t.services.heading}</h2>
<div class="services-grid">
{services.map((service) => <ServiceCard service={service} locale={locale} />)}
</div>
</section>
</main>
</BaseLayout>