Skip to content

feat(www): sponsor heart in the top bar - #7802

Merged
KATT merged 1 commit into
mainfrom
cursor/header-sponsor-heart-8095
Nov 2, 2026
Merged

KATT merged 1 commit into
mainfrom
cursor/header-sponsor-heart-8095

Conversation

@KATT

@KATT KATT commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

First of a stack of four. Next: CodeRabbit and Greptile in "As used by".

Why

  • The sponsor page had no link in the top bar.

What

  • A heart icon after Discord links to /sponsor with the router (no new tab).
  • Same size, spacing and focus ring as the social icons. Label and title: "Sponsor tRPC".
  • Turns pink and fills on hover. Stays pink on /sponsor.
  • Desktop: in the top bar from md up, like X and Discord. Phones: in the menu, after Discord.

Links

  • Home: heart in the top bar.
  • Sponsor: the heart stays pink here.

Screenshots

Desktop, light and dark:

header-desktop-light.png
header-desktop-dark.png

On hover, light and dark:

header-desktop-hover-light.png header-desktop-hover-dark.png

Phone, top bar and menu, light and dark:

header-mobile-light.png header-mobile-dark.png

mobile-menu-light.png mobile-menu-dark.png

Alternatives considered

None.

Testing

  • www: pnpm typecheck, pnpm lint, pnpm test and pnpm build pass. pnpm format passes.
  • Took the screenshots from the production build in Chrome.
Open in Web Open in Cursor 

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

Summary by CodeRabbit

  • New Features

    • Added a “Sponsor tRPC” link to the site navigation, including on mobile.
    • Added CodeRabbit and Greptile to the list of companies using tRPC.
  • Documentation

    • Marked the classic React Query integration as deprecated: it will receive bug fixes only and is planned for removal in the next major version. Added guidance for new projects and migration guidance for existing projects.
    • Updated related Next.js documentation, including links to TanStack React Query usage guidance.
    • Removed the star emoji from the TanStack React Query sidebar label.

@KATT
KATT requested a review from a team as a code owner November 2, 2026 11:49
@vercel

vercel Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
www Ready Ready Preview Nov 2, 2026 12:07pm UTC
6 Skipped Deployments
Project Deployment Actions Updated
trpc-v12 Ignored Ignored Preview Nov 2, 2026 12:07pm UTC
examples-todomvc Skipped Skipped Nov 2, 2026 12:07pm UTC
next-prisma-starter Skipped Skipped Nov 2, 2026 12:07pm UTC
next-prisma-websockets-starter Skipped Skipped Nov 2, 2026 12:07pm UTC
tanstack-start-sse-chat Skipped Skipped Nov 2, 2026 12:07pm UTC
trpc-next-app-dir Skipped Skipped Nov 2, 2026 12:07pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Run configuration
Commits

Reviewing files that changed from the base of the PR and between 556438e and 556438e.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 01e3156 and 6be65c7.

Files selected for processing: 18
  • www/v11/docs/client/nextjs.md
  • www/v11/docs/client/nextjs/pages-router/setup.md
  • www/v11/docs/client/react.md
  • www/v11/docs/client/react/aborting-procedure-calls.md
  • www/v11/docs/client/react/createTRPCQueryUtils.md
  • www/v11/docs/client/react/disabling-queries.md
  • www/v11/docs/client/react/getQueryKey.md
  • www/v11/docs/client/react/infer-types.md
  • www/v11/docs/client/react/server-components.md
  • www/v11/docs/client/react/setup.md
  • www/v11/docs/client/react/suspense.md
  • www/v11/docs/client/react/useInfiniteQuery.md
  • www/v11/docs/client/react/useMutation.md
  • www/v11/docs/client/react/useQueries.md
  • www/v11/docs/client/react/useQuery.md
  • www/v11/docs/client/react/useSubscription.md
  • www/v11/docs/client/react/useUtils.md
  • www/v11/docs/client/tanstack-react-query.md
