Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
HTML agent-skillsai-agentsarchitecture-diagramclaude-codeclaude-skillscodexcoding-agentsdeepseek-harnessdeveloper-toolsdiagramsdiagrams-as-codedsh-pluginflowchartllmmermaidopencodesequence-diagramsoftware-architecturesystem-designvisualization
fix(website): keep narrow mobile hero readable and verify CJK screenshots
tt-a1ieaebee6da29d
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 6874ec69..c547cfa0 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -449,6 +449,10 @@ jobs:with:chrome-version: stableinstall-dependencies: true+ - name: Install Chinese font coverage for website screenshots+ run: |+ sudo apt-get install --yes --no-install-recommends fonts-noto-cjk+ fc-match 'sans-serif:lang=zh-cn'- name: Verify built website navigation and language continuityrun: npm run test:browserworking-directory: website@@ -477,7 +481,6 @@ jobs:with:name: website-homepage-evidencepath: website/.browser-evidence- include-hidden-files: trueif-no-files-found: warn- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3with:diff --git a/website/src/styles/index.css b/website/src/styles/index.cssindex 866ebaec..36206b4e 100644--- a/website/src/styles/index.css+++ b/website/src/styles/index.css@@ -392,7 +392,9 @@@media(max-width:640px) {.container { padding:0 1.25rem; }.hero { min-height:0; padding:calc(var(--nav-h) + 3rem) 1.25rem 3rem; }- .hero-eyebrow { margin-bottom:1.5rem; }+ .hero-copy { min-width:0; width:100%; }+ .hero-eyebrow { max-width:100%; white-space:normal; margin-bottom:1.5rem; }+ .eyebrow-tag { flex-shrink:0; }.hero-works { display:none; }.hero-stars { padding-left:0; border-left:0; }.hero h1 { font-size:clamp(2.2rem,9.4vw,3.2rem); }@@ -400,6 +402,8 @@.hero-actions { flex-direction:column; align-items:stretch; width:100%; margin-top:2rem; }.hero-actions .btn { width:100%; }.cmd-chip { justify-content:space-between; font-size:.75rem; }+ .cmd-chip code { min-width:0; white-space:normal; overflow-wrap:anywhere; }+ .cmd-copy { flex-shrink:0; }.stage { height:320svh; margin-top:0; }.stage-pin { padding:calc(var(--nav-h) + .5rem) .75rem .75rem; align-items:flex-start; }.stage-window { height:auto; max-height:100%; border-radius:14px; }diff --git a/website/test/homepage-browser.test.mjs b/website/test/homepage-browser.test.mjsindex bee9ef22..f0107903 100644--- a/website/test/homepage-browser.test.mjs+++ b/website/test/homepage-browser.test.mjs@@ -70,7 +70,7 @@ test('real Chrome: homepage category and identity remain readable across languagif (region === 'identity') await evaluate(`document.querySelector('.facts-identity').scrollIntoView({block:'center',behavior:'instant'})`);await evaluate('new Promise(resolve => requestAnimationFrame(() => requestAnimationFrame(resolve)))');const receipt = await evaluate(`(() => {- const selectors = ${JSON.stringify(region === 'hero' ? ['.hero h1', '.hero-sub'] : ['.facts-identity', '.facts-identity a'])};+ const selectors = ${JSON.stringify(region === 'hero' ? ['.hero h1', '.hero-sub', '.hero-eyebrow', '.cmd-chip', '.cmd-copy', '.hero-actions .btn'] : ['.facts-identity', '.facts-identity a'])};return { lang: document.documentElement.lang, theme: document.documentElement.dataset.theme,viewport: innerWidth, scrollY, pageWidth: document.documentElement.scrollWidth,nodes: selectors.flatMap(selector => [...document.querySelectorAll(selector)].map(node => {@@ -89,7 +89,7 @@ test('real Chrome: homepage category and identity remain readable across languagassert.equal(receipt.theme, theme);assert.equal(receipt.viewport, width, `${name}: requested layout viewport`);assert.ok(receipt.pageWidth <= receipt.viewport + 1, `${name}: no page overflow`);- assert.equal(receipt.nodes.length, region === 'hero' ? 2 : 3);+ assert.equal(receipt.nodes.length, region === 'hero' ? 7 : 3);for (const node of receipt.nodes) assert.ok(node.visible && node.fits && node.inView, `${name}: readable ${node.text}`);if (region === 'hero') {assert.match(receipt.nodes[0].text, /AI agent|AI Agent/);