Skip to content

feat: put the live demo in the hero, replacing the mockup - #53

Merged
attson merged 2 commits into
mainfrom
feat/hero-demo
Aug 18, 2026
Merged

feat: put the live demo in the hero, replacing the mockup#53
attson merged 2 commits into
mainfrom
feat/hero-demo

Conversation

@attson

@attson attson commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Summary

The demo shipped below the features grid, well past the fold — while the hero showed an SVG drawing of exactly the composition the demo actually runs. This swaps the real thing into the home-hero-image slot and deletes the drawing, which could only ever drift from the product.

Rendered through a theme slot rather than <ClientOnly>, so the iframe is present in the served HTML instead of appearing only after hydration. The demo's own layout tightens (340px panel column, 430px body, smaller type) to read well in the narrower hero column, and stacks vertically under 720px.

Also fixes a latent CI gap: deploy-docs only watched docs-site/**, but the demo is built into docs-site/public. A demo-only change would have left the homepage serving the previous build. The paths filter now covers packages/extension/demo/** and the demo Vite config.

No version bump: the site deploys from main, and neither the extension nor the MCP server changed behaviour.

Test plan

  • pnpm typecheck clean; pnpm test 1171 passing; pnpm build clean
  • build:demo succeeds and the site build embeds the iframe server-sidedist/index.html contains home-demo-frame and demo/index.html
  • The old mockup is gone from the built homepage (sidepanel-hero-landscape no longer referenced)
  • Manual: open the deployed homepage and confirm the demo sits in the first screen and plays through
  • Manual: check the narrow-viewport stack (hero goes vertical, demo goes page-over-panel)

attson added 2 commits August 18, 2026 17:19
The demo was below the features grid, well past the fold, while the hero
showed an SVG drawing of exactly the composition the demo actually runs.
Swapping it into the home-hero-image slot puts the real thing in the
first screen and deletes the drawing that could drift from it.

Rendered through a theme slot rather than ClientOnly, so the iframe is in
the served HTML instead of appearing only after hydration. The demo's own
layout tightens to fit the narrower hero column.
The demo is built into docs-site/public, but the paths filter only
watched docs-site/**, so a demo-only change would have left the homepage
showing the previous build.
@attson
attson merged commit 0de421e into main Aug 18, 2026
2 checks passed
@attson
attson deleted the feat/hero-demo branch August 18, 2026 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant