feat(website): blueprint-style workflow diagrams with tabs and animated edges#181
Merged
Conversation
…ed edges Replace the single Mermaid workflow on the landing with five hand-authored SVG diagrams (Charter, AILOG, TDE, Compliance, Audit trail), each shown in its own tab with a swipeable carousel on mobile. - Blueprint aesthetic: navy grid in dark mode, drafting paper in light, driven by CSS variables under [data-theme] — no theme flashes. - Marching-ant edges: stroke-dasharray cycling along pathLength=1 paths, honors prefers-reduced-motion. - Full i18n: ~55 strings wrapped in <Translate>, populated for es and zh-CN. - Accessibility: keyboard-navigable tablist (Arrow/Home/End), aria-controls, embla on mobile with dots + arrows. Why: the Mermaid diagram couldn't theme dark/light, its labels weren't translated, and one diagram hid that StrayMark is five distinct workflows. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
4 tasks
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
[data-theme]— navy grid in dark mode, drafting paper in light, no flashes on theme toggle.stroke-dasharraycycling alongpathLength="1"paths; honorsprefers-reduced-motion.embla-carousel-react(~6 KB) with keyboard-accessiblerole="tablist"on desktop and swipe + dots + arrows on mobile.<Translate>, populated foresandzh-CN. Oldworkflow.title/workflow.captionkeys removed.Why
The Mermaid diagram couldn't theme dark/light (its
classDefcolors were hardcoded hex), its node labels were never wrapped in<Translate>soesandzh-CNshowed English boxes, and one diagram hid that StrayMark is five distinct workflows that deserve their own visual story.Test plan
npm run typecheckpasses (verified locally).npm run buildsucceeds for all three locales: en, es, zh-CN (verified locally —build/{,es/,zh-CN/}index.htmlall contain the new section title in their respective language)./,/es/,/zh-CN/: five tabs visible, click switches panel, marching-ant dashes flow along every edge in the direction of the arrow.Arrow Left/Right,Home,End;aria-selectedupdates.prefers-reduced-motion: reduce(DevTools → Rendering): edges visible and static, no animation.🤖 Generated with Claude Code