Repository navigation
🐛 fix(hero): show the name, copy and navigation with the first paint - #41
Conversation
The name, the hero copy and the navigation are prerendered, but each had an entrance animation. The name and the navigation were hidden as soon as the scripts ran, to be animated back, and the copy faded in with the headline last. Recorded frame by frame on a desktop, the name painted at 0.08 s, vanished at 0.15 s and returned at 1.87 s. All three entrance animations are gone. The hero's name marks no longer clip their overflow, so the scroll dive needs no handler to unclip them.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Problem
The name, the hero copy and the navigation are in the prerendered page, but each had an entrance animation:
Recorded frame by frame on production with a GPU-backed Chromium at 1600×1000, reloading the page:
Change
overflow-visible, as the footer's already are, so the scroll dive no longer needs anonUpdatehandler to unclip them.data-name-mark,data-word,data-nav-introand.hero-copy, which only the animations used.Verification
Measured with the same harness on the test build:
bun run check,bun run test:coverage(213 tests, 100%),bun run build:testandbun run test:e2e:pr(25 specs) pass.Summary by CodeRabbit