Skip to content

feat(hero): lockup over the title that travels into the bar - #54

Merged
steveapo merged 2 commits into
mainfrom
feat/hero-lockup
Nov 21, 2026
Merged

steveapo merged 2 commits into
mainfrom
feat/hero-lockup

Conversation

@steveapo

@steveapo steveapo commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

What

  • Removes the hero illustration (both modes, all widths): the four AVIF files, lib/hero-art.*, the preload and the styles.
  • The Domico lockup stands large and centred above the hero title. On scroll it travels into the navigation bar as one object (scroll-driven animation where supported, IntersectionObserver plus a transition elsewhere, a plain jump under prefers-reduced-motion).
  • Removes "ekdoti.co" from the bar. No other visible text changes.
  • Hero is one centred column on the spacing scale; --hero-pad states where the lockup stands, once.

Accessibility

Exactly one lockup is exposed to a screen reader: the link (named "Ekdotico home page"). The copy that holds the bar's width is aria-hidden, so the bar does not shift. Tab order: skip link, lockup, appearance, form.

Checked

typecheck, lint, pnpm run check, vitest (29 passed) and build pass locally. Checked in Chrome at 375, 768, 1280 and 1920, light and dark: no horizontal overflow, nothing overlapping, lockup centred at the top and docked at the same place in the bar.

Not checked: Firefox and Safari (no scroll-driven animations; the observer path is untested in a real browser there).

🤖 Generated with Claude Code


Get evidence
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

steveapo and others added 2 commits November 21, 2026 16:27
…tration

Remove the hero illustration in both modes, its files, preload and styles.
The Domico lockup stands large and centred above the title and, as the page
scrolls, travels into the navigation bar as one object: bound to scroll where
the browser has scroll-driven animations, an IntersectionObserver with a
transition elsewhere, and a plain jump under reduced motion. One lockup is
exposed to a screen reader; a hidden copy holds the bar's width so nothing
shifts. Remove "ekdoti.co" from the bar. The hero is one centred column on
the spacing scale.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The large lockup's size is now one property, --hero-lockup-fs, read by the
slot, the lockup and its travel. Up to 520px wide it is 70% of --fs-5xl.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@steveapo
steveapo merged commit b70e3b3 into main Nov 21, 2026
1 check passed
@steveapo
steveapo deleted the feat/hero-lockup branch November 21, 2026 14:36
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