Repository navigation
feat(website): lead the homepage with a one-prompt agent setup - #2
Merged
Merged
Conversation
Try it now becomes two tabs that share the quick start's synced choice. The default tab, Let your agent do it, sits in an accent-framed panel marked Recommended: copy the prompt, paste it into Claude Code, Codex, Cursor or another agent, and review the diff. Do it yourself keeps the curl one-liner. The hero's primary action now jumps to the agent setup, with the quick start as the secondary action.
The orange border and tinted fill looked heavy against both themes. The panel now uses a plain gray outline with no fill, and the Recommended badge is the only accent.
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
Makes the coding-agent setup the highlight of the homepage. "Try it now" now offers both paths, with Let your agent do it first and recommended.
Changes
setup-pathsynced choice with/quick-start/, so a pick on one page carries over to the other.#try-it-now. "Quick start" becomes a secondary action, and the tagline mentions both paths..agent-panelintheme.cssis a gray outline with no fill, using Starlight's gray tokens so it adapts to light and dark. The orange accent appears only on the badge.Verification (local)
astro check: 0 errors. Link validator: all internal links and anchors valid, including the new#try-it-now.#try-it-nowwith the agent tab selected/quick-start/