+
{t(item.titleKey)}
-
+
{t(item.bodyKey)}
- - {item.hero && ( -diff --git a/src/components/DifferenceCards.astro b/src/components/DifferenceCards.astro index 7e12c8b..8a43ba7 100644 --- a/src/components/DifferenceCards.astro +++ b/src/components/DifferenceCards.astro @@ -1,6 +1,5 @@ --- -// "Por qué elegirnos" — Bento grid with glass cards + magnetic hover glow -// Phase 3 — Organic Fluidity Premium +// "Por qué elegirnos" — Uniform 3-column grid with glass cards import SectionEyebrow from './SectionEyebrow.astro'; import type { TranslationKey } from '@/i18n/ui'; import MateIcon from './icons/MateIcon.astro'; @@ -12,16 +11,8 @@ interface Props { } const { t } = Astro.props; -interface DiffItem { - Icon?: typeof MateIcon; - titleKey: TranslationKey; - bodyKey: TranslationKey; - hero?: boolean; - area?: string; -} - -const items: DiffItem[] = [ - { Icon: MateIcon, titleKey: 'diff.support.title' as TranslationKey, bodyKey: 'diff.support.body' as TranslationKey, hero: true }, +const items = [ + { Icon: MateIcon, titleKey: 'diff.support.title' as TranslationKey, bodyKey: 'diff.support.body' as TranslationKey }, { Icon: SovereigntyIcon, titleKey: 'diff.sovereignty.title' as TranslationKey, bodyKey: 'diff.sovereignty.body' as TranslationKey }, { Icon: GlobeIcon, titleKey: 'diff.infra.title' as TranslationKey, bodyKey: 'diff.infra.body' as TranslationKey }, ]; @@ -38,49 +29,18 @@ const items: DiffItem[] = [
- -+
{t(item.bodyKey)}
- - {item.hero && ( -