Revisada la página con Chromium a 1440x900 y 390x844 en nueve alturas de scroll, y verificado cada cambio contra capturas nuevas. - El ≡ deja de leerse como icono de menú. lib/simbolo.ts se anunciaba como single source of truth pero no coincidía con Wordmark.tsx, que traza la marca con las proporciones medidas del Manual: barra de largo 5.919× su grosor, hueco de 2×, extremos de píldora. Ahora se derivan de ahí. De paso, las líneas se meten medio grosor por cada extremo: el remate redondo alargaba el trazo un grosor entero sobre la barra que debía reproducir. - Banda: 12px en escritorio y 7px en móvil vía CSS (14px era el 3,6% de una pantalla de 390px y partía los párrafos), opacidad al 18%, y muelle de 90/30 a 210/40 — sobreamortiguado tardaba ~2s en asentar y la punta se arrastraba a media pantalla. El punto suelto que aparecía centrado arriba al cargar era el remate redondo pintándose en el origen con longitud cero: ahora la opacidad sigue al avance. - Ritmo vertical un 25-30% más apretado en las diez secciones. La página pasa de 8.061 a 7.457px sin tocar contenido. - Números 01-06: de marca de agua de 48px al 6% (que chocaba con títulos y reglas) a índice dorado sentado sobre la regla. - Hero: los dos CTA al mismo ancho en móvil, el patrón de puntos fuera del logotipo, y la secuencia visible en todos los tamaños — oculta bajo lg dejaba el hero del móvil sin ninguna pieza gráfica. La convergencia de la variante "hero" se cierra más para que se lea como líneas buscando su eje y no como un garabato tachado. - Estratega: fuera la retícula de puntos del retrato, que parecía el recuadro de imagen rota del navegador; la etiqueta del 30+ cabía en menos de lo que mide "construyendo" y salía en tres líneas. - El nudo de Dolores, más pequeño y con algo más de contraste. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
46 lines
1.7 KiB
TypeScript
46 lines
1.7 KiB
TypeScript
// Single source of truth for the ≡ glyph geometry. Everything that draws the
|
||
// mark reads from here — HiloConductor and SecuenciaClaridad resolve into it,
|
||
// the former with <rect>, the latter with <line> — so the symbol they produce
|
||
// is provably the same one and not a lookalike.
|
||
//
|
||
// The proportions are the Manual de Identidad Visual's, already measured and
|
||
// traced in Wordmark.tsx: bar length = 5.919 × thickness, gap = 2 × thickness,
|
||
// ends fully rounded. Three bars and two gaps make the mark exactly seven
|
||
// thicknesses tall. These are not cosmetic: with stubby bars and tight gaps the
|
||
// mark stops reading as an E — the owner's 28/jul instruction — and starts
|
||
// reading as a hamburger menu icon.
|
||
|
||
export const VIEWBOX_SIMBOLO = '0 0 64 64';
|
||
|
||
const LADO = 64;
|
||
const LARGO_POR_GROSOR = 5.919;
|
||
const HUECO_POR_GROSOR = 2;
|
||
|
||
export const GROSOR_BARRA = 8;
|
||
export const RADIO_BARRA = GROSOR_BARRA / 2;
|
||
|
||
const LARGO_BARRA = GROSOR_BARRA * LARGO_POR_GROSOR;
|
||
const HUECO = GROSOR_BARRA * HUECO_POR_GROSOR;
|
||
const PASO = GROSOR_BARRA + HUECO;
|
||
|
||
const IZQUIERDA = (LADO - LARGO_BARRA) / 2;
|
||
const ARRIBA = (LADO - (3 * GROSOR_BARRA + 2 * HUECO)) / 2;
|
||
|
||
export const BARRAS_SIMBOLO = [0, 1, 2].map((i) => ({
|
||
x: IZQUIERDA,
|
||
y: ARRIBA + i * PASO,
|
||
width: LARGO_BARRA,
|
||
height: GROSOR_BARRA,
|
||
}));
|
||
|
||
// The same three bars as strokes. A round cap reaches half the stroke width
|
||
// past its endpoint, so the ends are inset by exactly that much — otherwise the
|
||
// drawn line overshoots by a full thickness the rect it has to reproduce.
|
||
export const LINEAS_SIMBOLO = BARRAS_SIMBOLO.map((b) => ({
|
||
x1: b.x + b.height / 2,
|
||
y1: b.y + b.height / 2,
|
||
x2: b.x + b.width - b.height / 2,
|
||
y2: b.y + b.height / 2,
|
||
grosor: b.height,
|
||
}));
|