Files skipped from review as they are similar to previous changes: 18
  • www/v11/docs/client/react/createTRPCQueryUtils.md
  • www/v11/docs/client/react/useSubscription.md
  • www/v11/docs/client/react/useQueries.md
  • www/v11/docs/client/react/getQueryKey.md
  • www/v11/docs/client/react/useInfiniteQuery.md
  • www/v11/docs/client/react/aborting-procedure-calls.md
  • www/v11/docs/client/react/useQuery.md
  • www/v11/docs/client/react/server-components.md
  • www/v11/docs/client/nextjs/pages-router/setup.md
  • www/v11/docs/client/react/useUtils.md
  • www/v11/docs/client/react/setup.md
  • www/v11/docs/client/react/suspense.md
  • www/v11/docs/client/react/infer-types.md
  • www/v11/docs/client/tanstack-react-query.md
  • www/v11/docs/client/react.md
  • www/v11/docs/client/react/disabling-queries.md
  • www/v11/docs/client/react/useMutation.md
  • www/v11/docs/client/nextjs.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

Walkthrough

The site navigation now links to the sponsor page, and the company logo list adds CodeRabbit and Greptile. The v11 documentation updates its guidance on the classic React Query integration and links readers to TanStack React Query resources.

Changes: Sponsor navigation

Layer / File(s) Summary
Add sponsor links
www/src/components/mobile-nav.tsx, www/src/components/site-header.tsx
The mobile and desktop navigation add a styled “Sponsor tRPC” link to /sponsor. The mobile link closes the dialog when clicked.
Add company logos
www/src/components/used-by/logos.ts
The company logo list adds CodeRabbit and Greptile, including their SVG path data and dimensions.

React Query documentation

Layer / File(s) Summary
Update integration guidance
www/v11/docs/client/react*, www/v11/docs/client/nextjs.md, www/v11/docs/client/nextjs/..., www/v11/docs/client/tanstack-react-query.md
The documentation identifies the classic @trpc/react-query integration as deprecated, describes its maintenance and feature status, and directs readers to TanStack React Query and migration resources. The App Router next-step links now point to queryOptions and mutationOptions guidance. The TanStack React Query sidebar label no longer includes a star emoji.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Feature

Suggested reviewers: nick-lucas

Merge Risk: Minimal · previous review 6be65

The checked navigation and migration links point to their intended pages. No actionable issue remains before merge.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title accurately summarizes all three primary changes: the sponsor link, new company logos, and the deprecation status of classic React Query. It is specific and clear despite its length.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 3 files. (18 skipped: 18 unsupported.)

Finishing Touches
Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@coderabbitai coderabbitai Bot 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.

Additional comments: 1
www/v11/docs/client/nextjs/pages-router/setup.md-50-50: 1

50-50: Minor · Maintainability & Code Quality · Quick win

Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.

Use a hyphen in “Next.js-specific”.

Write “Next.js-specific integrations” because the phrase modifies “integrations”. LanguageTool reports the same grammar issue.

Source: Linters/SAST tools


Review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 2458418 and 01e3156.

Files selected for processing: 22
  • www/src/components/mobile-nav.tsx
  • www/src/components/site-header.tsx
  • www/src/components/used-by/logos.ts
  • www/v11/docs/client/nextjs.md
  • www/v11/docs/client/nextjs/app-router-setup.md
  • www/v11/docs/client/nextjs/pages-router/setup.md
  • www/v11/docs/client/react.md
  • www/v11/docs/client/react/aborting-procedure-calls.md
  • www/v11/docs/client/react/createTRPCQueryUtils.md
  • www/v11/docs/client/react/disabling-queries.md
  • www/v11/docs/client/react/getQueryKey.md
  • www/v11/docs/client/react/infer-types.md
  • www/v11/docs/client/react/server-components.md
  • www/v11/docs/client/react/setup.md
  • www/v11/docs/client/react/suspense.md
  • www/v11/docs/client/react/useInfiniteQuery.md
  • www/v11/docs/client/react/useMutation.md
  • www/v11/docs/client/react/useQueries.md
  • www/v11/docs/client/react/useQuery.md
  • www/v11/docs/client/react/useSubscription.md
  • www/v11/docs/client/react/useUtils.md
  • www/v11/docs/client/tanstack-react-query.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.

