Repository navigation
Compact the hero: inline Tailwind lockup, left-aligned layout - #11
Merged
Merged
Conversation
The particle mark sat in its own block under the install command and pushed the gallery a full screen down. It now sits inline in the H1 as the Tailwind lockup, sized in em so it tracks the type, which is what docs/DESIGN.md already specified. - The mark rests assembled in --ink and takes Tailwind's sky only while the pointer is on it. The vendored "roam" idle scattered the dots until hover, which read as noise mid-sentence at headline size. - Repulsion radius and force scaled down to the smaller mark; sampling lattice tightened so it resolves at headline size. - Hero is left-aligned on the gallery's edge: headline across the measure, a hairline, then pitch and install command side by side (stacked below lg). The first row of tiles now shows above the fold on a laptop. DESIGN.md updated; its note that the canvas mounts only behind the pointer gate did not match the code, which always mounts it and gates interaction. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
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.
What this changes
The hero. The particle Tailwind mark sat in its own block under the install command and pushed the gallery a full screen down. It now sits inline in the H1 as the Tailwind lockup ("React and [mark] Tailwind."), sized in
emso it tracks the type. That is whatdocs/DESIGN.md§ The hero contains no decorative filler already specified.--inkand turns Tailwind's sky (#38BDF8) only while the pointer is on it. Under the pointer the dots scatter away from the cursor.lg).Why
The mark was taking too much space, and the centred single column put the gallery (the page's real content) a full scroll away. This was meant to go into #10, but that PR had already been merged.
Notes for review:
hoverEnabledis nowfalseon the vendored particle component. Its "roam" idle scatters the dots across the whole box until hovered, which at headline size read as noise in the middle of the sentence. Repulsion stays on behind the(hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference)gate.--inkis read off<html>(the canvas can't resolve a CSS variable) and re-read when the theme class changes, because--inkinverts in dark mode.particleCount25 → 60) and repulsion is scaled down (radius 60 → 26, force 10 → 5) for the smaller mark.docs/DESIGN.mddocuments the new hero. Its old note said the canvas mounts only behind the pointer gate; the code always mounted it and gated only the interaction, so the text now matches the code.The gate
Every PR
npm run lintpassesnpm run buildpassesMotion and accessibility —
docs/MOTION.mdaria-hidden; the headline still reads as a sentence, with "Tailwind" as textScreen recording
Not attached. Checked in the in-app browser at 1440×900 (dark theme, at rest and hovered) and at 375px.
🤖 Generated with Claude Code