Skip to content

seo(home): answer the Payload Components query - #439

Merged
Ducksss merged 1 commit into
devfrom
seo/homepage-payload-components-query
Aug 13, 2026
Merged

Ducksss merged 1 commit into
devfrom
seo/homepage-payload-components-query

Conversation

@tin-computer

@tin-computer tin-computer Bot commented Aug 6, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • lead the homepage title, description, eyebrow, and H1 with Payload Components
  • explain the one-command Payload v3 and Next.js wiring result above the fold
  • keep the existing install command, proof surfaces, and CTA hierarchy unchanged

Search baseline

Finalized Search Console window: July 5-August 3, 2026.

  • Homepage: 9 clicks, 71 disclosed page-query impressions, 12.68% CTR, average position 7.3
  • Leading query payload components: 8 clicks, 47 impressions, average position 4.5

Source: Cycle 19 query-page map retrieved August 6, 2026. Summed page-query impressions are not property demand because one search can expose several site pages.

Verification

  • focused homepage integration contract: 31/31 tests pass
  • focused desktop and mobile visual contract passes with refreshed Linux baselines
  • repository lint, formatting, source generation, TypeScript, registry reproducibility, and registry schema checks pass
  • production E2E build: 462 static pages generated successfully
  • shared-browser visual review: hero rendered cleanly with the existing install action dominant

Hosted required checks remain the acceptance gate.

@tin-computer
tin-computer Bot requested a review from Ducksss as a code owner August 6, 2026 13:59
@vercel

vercel Bot commented Aug 6, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
payload-components Ready Ready Preview Aug 11, 2026 2:27pm
payload-components-97bf Ready Ready Preview Aug 11, 2026 2:27pm

@Ducksss

Ducksss commented Aug 6, 2026

Copy link
Copy Markdown
Owner

Reviewed and not merged — one objective defect, and one call that is yours.

The defect: only the Linux baselines were re-minted

This changes heroHeadlinePrimary, heroEyebrow, and heroSubheadline, which all render above the fold. It updates:

  • landing-home-desktop-chromium-linux.png
  • landing-home-mobile-chromium-linux.png

but the repo also carries landing-home-desktop-chromium-darwin.png and landing-home-mobile-chromium-darwin.png. Those are now stale, so pnpm test:e2e frontend goes red for anyone on macOS — which is the maintainer's own machine. CI is green here only because CI runs Linux.

Both platforms need minting, or the darwin pair has to be handled in the same change.

The call: this rewrites the H1

heroHeadlinePrimary is concatenated with heroHeadlineAccent into the single H1, so the headline becomes:

Payload Components: wired, not pasted.

replacing:

Install Payload blocks wired, not pasted.

That trades a headline that states what the product does for one that states what it is called. The verb and the value proposition leave the H1.

Your own evidence argues against it: payload components is already at position 4.5 with 8 of the homepage's 9 clicks. That query is won. The descriptive H1 is what competes for the larger non-brand intent (payload cms blocks, payload block install), and that is the surface being given up. Leading with a brand name in an H1 typically helps only the query you already rank for.

AGENTS.md also names src/lib/site.ts the single source of truth for site copy and says not to retext it casually — the hero headline is the most load-bearing string in it.

What I would take

The metadata title and description are genuine improvements — naming the CLI and the four wiring outputs is more concrete than the current text, and metadata is where a brand qualifier costs nothing. The eyebrow change (Payload block registry → Payload CMS component registry) is fine too.

It is the H1 I would leave alone. Split it that way and I will land it; if you want the H1 change as well, say so and I will land the whole thing with both platforms' baselines minted.

@Ducksss

Ducksss commented Aug 6, 2026

Copy link
Copy Markdown
Owner

Review

The SEO case here is sound and the search data is specific, so I want to separate the parts of this that are free wins from the one part that costs something — and one thing that has to be fixed before merge regardless of the copy decision.

🔴 Blocking: the darwin baselines were not re-minted

This changes the H1, and only the linux pair was refreshed:

landing-home-desktop-chromium-linux.png    ✅ updated
landing-home-mobile-chromium-linux.png     ✅ updated
landing-home-desktop-chromium-darwin.png   ❌ stale
landing-home-mobile-chromium-darwin.png    ❌ stale

Two things make this worse than it looks:

  1. Every runner in the repo is ubuntu-latest (registry-verification.yml, visual-baselines.yml). The gate physically cannot see a stale darwin baseline, so green CI here is not evidence.
  2. The convention is airtight. The last six commits to touch landing-home-mobile-chromium-darwin.png and landing-home-mobile-chromium-linux.png are the same six commits (PinZheng(release): promote dev to main — CodeQL entity fix, wall overflow, template a11y #396, PinZheng(release): promote dev to main — review follow-ups + component wall hero #388, config(chore): promote dev to main — consent gate, audit remediations, dependency fixes #381, PinZheng(release): promote dev to main #334, config(chore): promote dev to main #285, PinZheng(config): promote dev to main #273). These files have never moved independently.

The mobile pair is the real risk, not desktop. At a 390px viewport the H1 wraps, and Install Payload blocks → Payload Components: changes the wrap input by three characters. If the wrap point moves, everything below it shifts vertically and the diff blows past maxDiffPixelRatio: 0.015 — not a glyph-level diff, a whole-page offset. The next pnpm test:e2e anyone runs on macOS fails.

Needs a darwin re-mint before this merges.

🟡 Two hardcoded copies of the headline go stale

Neither is test-enforced, so both drift silently:

  • README.md:34 — the social-card alt text still reads "Install Payload blocks wired, not pasted." The OG card renders heroHeadlinePrimary + heroHeadlineAccent, so the card itself becomes "Payload Components: / wired, not pasted." and the alt text now describes an image that no longer exists.
  • src/app/brand-guide/page.tsx:122 (sample: 'Install Payload blocks') and :319 ("Install Payload blocks wired, not pasted.") — the brand guide would document a headline the site no longer uses.

✅ Take these three unchanged

homeMetadataTitle, homeMetadataDescription, and heroEyebrow are straightforwardly better for the stated goal and cost nothing. Leading the <title> with the brand at position 4.5 for payload components is the right call, and Open-source Payload CMS component registry fixes a real gap — the old eyebrow said "Payload block registry" and never said "CMS".

❌ I'd keep the current H1 and subheadline

This is the part I'd push back on, on product grounds rather than SEO grounds.

The H1 loses its verb. Install Payload blocks / wired, not pasted. tells a first-time visitor what the product does in four words. Payload Components: / wired, not pasted. is brand-plus-tagline — it only parses if you already know what Payload Components is. The whole above-fold conversion path here is "run this one command," and the H1 is where that promise lives.

The incremental ranking value is also thin: after this PR the brand appears in the <title>, the meta description, the eyebrow, and the domain. Putting it in the H1 a fifth time is not what moves position 4.5 — and #422 already took the same treatment on the catalog.

The subheadline drops its audience clarifier. For Payload CMS developers, came in deliberately (#285, carried through the "focus install CTA and clarify audience" work). The replacement is a feature list; the original named who the page is for in its first three words.

There's also a smaller thing: heroHeadlinePrimary renders as its own 76px line in opengraph-image.tsx:91, so the social card would carry a dangling trailing colon at the end of that line. Defensible as a "brand: tagline" lockup, but worth seeing rendered before committing to it.

Suggested landing shape

Take homeMetadataTitle, homeMetadataDescription, and heroEyebrow. Revert heroHeadlinePrimary and heroSubheadline to current. That keeps the entire metadata-side SEO gain, drops the two int-spec pin changes that are only needed for the copy I'm pushing back on, and — usefully — means the hero renders identically to dev, so no baseline re-mint is needed on either platform and the README and brand-guide staleness both disappear.

If you'd rather keep the new H1, that's a legitimate call — but then the darwin re-mint and the two hardcoded copies all have to come with it.

Ducksss added a commit that referenced this pull request Aug 9, 2026
Narrows #439 to the two changes that are pure gain and carry no
rendering cost: homeMetadataTitle and homeMetadataDescription, which
live in <head> only.

Reverts heroHeadlinePrimary, heroSubheadline, and heroEyebrow to their
dev values, and restores both Linux landing baselines.

Why:

- The H1 lost its verb. "Install Payload blocks / wired, not pasted."
  states what the product does; "Payload Components: / wired, not
  pasted." only parses if you already know the brand. After the
  metadata change the brand is already in the title, description and
  domain, so the H1 was the fifth repetition, not the first.
- heroSubheadline dropped "For Payload CMS developers," — the audience
  clarifier added deliberately in #285.
- heroEyebrow renders as a sized pill above the H1, so keeping it would
  have required re-minting baselines on BOTH platforms. Only the Linux
  pair was refreshed here, and every runner is ubuntu-latest, so a stale
  darwin baseline is invisible to CI and fails the next local macOS run.

The hero now renders byte-identically to dev, so no baseline re-mint is
needed on either platform, and README.md:34 plus brand-guide/page.tsx
stay accurate.

Co-Authored-By: Claude Opus 5 <[email protected]>
@Ducksss

Ducksss commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Narrowed this to the metadata changes and brought the branch up to date with dev (it was 4 PRs behind — #422, #438, #440, #441).

Kept: homeMetadataTitle, homeMetadataDescription.
Reverted: heroHeadlinePrimary, heroSubheadline, heroEyebrow, and both Linux landing baselines.

One correction to my review above, in the interest of not leaving a wrong claim standing: I said keeping heroEyebrow would cost nothing. That was wrong. It renders as a bordered pill sized to its content (HeroSection.tsx:40-46), so lengthening it to Open-source Payload CMS component registry changes both screenshots exactly like the H1 does. Keeping it would have required re-minting four baselines, not zero — which is precisely the cost I was arguing against. So it went back too.

What the branch now adds over dev is three lines:

 src/lib/site.ts                     | 4 ++--
 tests/int/fumadocs-site.int.spec.ts | 2 +-

Both metadata constants are <head>-only, so the rendered DOM is byte-identical to dev. No baseline re-mint on either platform, no stale darwin pair, and README.md:34 and brand-guide/page.tsx stay accurate without edits.

tests/int/fumadocs-site.int.spec.ts passes 31/31 locally on the merged tree, and prettier --check is clean on both files.

The <title> still leads with the brand, which was the actual point of the search data in the description — that lives in the metadata, not the H1.

The homepage is src/app/page.tsx, the same route segment as the root
layout, so the '%s | Payload Components' template never applies to it.
The homepage was therefore the one page on the site whose <title> never
said "Payload Components" — the exact page most likely to be the target
of that query.

Lead with the brand, keep the head term verbatim ("Payload CMS blocks"),
and keep the differentiator last, so the front of the string is what
survives SERP truncation.

Leaves homeMetadataDescription alone. The variant proposed alongside this
change opened with the same eleven words as siteDescription, which would
have made the homepage description a near-duplicate of the site-wide
fallback and dropped its leading imperative verb.

Co-Authored-By: Claude Opus 5 <[email protected]>
@Ducksss
Ducksss force-pushed the seo/homepage-payload-components-query branch from 0e4696c to 9a2490f Compare August 11, 2026 14:22
@Ducksss
Ducksss merged commit d4f2096 into dev Aug 13, 2026
11 checks passed
@Ducksss
Ducksss deleted the seo/homepage-payload-components-query branch August 13, 2026 17:06

This branch was successfully deployed

2 active deployments
Preview – payload-components-97bf — 9a2490f0 Deployed Aug 11, 2026 by vercel[bot]
Preview – payload-components — 9a2490f0 Deployed Aug 11, 2026 by vercel[bot]
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