@vercel
vercel Bot temporarily deployed to Preview – trpc-next-app-dir November 2, 2026 11:56 Inactive
@vercel
vercel Bot temporarily deployed to Preview – examples-todomvc November 2, 2026 11:56 Inactive
@vercel
vercel Bot temporarily deployed to Preview – next-prisma-starter November 2, 2026 11:56 Inactive
@trpc-bot

trpc-bot commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

@coderabbitai Thanks. Fixed the "Next.js-specific" hyphenation in www/v11/docs/client/nextjs/pages-router/setup.md (a038a74). That was the only finding, posted in the review body, so there's no thread to resolve.

@vercel
vercel Bot temporarily deployed to Preview – next-prisma-starter November 2, 2026 11:57 Inactive
@vercel
vercel Bot temporarily deployed to Preview – trpc-next-app-dir November 2, 2026 11:57 Inactive
@vercel
vercel Bot temporarily deployed to Preview – examples-todomvc November 2, 2026 11:57 Inactive
@cursor
cursor Bot force-pushed the cursor/header-sponsor-heart-8095 branch from 6be65c7 to 556438e Compare November 2, 2026 12:06
@vercel
vercel Bot temporarily deployed to Preview – examples-todomvc November 2, 2026 12:06 Inactive
@vercel
vercel Bot temporarily deployed to Preview – trpc-next-app-dir November 2, 2026 12:06 Inactive
@vercel
vercel Bot temporarily deployed to Preview – next-prisma-starter November 2, 2026 12:06 Inactive
@cursor cursor Bot changed the title feat(www): sponsor heart in the header, CodeRabbit and Greptile in "As used by", classic React Query marked deprecated feat(www): sponsor heart in the top bar Nov 2, 2026
@coderabbitai

coderabbitai Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Tip

For best results, initiate chat on the files or code changes.

@trpc-bot Thanks for fixing “Next.js-specific” in a038a74. No thread resolution is needed.


If you found this review helpful, would you consider giving us a shout-out on X?

Thank you for using CodeRabbit!

You are interacting with an AI system.

@trpc-bot

trpc-bot commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

@coderabbitai The "Next.js-specific" hyphen you flagged in pages-router/setup.md is fixed. After splitting this into a stack, that line lives in #7804, so this PR no longer touches the file.

@coderabbitai

coderabbitai Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Tip

For best results, initiate chat on the files or code changes.

@trpc-bot Thanks for the update. The “Next.js-specific” fix is now in #7804, outside this PR’s scope. No thread resolution is needed here.

You are interacting with an AI system.

@KATT
KATT added this pull request to stack #7807 November 2, 2026 12:18
@KATT
KATT enabled stacked auto-merge November 2, 2026 12:19
@pkg-pr-new

pkg-pr-new Bot commented Nov 2, 2026

Copy link
Copy Markdown

Open in StackBlitz

@trpc/client

npm i https://pkg.pr.new/@trpc/client@7802

@trpc/next

npm i https://pkg.pr.new/@trpc/next@7802

@trpc/openapi

npm i https://pkg.pr.new/@trpc/openapi@7802

@trpc/react-query

npm i https://pkg.pr.new/@trpc/react-query@7802

@trpc/server

npm i https://pkg.pr.new/@trpc/server@7802

@trpc/tanstack-react-query

npm i https://pkg.pr.new/@trpc/tanstack-react-query@7802

@trpc/upgrade

npm i https://pkg.pr.new/@trpc/upgrade@7802

commit: 556438e

@trpc-bot trpc-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM. The sponsor heart links to /sponsor with the router, with an accessible label and title, matching the social icons. It's in the top bar from md up and in the mobile menu (which closes on click). CodeRabbit's one finding (the "Next.js-specific" hyphen) is fixed and now lives in #7804 after the split. Required CI is green.

