Repository navigation
feat(method): lay out the stack as a ruled cell strip with roles - #252
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying website with
|
| Latest commit: |
79dbbfe
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c8fa3014.website-70y.pages.dev |
| Branch Preview URL: | https://claude-frontend-design-rust.website-70y.pages.dev |
Co-Authored-By: Claude Opus 5.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.
What changed
The stack line under How it works was a single inline run (
Rust · BLAKE3 · QUIC · iroh · USDC · EVM). It's now a ruled strip of cells. Each cell shows the name set large and a small uppercase role label, prefixed by a plain square in the section's ink. There's no accent colour.@xl, one row of 6 at@6xl. Each hairline comes from the list's top/left border plus each cell's right/bottom border. The result is a single rule at any column count, and a closed grid wheneverSTACK.lengthdivides evenly by the column count.BLAKE3) overflows--text-h3, so there names size off the Frame's container width (3.4cqi, ≈44px at the 1280px max frame, ≈39px at the narrowest 6-column width)..metaand.hugare unlayered inglobals.css, so a Tailwind utility beside either can't override it. The role label therefore writes.metaout as utilities at 12px rather than fighting it with!.aria-hidden, and the<ul>is named by thestackeyebrow viaaria-labelledby.Data / mirror
STACKinlib/copy.tsis nowreadonly StackItem[]({ name, role }), so the roles live with the rest of the homepage copy.llms-full.txtserialises it through a newstackLine()helper:Stack: Rust (node & client) · BLAKE3 (verification) · ….Tests
lib/copy.test.tsSTACKitem;nameis the React key).components/site/Method.test.ts(new)<li>perSTACKitem, in order, with the name span over the role span;aria-hidden;stackeyebrow.app/llms-full.txt/route.test.tsasserts the serialisedStack:line, built independently ofstackLine().Review follow-ups (second commit)
A multi-agent review (code, comments, tests, types) found no bugs. The follow-ups:
tracking-[-0.03em](.hugalready sets-0.04em; rendering unchanged);Verification
pnpm typecheck,pnpm lint,pnpm format:checkandpnpm build(incl.check:out/check:og-image) pass.pnpm test: 474 passed.components/site/FaqList.test.tsfails to load locally withreact19.2.8 vsreact-dom19.2.7 installed. That's a local install mismatch unrelated to this diff.🤖 Generated with Claude Code