Files
Creeer-Web/lib/simbolo.ts
T
erikghandClaude Opus 5 20a41c6d1a chore: retira SimboloTresLineas y pasa los comentarios a inglés
SimboloTresLineas se quedó sin consumidores cuando SecuenciaClaridad
ocupó sus dos sitios (hero y FraseAncla). Sólo lo usaba su propio test.
La geometría del ≡ ya vive en lib/simbolo.ts, así que no se pierde nada.

Los cinco comentarios de código que quedaban en español pasan a inglés,
como pide CLAUDE.md. Los créditos de foto se quedan en español: son
atribución, y el footer que los recoge está en español.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-31 16:01:55 -06:00

23 lines
794 B
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.
export const VIEWBOX_SIMBOLO = '0 0 64 64';
export const BARRAS_SIMBOLO = [
{ x: 13, y: 13, width: 38, height: 8 },
{ x: 13, y: 28, width: 38, height: 8 },
{ x: 13, y: 43, width: 38, height: 8 },
] as const;
// Same three bars as strokes: a horizontal line through each bar's centre,
// with the bar's height as stroke width.
export const LINEAS_SIMBOLO = BARRAS_SIMBOLO.map((b) => ({
x1: b.x,
y1: b.y + b.height / 2,
x2: b.x + b.width,
y2: b.y + b.height / 2,
grosor: b.height,
}));