--- import Icon from './Icon.astro'; import type { T } from '../i18n/strings'; interface Props { t: T } const { t } = Astro.props; const cards = [ { icon: 'gift', t: 'why.1t', d: 'why.1d' }, { icon: 'monitor-smartphone', t: 'why.2t', d: 'why.2d' }, { icon: 'badge-check', t: 'why.3t', d: 'why.3d' }, ]; ---
{t('why.eyebrow')}

{t('why.h')}

{t('why.sub')}

{cards.map((c) => (

{t(c.t)}

{t(c.d)}

))}
1{t('why.s1')}
2{t('why.s2')}
3{t('why.s3')}