From 69b4069525c8b4a0fe48326972977fb701b78291 Mon Sep 17 00:00:00 2001 From: erikgh Date: Fri, 31 Jul 2026 10:44:35 -0600 Subject: [PATCH] =?UTF-8?q?feat(secciones):=20puntos=20de=20inflexi=C3=B3n?= =?UTF-8?q?=20y=20dolores,=20con=20gr=C3=A1fico=20en=20toda=20la=20p=C3=A1?= =?UTF-8?q?gina?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dos secciones nuevas tomadas del deck de la dueña, verbatim y sin reescribir: los 6 puntos de inflexión y los 4 dolores en primera persona. El resto de las secciones incorpora la capa gráfica: fondos de puntos, duotono sobre foto en Mecanismo y Cómo empezar, pantalla partida sí/no en Para quién, y pasos conectados con línea de progreso. Las fotos son CC BY-SA 4.0 y llevan crédito en el footer, como exige la licencia al haberlas modificado. Co-Authored-By: Claude Opus 5 --- app/page.tsx | 6 +- components/layout/Footer.tsx | 13 ++- components/layout/__tests__/Footer.test.tsx | 7 ++ components/layout/__tests__/Header.test.tsx | 8 +- components/sections/Cierre.tsx | 28 +++---- components/sections/ComoEmpezar.tsx | 67 ++++++++++----- components/sections/Disciplinas.tsx | 23 ++++-- components/sections/Dolores.tsx | 41 ++++++++++ components/sections/Estratega.tsx | 25 ++++-- components/sections/FraseAncla.tsx | 26 +++--- components/sections/Hero.tsx | 71 +++++++++++----- components/sections/Mecanismo.tsx | 76 +++++++++++++++--- components/sections/ParaQuien.tsx | 42 +++++++--- components/sections/PuntosInflexion.tsx | 64 +++++++++++++++ .../sections/__tests__/ComoEmpezar.test.tsx | 26 +++++- .../sections/__tests__/Dolores.test.tsx | 23 ++++++ .../sections/__tests__/Estratega.test.tsx | 8 ++ .../sections/__tests__/FraseAncla.test.tsx | 8 +- components/sections/__tests__/Hero.test.tsx | 19 +++-- .../sections/__tests__/Mecanismo.test.tsx | 31 ++++++- .../sections/__tests__/ParaQuien.test.tsx | 15 +++- .../__tests__/PuntosInflexion.test.tsx | 24 ++++++ lib/content.ts | 61 +++++++++++++- public/images/comoempezar-bg.jpg | Bin 0 -> 84898 bytes public/images/mecanismo-bg.jpg | Bin 0 -> 174448 bytes 25 files changed, 592 insertions(+), 120 deletions(-) create mode 100644 components/sections/Dolores.tsx create mode 100644 components/sections/PuntosInflexion.tsx create mode 100644 components/sections/__tests__/Dolores.test.tsx create mode 100644 components/sections/__tests__/PuntosInflexion.test.tsx create mode 100755 public/images/comoempezar-bg.jpg create mode 100755 public/images/mecanismo-bg.jpg diff --git a/app/page.tsx b/app/page.tsx index 83dd8e3..ec603cc 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -2,6 +2,8 @@ import { Header } from '@/components/layout/Header'; import { Footer } from '@/components/layout/Footer'; import { Hero } from '@/components/sections/Hero'; import { FraseAncla } from '@/components/sections/FraseAncla'; +import { PuntosInflexion } from '@/components/sections/PuntosInflexion'; +import { Dolores } from '@/components/sections/Dolores'; import { ParaQuien } from '@/components/sections/ParaQuien'; import { Mecanismo } from '@/components/sections/Mecanismo'; import { Disciplinas } from '@/components/sections/Disciplinas'; @@ -25,9 +27,11 @@ export default function Home() {
{/* dueña puede cambiar a "hormozi" */} - + + + diff --git a/components/layout/Footer.tsx b/components/layout/Footer.tsx index 5bcbd57..d826fea 100644 --- a/components/layout/Footer.tsx +++ b/components/layout/Footer.tsx @@ -1,6 +1,6 @@ import { Wordmark } from '@/components/primitives/Wordmark'; import { Container } from '@/components/primitives/Container'; -import { footer } from '@/lib/content'; +import { footer, creditosFotos } from '@/lib/content'; export function Footer() { return ( @@ -10,6 +10,17 @@ export function Footer() {

{footer.tagline}

{footer.legal}

+ +

+ {creditosFotos.map((c, i) => ( + + {i > 0 && ' · '} + {c.desc}, modificada,{' '} + {c.licencia} + + ))} +

+
); } diff --git a/components/layout/__tests__/Footer.test.tsx b/components/layout/__tests__/Footer.test.tsx index 7bb10dc..61fd4d1 100644 --- a/components/layout/__tests__/Footer.test.tsx +++ b/components/layout/__tests__/Footer.test.tsx @@ -12,4 +12,11 @@ describe('