Skip to content

feat(website): animated DAG as the landing hero#22

Merged
enixCode merged 1 commit into
mainfrom
feat/animated-dag-hero
Jun 2, 2026
Merged

feat(website): animated DAG as the landing hero#22
enixCode merged 1 commit into
mainfrom
feat/animated-dag-hero

Conversation

@enixCode
Copy link
Copy Markdown
Owner

@enixCode enixCode commented Jun 2, 2026

What

Replace the static banner.webp landing hero with DagHero, an animated SVG of the workflow graph: ingest fans out to transform/validate, both feed score, which routes to report/store. Tuned to fill the shared landing's 16/5 hero-banner box.

Why

The hero was a placeholder image. The DAG is the product; showing a live graph says it better than a still. Same visual language as the docs diagrams shipped in #21, so the site reads as one piece.

How

  • DagHero is a bare SVG (no frame of its own): the shared landing supplies the corner brackets, the bottom gradient and the caption. Consumes the new optional banner.node prop from light-landing-page.
  • diagrams.module.css: hoisted the design-token block to a shared .figure/.heroFill selector, added .heroFill/.heroSvg sizing.
  • data.tsx: the hero banner now carries node: <DagHero /> instead of src.
  • Bumped the light-landing-page lockfile pin to the commit that added the optional banner node (feat: support a custom React banner node in the hero light-landing-page#1).

Notes

  • Pure CSS animation, no client JS, so it survives static export, honours prefers-reduced-motion, and is safe to pass across the RSC boundary (same server-JSX-as-prop pattern already used for the headline/lede).
  • npx tsc --noEmit passes; the Next static export is the CI oracle (Google Fonts fetch fails offline).

build with cc

Replace the static banner.webp hero with DagHero, a wider cut of the workflow
graph (ingest fans out to transform/validate, both feed score, which routes to
report/store) tuned to fill the shared landing's 16/5 hero-banner box. Pure CSS
animation, no client JS, safe across the RSC boundary and in static export.

- DagHero: bare SVG (no frame of its own, the landing supplies corners, the
  bottom gradient and the caption), shared design tokens with the docs diagrams.
- diagrams.module.css: hoist the token block to a shared .figure/.heroFill
  selector, add .heroFill/.heroSvg sizing.
- data.tsx: hero banner now carries node: <DagHero /> instead of src.
- bump the light-landing-page lockfile pin to the commit that added the
  optional banner node prop.

build with cc
@enixCode enixCode merged commit deb6437 into main Jun 2, 2026
5 checks passed
@enixCode enixCode deleted the feat/animated-dag-hero branch June 2, 2026 22:23
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