## Summary - apply public website launch readiness updates across the Astro site shell, content, and navigation - refine website components, metadata, and localization-related structure for launch prep - update docs/content paths and smoke coverage to match the launch-ready public site state ## Scope - touches the website app and related spec artifacts for feature 403 - does not modify `apps/platform` ## Testing - not run in this step Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #394
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
---
|
|
import MainLayout from '@/layouts/MainLayout.astro';
|
|
import MainSection from '@components/ui/blocks/MainSection.astro';
|
|
import PrimaryCTA from '@components/ui/buttons/PrimaryCTA.astro';
|
|
import SecondaryCTA from '@components/ui/buttons/SecondaryCTA.astro';
|
|
import { siteCopy } from '@data/site-copy';
|
|
import { localizeHref, type Locale } from '@/i18n';
|
|
|
|
const { locale } = Astro.props;
|
|
|
|
interface Props {
|
|
locale: Locale;
|
|
}
|
|
|
|
const copy = siteCopy[locale].legal;
|
|
---
|
|
|
|
<MainLayout
|
|
lang={locale}
|
|
title={copy.pageTitle}
|
|
customDescription={copy.metaDescription}
|
|
customOgTitle={copy.pageTitle}
|
|
>
|
|
<MainSection title={copy.heading} subTitle={copy.subtitle} />
|
|
<section class="mx-auto max-w-[85rem] px-4 py-10 sm:px-6 lg:px-8">
|
|
<div class="flex flex-wrap gap-3">
|
|
<PrimaryCTA title={copy.privacy} url={localizeHref('/privacy', locale)} />
|
|
<SecondaryCTA title={copy.terms} url={localizeHref('/terms', locale)} />
|
|
<SecondaryCTA
|
|
title={copy.imprint}
|
|
url={localizeHref('/imprint', locale)}
|
|
/>
|
|
</div>
|
|
</section>
|
|
</MainLayout>
|