fix: homepage badge duplication, contrast, mobile diagram legibility#16
Merged
Conversation
- Merge hero-meta and trust-bar into a single deduped badge row (both listed overlapping items like "MCP protocol"; on mobile the trust bar alone wrapped to 3 rows right after an equivalent hero row) - Fix --fg-subtle contrast: #4a3d60 on #0c0817 measured ~2:1, well below WCAG AA; bumped to #8a7ba3 (~5.1:1) - Fix hero-meta-item text: rgba(255,255,255,0.3) measured ~2:1 against the hero background; switched to var(--fg-muted) (~5.9:1) - Fix CapabilityFlow SVG on mobile: viewBox scaling shrank node labels to ~5.6px and sub-labels to ~3.9px, unreadable. Below 640px the diagram now scrolls horizontally at a fixed legible size instead of shrinking text past legibility. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up fixes after a manual review flagged real bugs, not just taste issues — verified each with computed contrast ratios and measured DOM values, not eyeballing.
Rust + WASM · MCP protocol · AI-agent ready · Apache 2.0) sat directly above the trust bar (WebAssembly · JSON Schema contracts · MCP protocol · Wasmtime runtime · TOML-first config) — "MCP protocol" appeared in both, back to back. On mobile the trust bar alone wrapped to 3 rows. Merged into one deduped row, trust bar removed.--fg-subtle(#4a3d60on#0c0817) measured ~2:1 — used for labels like "BUILT ON". Bumped to#8a7ba3(~5.1:1).hero-meta-itemtext (rgba(255,255,255,0.3)) also measured ~2:1; switched tovar(--fg-muted)(~5.9:1).viewBoxscaled node labels down to ~5.6px and sub-labels to ~3.9px on a 375px viewport — unreadable. Below 640px it now scrolls horizontally at a fixed legible size instead of shrinking further.Test plan
🤖 Generated with Claude Code