From f3da96ee151bcea3920c4069ac534c1aeb118af2 Mon Sep 17 00:00:00 2001 From: Anthony G <1@anthony.sh> Date: Tue, 11 Aug 2026 09:01:01 +0200 Subject: [PATCH] feat: add ReassuranceSection with 4 benefit cards --- src/components/ReassuranceSection.tsx | 75 +++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 src/components/ReassuranceSection.tsx diff --git a/src/components/ReassuranceSection.tsx b/src/components/ReassuranceSection.tsx new file mode 100644 index 0000000..4d5731a --- /dev/null +++ b/src/components/ReassuranceSection.tsx @@ -0,0 +1,75 @@ +import { getTranslations } from 'next-intl/server' + +function GiftIcon() { + return ( + + + + + + + + ) +} + +function BoltIcon() { + return ( + + + + ) +} + +function LockIcon() { + return ( + + + + + ) +} + +function FilmIcon() { + return ( + + + + + + + + + + + ) +} + +export async function ReassuranceSection({ locale }: { locale: string }) { + const t = await getTranslations({ locale, namespace: 'reassurance' }) + + const items = [ + { title: t('free'), desc: t('freeDesc'), Icon: GiftIcon }, + { title: t('fast'), desc: t('fastDesc'), Icon: BoltIcon }, + { title: t('private'), desc: t('privateDesc'), Icon: LockIcon }, + { title: t('formats'), desc: t('formatsDesc'), Icon: FilmIcon }, + ] + + return ( + + + {items.map(({ title, desc, Icon }) => ( + + + + + {title} + {desc} + + ))} + + + ) +}
{title}
{desc}