Skip to content

feat(website): lead the homepage with a one-prompt agent setup - #2

Merged
DaniAkash merged 2 commits into
mainfrom
feat/home-agent-first
Oct 23, 2026
Merged

DaniAkash merged 2 commits into
mainfrom
feat/home-agent-first

Conversation

@DaniAkash

@DaniAkash DaniAkash commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

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

  • Try it now is now two tabs, sharing the setup-path synced choice with /quick-start/, so a pick on one page carries over to the other.
    • Let your agent do it (default): a card with a neutral outline and an accent "Recommended" badge and three steps:
      1. Copy the prompt (wrapped, with a copy button).
      2. Paste it into Claude Code, Codex, Cursor, Gemini CLI, Copilot or any agent that can run commands.
      3. Review the diff; the lint configuration should match the downloaded files.
    • Do it yourself: the existing curl one-liner plus the quick start link.
  • Hero: the primary action is now "Set up with your agent", which jumps to #try-it-now. "Quick start" becomes a secondary action, and the tagline mentions both paths.
  • Styling: .agent-panel in theme.css is 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.
  • agent-browser:
    • the hero button lands on #try-it-now with the agent tab selected
    • the "Do it yourself" tab shows the curl block
    • the tab choice carries over to /quick-start/
    • the prompt has a working copy button
    • desktop and 390px mobile in both themes, with no horizontal scroll and no console errors
  • Lighthouse (mobile, homepage): 100 for Accessibility, Best Practices, SEO and Agentic Browsing.

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.
@DaniAkash
DaniAkash merged commit 7b50833 into main Oct 23, 2026
5 checks passed
@DaniAkash
DaniAkash deleted the feat/home-agent-first branch October 23, 2026 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant