Skip to content

Reland the copy-prompt agent CTA on the homepage hero - #21017

Draft
jeffmerrick wants to merge 1 commit into
masterfrom
jeffmerrick/reland-issue-20327-homepage-agent-cta
Draft

Reland the copy-prompt agent CTA on the homepage hero#21017
jeffmerrick wants to merge 1 commit into
masterfrom
jeffmerrick/reland-issue-20327-homepage-agent-cta

Conversation

@jeffmerrick

@jeffmerrick jeffmerrick commented Aug 20, 2026

Copy link
Copy Markdown
Contributor
Screenshot 2026-08-20 at 9 13 53 AM

Proposed changes

Relands #20662, which was reverted in #21016 for an unintended merge rather than for a problem with the change. The commit is a revert of that revert, so the four files match their state at the original merge exactly.

  • Groups the homepage hero's buttons into a "For humans" card and adds a "For agents" card whose button copies an onboarding prompt, driven by four optional front matter keys (cta_card_label, cta_agent_label, cta_agent_prompt, cta_agent_prompt_label).
  • The CTA row moves into partials/hero-ctas.html, shared by the split and centered hero layouts. Without those keys it renders the plain button row as before, so the other 12 type: hero pages are unchanged.
  • The split hero's columns go from xl:w-1/2 on both to xl:w-[55%] / xl:w-[40%], plus w-full min-w-0 on the left column below xl. Applies to all 7 split heroes, not just the homepage - it fixes a content-sized left column that could overflow the viewport and shift width whenever its own text changed.
  • static/onboard.md (the prompt's target) and theme/src/ts/copy-text.ts came in with Add a copy-prompt agent CTA to /docs/get-started/ #20899 and were not reverted, so nothing here re-adds them.
  • .hero-cta-card-label breaks the card border with its own white background, so the cards only read correctly on a white section background.

Related issues (optional)

Fixes #20327

@pulumi-bot

Copy link
Copy Markdown
Collaborator

Your site preview for commit e2d33e2 is ready! 🎉

http://www-testing-pulumi-docs-origin-pr-21017-e2d33e2c.s3-website.us-west-2.amazonaws.com

Changed pages:

@pulumi-bot

Copy link
Copy Markdown
Collaborator

Lighthouse Performance Report

Commit: e2d33e2 | Metric definitions

Page Device Score FCP LCP TBT CLS SI
Homepage Mobile 🔴 43 3.7s 4.0s 2678ms 0.061 8.6s
Homepage Desktop 🟢 91 1.1s 1.6s 0ms 0.052 1.1s
Install Pulumi Mobile 🟡 60 5.6s 8.9s 104ms 0.054 5.6s
Install Pulumi Desktop 🟡 89 1.1s 1.9s 0ms 0.006 1.1s
AWS Get Started Mobile 🟡 57 7.7s 15.8s 37ms 0.000 7.7s
AWS Get Started Desktop 🟢 91 1.1s 1.7s 0ms 0.061 1.1s

@CamSoper CamSoper left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This still looks great to me :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a copy-prompt CTA to the home page for agent onboarding

3 participants