@trpc-bot trpc-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Required CI is green and CodeRabbit has no open comments. Approving.

@KATT
KATT added this pull request to the merge queue Nov 2, 2026
Merged via the queue into main with commit 9ec9aef Nov 2, 2026
52 of 53 checks passed
@KATT
KATT deleted the cursor/header-sponsor-heart-8095 branch November 2, 2026 13:57
meefs pushed a commit to meefs/trpc that referenced this pull request Nov 2, 2026
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
Second of a stack of four, on top of
[trpc#7802](trpc#7802). Next: classic React
Query marked deprecated.

## Why

- CodeRabbit and Greptile use tRPC but weren't in "As used by".

## What

- Adds both logos after Ping.gg. There's no written ordering rule.
- Built from the official SVGs: CodeRabbit's press kit (black mark plus
wordmark) and Greptile's site wordmark.
- Stored like the others: one-color paths in a 32-unit box that take
`currentColor`, no links, `name` as the label. Heights tuned so they
read at the same size as their neighbours.

## Links

- [As used
by](https://www-git-cursor-used-by-coderabbit-greptile-8095-trpc.vercel.app/#used-by)

## Screenshots

Reduced motion, so the whole list shows. Light and dark:


![used-by-light.png](https://cursor.com/artifacts/c/art-119bdc7d-6910-4eb3-9231-f6c2701c9d17)

![used-by-dark.png](https://cursor.com/artifacts/c/art-003c56de-89f3-4030-939a-46e601f20286)

## Alternatives considered

None.

## Testing

- `www`: `pnpm typecheck`, `pnpm lint`, `pnpm test` and `pnpm build`
pass. `pnpm format` passes.
- Took the screenshots from the production build in Chrome.
<!-- CURSOR_AGENT_PR_BODY_END -->

<div><a
href="https://cursor.com/agents/bc-bea99621-3942-5d29-8d59-e21921098095?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a
href="https://cursor.com/background-agent?bcId=bc-bea99621-3942-5d29-8d59-e21921098095&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>

<!-- codesmith:footer -->
---
<a
href="https://app.blacksmith.sh/trpc/codesmith/trpc/pr/7803?autoLogin=true&ref=codesmith_pr_footer"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-light-v3.svg"><img
alt="View with [code]smith"
src="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3-3x.png"
width="162" height="28"></picture></a> <a
href="https://backend.blacksmith.sh/track/enable-autofix?expires=1796213211&installation_model_id=443568&pr_number=7803&ref=codesmith_pr_footer&repository=trpc%2Ftrpc&return_to=https%3A%2F%2Fgithub.com%2Ftrpc%2Ftrpc%2Fpull%2F7803&signature=f2a19e2263810d2a0e4636272737631d80ededbba85b729f89bd3536f56a7dec"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-light.svg"><img
alt="Autofix with [code]smith"
src="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png"
width="190" height="28"></picture></a>
<sup>Need help on this PR? Tag <code>@codesmith-bot</code> with what you
need.</sup>

<!-- codesmith:autofix:disabled -->
<!-- /codesmith:footer -->

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **New Features**
* Added CodeRabbit and Greptile to the list of companies shown in the
“Used by” section.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Cursor Agent <[email protected]>
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

This pull request has been locked because we are very unlikely to see comments on closed issues. If you think, this PR is still necessary, create a new one with the same branch. Thank you.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 3, 2026

This branch was successfully deployed

1 active and 3 inactive deployments
Preview – www — 556438e2 Deployed Nov 2, 2026 by vercel[bot]
Preview – next-prisma-starter — 556438e2 Deployed Nov 2, 2026 by vercel[bot]
Preview – examples-todomvc — 556438e2 Deployed Nov 2, 2026 by vercel[bot]
Preview – trpc-next-app-dir — 556438e2 Deployed Nov 2, 2026 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants