diff --git a/components/sections/Hero.tsx b/components/sections/Hero.tsx index 9a863f1..081617c 100644 --- a/components/sections/Hero.tsx +++ b/components/sections/Hero.tsx @@ -5,10 +5,9 @@ import { Wordmark } from '@/components/primitives/Wordmark'; import { CTA } from '@/components/primitives/CTA'; import { Container } from '@/components/primitives/Container'; import { FondoPuntos } from '@/components/primitives/FondoPuntos'; -import { Carrusel } from '@/components/primitives/Carrusel'; +import { SecuenciaClaridad } from '@/components/primitives/SecuenciaClaridad'; import { TextoDesenfoque } from '@/components/primitives/TextoDesenfoque'; -import { TarjetaSpotlight } from '@/components/primitives/TarjetaSpotlight'; -import { hero, dolores } from '@/lib/content'; +import { hero } from '@/lib/content'; import { fadeInUp, staggerContainer, usePrefersReducedMotion, motionProps } from '@/lib/motion'; type Variant = 'hormozi' | 'editorial'; @@ -25,7 +24,7 @@ export function Hero({ variant = 'editorial' }: { variant?: Variant }) { return (
- +
- {/* Rota las frases textuales de `dolores` — quien llega al hero se ve - reflejado antes de haber bajado a leer la sección completa. */} + {/* Complejidad → Enfoque, sin resolver: el hero plantea la tensión y + FraseAncla la paga resolviendo en el ≡. */} - ( - -

lo que escuchamos

-
- “{quote}” -
-
- ))} - /> +
diff --git a/components/sections/__tests__/Hero.test.tsx b/components/sections/__tests__/Hero.test.tsx index 72c12c5..d203f84 100644 --- a/components/sections/__tests__/Hero.test.tsx +++ b/components/sections/__tests__/Hero.test.tsx @@ -25,9 +25,16 @@ describe('', () => { const { container } = render(); expect(container.textContent).not.toMatch(/cupos|cohorte|generación fundadora/i); }); - it('mirrors the client\'s own words back in a rotating carousel', () => { - render(); - expect(screen.getByRole('group', { name: /lo que sienten nuestros clientes/i })).toBeInTheDocument(); - expect(screen.getByText(/Trabajo más y gano casi lo mismo/i)).toBeInTheDocument(); + it('does not pre-empt the Dolores section with its own copy', () => { + const { container } = render(); + // The hero used to rotate the same four quotes that Dolores renders in + // full further down. Duplicating them spent the emotional beat early and + // competed with the headline. + expect(container.textContent).not.toMatch(/Trabajo más y gano casi lo mismo/i); + }); + + it('carries the brand metaphor as its visual anchor', () => { + const { container } = render(); + expect(container.querySelectorAll('svg').length).toBeGreaterThan(0); }); });