Skip to content

Put the hero's lead on two lines, with the description always below it - #33

Merged
kvlonge merged 1 commit into
mainfrom
feat/hero-lede-lines
Dec 4, 2026
Merged

kvlonge merged 1 commit into
mainfrom
feat/hero-lede-lines

Conversation

@kvlonge

@kvlonge kvlonge commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Why

The hero's bold lead gains its second clause, and the grey description should always start on its own line. At 1440 px the description ran on straight after the bold text.

Changes

  • The bold lead is two lines: "Writing SQL is no longer the hard part." then "Knowing it’s right, and keeping it that way, is."
  • .lede strong is a block, so the description always starts below it. text-wrap: pretty keeps a phone from leaving "is." on a line of its own.
  • The H1, the description, the tool grid and the stacks are unchanged.
  • Restamped styles.css.

Verification

  • npm test: 9 passed. The hero test now checks that the description starts below the bold lines; it fails with the block display removed.
  • node scripts/stamp-assets.mjs --check passes.
  • Checked the hero at 1920, 1440, 1280 and 390 px: two bold lines, then the description on its own line at every width.

The bold lead now reads "Writing SQL is no longer the hard part." and, on
its own line, "Knowing it's right, and keeping it that way, is." It is a
block, so the grey description always starts on a new line; at 1440 px it
used to run on after the bold text.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying sqlstack with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6316e99
Status: ✅  Deploy successful!
Preview URL: https://dc23f69b.sqlstack.pages.dev
Branch Preview URL: https://feat-hero-lede-lines.sqlstack.pages.dev

View logs

@kvlonge
kvlonge merged commit a1c8698 into main Dec 4, 2026
4 checks passed
@kvlonge
kvlonge deleted the feat/hero-lede-lines branch December 4, 2026 12:20
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