Conversation
The landing page used to put the two-doors "Where to start" block
below the eighteen-component grid, so visitors had to scroll past
every tile before getting the high-level "tutorial vs reference"
choice. Two small changes:
1. Moved <section class="two-doors"> to immediately follow the
hero, so the choice between learning and looking-something-up
is visible without scrolling.
2. Pointed the "I'm here to look something up" door's link
(Browse all components ↓) at #components — an anchor on the
in-page component grid — instead of /reference/. Now it
scrolls down to the tiles instead of navigating away. The
hero's "Browse components" CTA gets the same anchor for
consistency.
Added id="components" to <section class="all-components"> so the
anchor resolves. Arrow on the door's call-to-action changed from
→ to ↓ to match the scroll-down semantics.
No other section reordering, no CSS changes.
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
Two small landing-page tweaks at https://wordpress.github.io/php-toolkit/:
#componentsinstead of navigating away to/reference/. The hero's "Browse components" CTA gets the same anchor for consistency. Arrow flipped from → to ↓ to match scroll-down semantics.Added
id="components"to<section class="all-components">so the anchor resolves.New section order
No other reordering, no CSS changes.
🤖 Generated with Claude Code