From 2296fa486888f70af5a784818726d4e12eb1a51c Mon Sep 17 00:00:00 2001 From: erikgh Date: Fri, 31 Jul 2026 12:15:51 -0600 Subject: [PATCH] feat(inflexion): la curva que se dobla en el punto, sin fork --- .../primitives/IlustracionInflexion.tsx | 72 +++++++------------ .../__tests__/IlustracionInflexion.test.tsx | 23 +++++- 2 files changed, 45 insertions(+), 50 deletions(-) diff --git a/components/primitives/IlustracionInflexion.tsx b/components/primitives/IlustracionInflexion.tsx index 099c1eb..0240ee7 100644 --- a/components/primitives/IlustracionInflexion.tsx +++ b/components/primitives/IlustracionInflexion.tsx @@ -3,68 +3,46 @@ import { motion } from 'framer-motion'; import { useEnVista } from '@/lib/motion'; -// A literal small illustration of the section's own idea: a business grows, -// hits its inflection point (the dot), and from there either drifts flat -// without direction (grey, dashed) or keeps climbing with a clear strategy -// (dorado). Draws itself in once scrolled into view; a decorative aside, not -// data, so it stays purely presentational. +// The section's own subject, drawn: the inflection point itself. One line +// rises gently (the present, azul), bends at the marked point, and from there +// climbs steeply in dorado — clarity accelerating the climb. No fork, no +// "deriva": that bifurcation belongs to ParaQuien, not here. +const ANTES = 'M10 110 C 55 104, 85 88, 110 72'; +const DESPUES = 'M110 72 C 145 60, 178 24, 210 12'; + export function IlustracionInflexion({ className = '' }: { className?: string }) { const { ref, enVista, reduced } = useEnVista(); - // `motion.path` applies its own dash-based pathLength scaffolding even with - // no initial/animate props, which left the lines invisible for - // reduced-motion users — so that branch renders plain, non-motion s - // instead of trying to neutralise the animated ones. + const punto = ( + <> + + + + ); + + // Plain under reduced motion — motion.path applies its own dash + // scaffolding and would leave the drawing invisible. if (reduced) { return ( -