💄 docs(site): tevm-family theme, hero, live primitive playground, cross-site nav - #394
Open
roninjin10 wants to merge 1 commit into
Open
💄 docs(site): tevm-family theme, hero, live primitive playground, cross-site nav#394roninjin10 wants to merge 1 commit into
roninjin10 wants to merge 1 commit into
Conversation
…ss-site nav Visual layer only — the documentation prose is unchanged. - theme: adopt the tevm.sh family accent light-dark(#0085FF, #4DA6FF), Inter, the shared tevm logo (light + dark), and github-light/github-dark code themes - hero: eyebrow, headline, lead, CTAs, copy-paste install line, capability badges - playground: self-contained client component running the published @tevm/voltaire bindings in the browser (Keccak-256, EIP-55 checksum + CREATE address, RLP encode/decode round-trip) - nav: "tevm docs" top-nav dropdown and a landing-page grid linking all 13 live family sites - fix: editLink used the Vocs 1 `pattern` key; Vocs 2 expects `link` - fix: baseUrl is now overridable via VOCS_BASE_URL so `vocs preview` resolves assets from the preview origin instead of production Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Visual/UI layer for the Voltaire docs site (
voltaire.tevm.sh). Built on top ofprod/voltaire-readiness(PR #393), which is where the Vocs site and its prose live — this PR targets that branch, notmain. Documentation prose is untouched.Theme — matched to the family, not invented
Every live sibling (
cli,logger,ethers,mud,bundler,examples) resolves--vocs-color-accenttolight-dark(#0085FF, #4DA6FF); I verified that by fetching each site. Voltaire now uses the same accent, the sametevm-logo-light/dark.pngtreatment, Inter, andgithub-light/github-darkcode themes. All custom CSS is written against Vocs 2 design tokens (--vocs-text-color-*,--vocs-border-color-primary, …) so both schemes stay correct.Hero
Eyebrow, headline, the existing lead sentence, three CTAs, a copy-paste
npm install @tevm/voltaireline, and capability badges.Interactive component — one, and it really works
docs/src/components/Playground.client.tsx: a dependency-light client component that lazy-imports the published@tevm/voltaire@0.4.0bindings in the browser.0xhexCREATEaddress at nonce 0Verified in a real browser (Chrome via Playwright) against values computed independently in Node:
@noble/hashes,@noble/curvesandoxare added as explicit docs dependencies: the published@tevm/voltaire@0.4.0imports them fromdist/but does not list them independencies, so a strict (pnpm) install cannot resolve them otherwise. That is worth fixing in the package itself.Cross-repo navigation
A
tevm docstop-nav dropdown plus a landing-page grid covering all 13 live sites (tevm, contract, logger, test, bundler, cli, ethers, mud, examples, voltaire, guillotine, mini, zevm), with "you are here" on Voltaire. The list lives indocs/src/sites.tsand feeds both.Incidental fixes
editLinkused the Vocs 1patternkey; Vocs 2 expectslink, so the edit link was inert.baseUrlis now overridable viaVOCS_BASE_URL— without itvocs previewemits absolutehttps://voltaire.tevm.shasset URLs and the local preview cannot hydrate.Build
Rendering verified in both
lightanddarkviavocs preview+ Chrome: accent resolves torgb(0, 133, 255)/rgb(77, 166, 255), both logo variants present, 13 family cards, zero page errors.🤖 Generated with Claude Code