Repository navigation
Site: hero buttons on phones, "Built differently." and the stack scene - #627
Merged
Merged
Conversation
On an iPhone the pair wrapped onto two lines, each as wide as its own label, so they read as two unrelated widths. Under 760px the row no longer wraps; type (14-16px) and padding scale with the window so the pair fits from a 320px phone up, at 48px tall. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BJ2h83YxmxxQSEFgaMJM5a
Each slab had an ellipse blurred with CSS `filter: blur()`. Safari does not apply a CSS filter to an element inside an SVG, so on an iPhone every shadow was a hard grey disk that read as an extra flat layer. The slabs' lit tops and shaded sides carry the depth on their own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BJ2h83YxmxxQSEFgaMJM5a
The approach diagram showed only PlxNative's own layers, so "nothing sits in between" had nothing to be compared with. It now sets two stacks side by side, both ending on the same screen: a typical TV app (web page, JavaScript, browser engine, compositor, GPU) in dimmer ink, and PlxNative (the app, OpenGL, the GPU buffer), visibly shorter. Light streaks cross PlxNative's stack in 0.7s and the typical one's in 1.5s. A caption says it in words: most TV apps are web pages in the TV's browser; PlxNative has no browser in it and draws straight to the GPU. No app is named and no speed is claimed. The rail and streaks are now HTML laid over the slabs (sized from one --slab width) instead of a fixed-size SVG, so both stacks scale from a 320px phone to the desktop card. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BJ2h83YxmxxQSEFgaMJM5a
…s you scroll
Instead of two small stacks in a card, one large stack under a statement
("Most TV apps run inside a browser. PlxNative doesn't."). It starts as a
typical TV app's seven layers; as the page scrolls, JavaScript, the browser
engine and the compositor slide out and fade one after another, the app
drops straight onto OpenGL, and the label turns from "A typical TV app" to
"PlxNative". The removal is the animation, so there are no looping streaks.
Pinned for 220svh on wide screens; on phones and short landscape windows it
plays in the page's flow as the stack passes up the screen. site.js writes
three eased 0..1 values as custom properties and styles.css does the rest;
without JS or under reduced motion every value is 1, the settled PlxNative
stack. The story and its two benefits now sit side by side above it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BJ2h83YxmxxQSEFgaMJM5a
…he picture The approach section's headline becomes the slogan "Built differently.", as large as the hero's; the sentence under it, still lit word by word, moves down a size. The stack scene follows the Design canvas: - Seven isometric plates, 16:9 laid flat by CSS 3D: the demo frame on the app's plate and on the screen, frosted glass with a fine white wireframe between (code lines, page boxes, panes, a triangle mesh, a pixel grid). - As the page scrolls, JavaScript, the browser engine and the compositor slide away one after another; the four that stay close up under the app; the label turns from "A typical TV app" to "PlxNative". - A still motion blur of the picture (ten blurred copies, stronger near the screen) shows it dropping straight from the app to the screen. Nothing loops. - "60 fps / on a 2019 LG TV" comes in centred, in the room the browser plates leave. site.js writes --f (each plate's height), --t (each browser plate's exit) and --k (the end state); without it or under reduced motion the page shows the settled PlxNative stack. Pinned on wide screens; on phones it plays while the stack's middle moves from 85% to 40% of the window, so all of it is on screen. --W shrinks on narrow phones so the labels fit. Checked in Chromium at 1440x900, 1280x720, 393x852 and 320x568 at five scroll points each: no sideways scroll, the pinned scene clears the header and fits the window, labels never overlap, no console errors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BJ2h83YxmxxQSEFgaMJM5a
- The typical TV app starts as one closed block that opens as the scene scrolls in (only "The app" is labelled until it has), before its three browser plates leave and the rest close up. - Every plate has a visible glass edge (stepped shadows in its own plane) and a soft band of light that crosses it with the scroll. - Light pools under the screen plate, below the whole stack so it never shows through the glass, and strengthens as the frames arrive. - "60" counts up from 0 as the stack closes, in tabular figures with a warm white gradient taken from the picture. All of it is tied to the scroll position; nothing loops, and reduced motion still shows the settled stack. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BJ2h83YxmxxQSEFgaMJM5a
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.
Landing-page follow-ups to #625: two phone fixes, a new slogan, and the approach diagram redesigned in Claude Design.
Hero buttons side by side on phones. Before: on an iPhone, "Install PlxNative" and "View on GitHub" wrapped onto two lines, each as wide as its own label. After: under 760px they stay on one row. Type (14–16px), padding and the gap scale with the window, so the pair fits from 320px up, and both buttons stay 48px tall.
"Built differently." The approach section's headline becomes this slogan, as large as the hero's. The sentence under it, still lit word by word as you scroll, moves down a size.
The stack scene. Before: a small line drawing of PlxNative's own layers, with nothing to compare against. On iPhone each slab also sat on a hard grey disk, because Safari ignores a CSS blur inside an SVG.
After: under "Most TV apps run inside a browser. PlxNative doesn't."
How:
site.jswrites a few custom properties: each plate's height (--f), each browser plate's exit (--t), the end state (--k), the opening (--open) and the light (--s).styles.cssdoes the rest. Without JS, or under reduced motion, the page shows the settled PlxNative stack. On wide screens the scene is pinned for 220svh. On phones and short landscape windows it plays in the page's flow while the stack's middle moves from 85% to 40% of the window, so all of it plays on screen.Verification:
main's.tools/subset-site-fonts.py checkpasses.unittestoverci/test_ci_workflows.py,tests/test_site_video.py,tests/test_site_stills.pyandtests/test_demo_library.py: OK.🤖 Generated with Claude Code
https://claude.ai/code/session_01BJ2h83YxmxxQSEFgaMJM5a
Generated by Claude Code