Repository navigation
feat: Site: sketchbook 2026 redesign (catalog-first landing, shared chrome, numbered demos) - #224
Merged
mvilacad merged 3 commits intoOct 16, 2026
Conversation
Catalog-first landing with an open-sketchbook hero, shared SiteBar/SiteFooter, sketch.css language, numbered gallery cards and docs demo blocks, plus regenerated api/v1 catalog (4.1.0).
mvilacad
marked this pull request as ready for review
October 16, 2026 15:47
mvilacad
deleted the
feat/223-site-sketchbook-2026-redesign-catalog-first
branch
October 16, 2026 15:47
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.
Closes #223
Summary
The site now carries the 2026 concept: the library is a sketchbook, every page a numbered reference that a person picks and an AI reproduces. The sketchbook aesthetic (grid paper, serif display, hard shadows,
marks.css) is kept; no new font, no new colors.site/src/styles/sketch.css(new):.sk-page,.sk-page__num,.sk-caption,.sk-eyebrow,.sk-hatch, plus the bar and footer rules moved out oflanding.css; forced-colors block.SiteBar.astro/SiteFooter.astro(new): one chrome for landing and templates; the footer is also on gallery, theme, changelog and every docs page (the docs header stays theDocsShellcontract, so the package is untouched, no changeset).SketchbookHero.svelte(two-page book: gallery cards#001,#005,#015with Pick on the left, the live prompt and the first 12 lines of the last pick's/api/v1/en/e/{id}.txton the right, Copy picks, "Continue in the gallery"). Chapters:#pick,#agents(realp/001.txtprompt, MCP/plugin/skills/llms.txt list),#theme(ThemeLab + HeroStage),#mobile,#data,#start.#qualityremoved. New finale copy and actions.sk-pagesheets with a number tab, new header, and a "how it works" page.Demo.astroblocks are numbered pages (#NNNtab,Reference #NNNandPick in the gallerylinks, matched from the catalog by page + title slug)./docs/, "Pick a demo by number" section inai-agents.site/public/api/v1/**was regenerated by the package build (needs/version4.0.0 to 4.1.0, stale on the branch).Deviations from the plan, with reason: the nav bar collapses to brand + "Open the sketchbook" below 900px (the token lint only allows the breakpoint scale, and the docs header brand is
nowrap, so the "sketchbook" tag is hidden below 900px there to avoid a 65px sideways scroll at 360px). The hero is one column (copy above, the open book below) instead of the old two-column hero, since the book needs the full row.Regression test (written first)
Both new tests were added before any implementation and failed on the unchanged site:
After the implementation:
(The docs test first failed once for a test bug,
.first()matched#006because the page lists demos in a different order from the catalog; it now scopes to the "Full width" block.)Verification
bun run --cwd site build: ok;grep -c sk-page__num site/dist/docs/inputs/button/index.html= 7 (>= 6);grep -o '#001' site/dist/index.html | head -1=#001.bun run test:e2e -- tests/landing.spec.ts tests/gallery.spec.ts tests/docs.spec.ts tests/layout.spec.ts tests/routes.a11y.spec.ts tests/routes.smoke.spec.ts --retries=0: 1129 passed, 412 skipped, 0 failed. The chapter-rail test now iteratespick, agents, theme, mobile, data, start. The layout suite caught two real defects on the way (number tab overlapping demo headings; brand tag widening the mobile docs header), both fixed.bun run validate: green (build, themes, token lint, biome, unit, package and site types, size).Visual baselines: regenerated
Regenerated on CI (run 38925777766,
bun run test:vrt:update, ci.yml enabled for that dispatch and disabled again): commitd44f7c9 test: update site visual baselines.Checklist
bun run validatepassespackages/uiis untouched/docs/Gallery card,ai-agents"Pick a demo by number")