Repository navigation
Website: the header, title and type line up with showrecorder.app (#100) - #103
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 newtests/layout.test.tsxchecks the copied values and that order.Measurements
Measured with Playwright and
getBoundingClientRecton 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).H1 y at other window heights and widths (SR / SP after):
Notes
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.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
dark, 1024 px
dark, 768 px
dark, 390 px
light, 1440 px
light, 1024 px
light, 768 px
light, 390 px
The images are on the
pr-assets/issue-100branch, so they stay out ofwebsite/. Delete that branch after this merges.Checks
yarn test:run: 6 files, 40 tests pass (including the newtests/layout.test.tsx)yarn lint: cleanyarn build: static export OK🤖 Generated with Claude Code
https://claude.ai/code/session_01VCgWWutwEqKiC9aQMQxaR5