Skip to content

Draw the hero stacks as the SQLStack mark, on its swoosh brim - #35

Merged
kvlonge merged 1 commit into
mainfrom
feat/hero-mark-brim
Dec 5, 2026
Merged

kvlonge merged 1 commit into
mainfrom
feat/hero-mark-brim

Conversation

@kvlonge

@kvlonge kvlonge commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

Why

The hero stacks were plain disc towers. Drawing them as the SQLStack mark, a column of discs on its swoosh brim, makes it obvious what they are.

Changes

  • stack.js draws each stack as the mark: dotted discs on the tilted swoosh. Batch has two brim strips (SQLBuild on top, SQLLoad as the wider lip below); streaming has one (SQLTide). The discs turn as before; the swoosh holds its shape and its dots flow along it at the same speed.
  • Brim layers are marked data-brim in index.html.
  • Each layer link now covers its stack and takes the pointer only through .hit spans clipped to the shapes it draws, stacked in paint order.
  • Tests that pointed at a layer link's centre now find a point where that layer is on top.

Verification

  • npm test: 9 passed. node scripts/stamp-assets.mjs --check passes.
  • Real pointer moves light the right layer over each disc, both strips and the rising right side of the brim; empty space lights nothing.
  • Checked screenshots at 1440 px (light and dark) and 390 px (dark), and both lit strips.

Each stack is now a column of dotted discs on the mark's tilted swoosh.
The batch brim is two strips, SQLBuild on top and SQLLoad as the wider
lip below; the streaming brim is SQLTide. The discs turn as before, and
the swoosh keeps its shape while its dots flow along it at the same
speed.

Each layer's link now covers its stack and takes the pointer only over
the shapes it draws, in paint order, so hover, click and tap follow the
swoosh. The tests point at a spot where the layer is on top.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying sqlstack with  Cloudflare Pages  Cloudflare Pages

Latest commit: ec7712e
Status: ✅  Deploy successful!
Preview URL: https://c3900e1e.sqlstack.pages.dev
Branch Preview URL: https://feat-hero-mark-brim.sqlstack.pages.dev

View logs

@kvlonge
kvlonge merged commit bc18a50 into main Dec 5, 2026
4 checks passed
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