Repository navigation
feat(landing): fit phones and draw the kit section - #225
Merged
Merged
Conversation
On a phone a capture was enlarged and cut at its frame's right edge, with no way to see the rest. Its frame now runs off the right of the screen and pans sideways, like the row of phones. The scene layer moves into the frame so it pans with the capture, and a capture stops growing once the column is wider than a phone.
At 360px the docs link ran into the language switch, and at 320px the install button left the screen. Up to 560px the theme toggle now sits in the footer and the GitHub icon is dropped. At 340px and below the docs link goes too.
On a narrow screen the installer URL broke inside a name, and --server-url broke after its hyphens, which reads as another argument.
On a coarse pointer the controls are 44px tall and a text link answers around its words. Hover styles apply only where a pointer can hover, so they no longer stick after a tap.
The routes ran inside the column's right edge, behind the full-width install block. They now pass the block in the page margin, and where the margin is too narrow the facts and the block make room for them.
The section listed eleven features with two or three lines of prose each, which nobody read. Each feature is now a tile: a small sketch of its screen, its name and one line. The docs already carry the detail. A twelfth tile, the audit log, fills the last group. On a phone each group is a strip that pans sideways, like the captures.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Summary
Three things on the landing page: it now fits a phone, the hero's routes no longer run under the install block, and the kit section draws its features instead of describing them.
--server-url. The Chinese headline fits 320px, setup commands take the full width, and on a coarse pointer the controls are 44px tall. Hover styles apply only where a pointer can hover.apps/landing/README.mdrecords the Vercel project that serves the site and where the kit's sketches live.The sketches show sample data, but the rules behind them follow the product: an alert fires at 7 of 10 samples, an agent upgrade has five stages and rolls back if the agent does not come up, a failed sign-in is audited as
anonymous, and.envand*.keyare blocked from the file browser by default.Deployment
Merging deploys
serverbee.appfromapps/landing. Nothing else is deployed by this change apart from a one-line edit toapps/docs/README.md.Verification
apps/landing:types:check(0 errors),check:contractsandbuild.bun x ultracite check apps/landingandbun run check:agent-navigationfrom the root.buildandpreview, in Chromium, WebKit and Firefox: 15 widths from 320 to 1920px in both languages. The page never scrolls sideways, and no sketch clips, wraps or overlaps its content.Not verified: real devices, Windows scrollbars, and forced-colors mode.