Skip to content

Website: the header, title and type line up with showrecorder.app (#100) - #103

Merged
Skeyelab merged 1 commit into
mainfrom
website/match-showrecorder-layout
Dec 3, 2026
Merged

Skeyelab merged 1 commit into
mainfrom
website/match-showrecorder-layout

Conversation

@Skeyelab

@Skeyelab Skeyelab commented Dec 3, 2026

Copy link
Copy Markdown
Member

Closes #100.

soundcheckplayer.app now uses showrecorder.app's layout values, so switching tabs between the two home pages leaves the header and the title in the same place. SoundcheckPlayer keeps its green and its green hero gradient. Two changes go beyond CSS. The eyebrow line moves under the H1 (Eric's call): its wording is unchanged, and it is still a <p>, not a heading. And a new tests/layout.test.tsx checks the copied values and that order.

Measurements

Measured with Playwright and getBoundingClientRect on https://showrecorder.app, on https://soundcheckplayer.app before this PR, and on this branch's static build. The window is 900 px tall. "SP after" is the same in dark and light (both were measured).

Value SR SP before SP after
Header height, 768 px and up 65 (64 + hairline), sticky 61, static 65, sticky
Header height, 390 97 (2 rows), static 61 61 (see note)
Logo x,y at 1440 / 1024 / 768 / 390 160,16 / 32,16 / 24,16 / 16,14 196,14 / 16,14 / 16,14 / 16,14 160,16 / 32,16 / 24,16 / 16,14
Wordmark 19 px / 600 / -0.01em 16.8 px / 700 19 px / 600 / -0.01em
H1 x,y at 1440 160, 161.3 196, 288.9 160, 161.3
H1 x,y at 1024 32, 180 16, 288.9 32, 180
H1 x,y at 768 24, 105 16, 238 24, 105
H1 x,y at 390 16, 137 16, 160 16, 137
H1 size 1440 / 1024 / 768 / 390 56.64 / 45.82 / 39.17 / 36 px 54.4 / 54.4 / 53.76 / 33.6 px 56.64 / 45.82 / 39.17 / 36 px
H1 weight, line-height, tracking 700, 1.02, -0.02em 800, 1.15, -0.01em 700, 1.02, -0.02em
Lede size 1440 / 390 21 / 18 px 18.4 / 18.4 px 21 / 18 px
h2 1440 / 390 52 / 32 px, 700 33.6 / 24 px, 750 52 / 32 px, 700
h3 1440 / 390 21 / 19.17 px 17.6 / 17.6 px 21 / 19.17 px
Body 17 px, 18 px from 1024, line-height 1.5 16 px, 1.55 17 px, 18 px from 1024, line-height 1.5
Container 1120 + 2 x 16/24/32 px 1080 px, 16 px sides 1120 + 2 x 16/24/32 px
Hero padding 40/64; from 1024, 40/40, fills the first screen and is centered 40/48; from 768, 72/80 same as SR (phones: 76 px on top, see note)
Section gap 64 px; 96 px from 1024 56 px; 80 px from 768 64 px; 96 px from 1024
Button 52 px tall, radius 12, padding 20, 17 px / 500 48 px, pill, padding 22, 16 px / 700 52 px, radius 12, padding 20, 17 px / 500
Footer 40 px top, 14 px / 1.45, 15 px links at 44 px 32/40 px, 15.2 px 40 px top, 14 px / 1.45, 15 px links at 44 px

H1 y at other window heights and widths (SR / SP after):

Window SR SP after
1024 x 700 / 800 / 1080 105 / 130 / 270 105 / 130 / 270
1440 x 700 / 800 / 1080 105 / 111.3 / 251.3 105 / 111.3 / 251.3
1100 x 900 174.4 176.6 (2.2 px off)
1180 x 900 180.5 173.0 (7.5 px off)
1280 x 900 173.0 168.5 (4.5 px off)
1366 x 900 166.6 164.6 (2.0 px off)
1600 x 900 152.7 154.1 (1.4 px off)
1920 x 900 152.7 152.5

Notes

  • Why the H1 can't match at every width from 1024 to 1600 px. From 1024 px, SR centers its hero block in the first screen, so its title's y follows the block's height. That height comes from SR's own copy wrapping (606 px at 1024, 643 at 1440, 661 from 1600). SP gives its hero block a height that grows with the window width through those measured points (clamp(606px, 513.9px + 8.99vw, 661px)). This keeps SP's title at the top of its block. The title matches exactly at 1024 and 1440 at any window height. Between those widths SR's copy re-wraps in steps, so SP can be up to 7.5 px off. If SR's hero copy changes, measure again: the CSS comment says how.
  • Phones. SR's phone header has a second row of section links, which SP doesn't have, so its header is 97 px and SP's is 61 px. Instead of adding links that don't exist, SP's hero starts 36 px lower, so the title lands at y 137 on both.
  • Website: the title, heading and opening say virtual soundcheck #98 (virtual soundcheck copy) makes the hero longer: a longer H1 and a new paragraph. If SP's text column grows past the block height above (606 px at 1024), the block grows and the title moves up by half the overflow. Re-run the 1024 and 1440 measurements once Website: the title, heading and opening say virtual soundcheck #98 lands. I'll rebase this PR over it or Website: the title, heading and opening say virtual soundcheck #98 over this, whichever merges second.
  • Footer bottom padding is 40 px, not SR's 112 px. SR leaves room for its chat bubble, which SP doesn't have. SR's footer also starts with an icon and the name, but SP's footer content is left as is (no content changes).
  • Themes. SR picks its theme with a toggle (data-theme) and ignores the system setting. SP still follows the system setting. That's out of scope here.

Screenshots: SR | SP after, 900 px tall

dark, 1440 px

SR | SP dark 1440

dark, 1024 px

SR | SP dark 1024

dark, 768 px

SR | SP dark 768

dark, 390 px

SR | SP dark 390

light, 1440 px

SR | SP light 1440

light, 1024 px

SR | SP light 1024

light, 768 px

SR | SP light 768

light, 390 px

SR | SP light 390

The images are on the pr-assets/issue-100 branch, so they stay out of website/. Delete that branch after this merges.

Checks

  • yarn test:run: 6 files, 40 tests pass (including the new tests/layout.test.tsx)
  • yarn lint: clean
  • yarn build: static export OK
  • Checked in headless Chromium (Linux) only, not in Safari or on a real iPhone. SR and SP both use the system font stack, so on Apple devices both get SF Pro and the line breaks stay the same between them. The absolute numbers above are from Chromium's fallback font.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VCgWWutwEqKiC9aQMQxaR5

The width (1120 px plus 16/24/32 px sides), the 64 px sticky header, the logo and wordmark, the type scale (17/18 px
body, its h1, h2 and h3), the section spacing, the buttons and the footer type are now showrecorder.app's values.
The hero uses its mechanism too: one column under 1024 px, then two columns centered in the first screen. The hero
block is given showrecorder.app's height, so the title lands at the same x and y at any window height.

The eyebrow moves under the title (Eric's call), so the title starts where showrecorder.app's does. Its wording is
unchanged, and it stays a paragraph, not a heading. The green and the green hero gradient stay.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VCgWWutwEqKiC9aQMQxaR5
@Skeyelab
Skeyelab enabled auto-merge (squash) December 3, 2026 07:07
@Skeyelab
Skeyelab merged commit cccfa8c into main Dec 3, 2026
6 checks passed
@Skeyelab
Skeyelab deleted the website/match-showrecorder-layout branch December 3, 2026 07: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.

Website: match showrecorder.app's header, type scale and spacing so the two sites line up

1 participant