Skip to content

Put the stack figure in Spanish on the Spanish stack pages - #35

Merged
codecsrayo merged 1 commit into
mainfrom
stack-figure-es
Nov 25, 2026
Merged

codecsrayo merged 1 commit into
mainfrom
stack-figure-es

Conversation

@codecsrayo

Copy link
Copy Markdown
Member

The seventh step: the figure in Spanish.

  • tools/figures/stack/es.json: the Spanish of every text, keyed by the English (names such as PostgreSQL or the sizes are kept on purpose, listed in es.mjs). The build fails on any text with no Spanish.
  • src/figures/stack.es.html: generated with node tools/figures/stack/build.mjs --es; the same geometry as the English one (306 solids), deterministic.
  • src/components/StackFigure.astro: the Spanish figure on the Spanish pages, by the page's path under the site's base.
  • Stack tecnológico (es/guide/stack/overview.mdx) and Simulación (es/guide/stack/simulation.mdx): the three machines, the figure in place of the flat views, and how to read it. Same URLs.
  • src/figures/embed.test.ts: the Spanish figure is Spanish and draws the same as the English.

Verified locally: the kit's line check at all 19 stops in Spanish, dark and light: line ends: 0 at every stop; pnpm test (85 tests), both builds, scripts/check-public.sh.

🤖 Generated with Claude Code

The figure's Spanish, keyed by its English in es.json: every word on the
machines, the tour, the panels, the tables and the caption, with the same
geometry as the English figure. The build fails on a text with no Spanish.
The Spanish stack overview describes the three machines and shows the
figure, and the Spanish Simulation page shows it, wide, with how to read
it; StackFigure picks the Spanish figure on the Spanish pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecsrayo
codecsrayo merged commit 44c355e into main Nov 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant