Replace hardcoded SDK cards with dynamic SDKCards component#3227
Merged
Replace hardcoded SDK cards with dynamic SDKCards component#3227
Conversation
…ds> component Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Contributor
Author
Yep! See the related pr → https://github.com/clerk/clerk/pull/2282 |
SarahSoutoul
approved these changes
Mar 18, 2026
Contributor
SarahSoutoul
left a comment
There was a problem hiding this comment.
LGTM! Tested the clerk/clerk PR too.
manovotny
added a commit
that referenced
this pull request
Mar 26, 2026
PR #3227 replaced hardcoded SDK cards with a dynamic `SDKCards` component, removing the `community-sdks.mdx` partial that referenced these images. The image files themselves were not deleted, leaving them orphaned and failing `lint:check-images`. The lint didn't catch this on PR #3227 because of a timing issue: `lint:check-images` was added to the CI lint workflow in PR #3020 (merged 2026-03-23), but the CI run for PR #3227 executed on 2026-03-18 — five days before the check existed. The PR was then merged on 2026-03-26 using that stale passing CI result. Deleted files: - public/images/logos/sdks/angular.svg - public/images/logos/sdks/elysia.svg - public/images/logos/sdks/hono.svg - public/images/logos/sdks/koa-dark.svg - public/images/logos/sdks/koa.svg - public/images/logos/sdks/rust.svg - public/images/logos/sdks/solidjs.svg - public/images/logos/sdks/svelte.svg Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

Warning
This must be merged after https://github.com/clerk/clerk/pull/2282, which introduces the✅<SDKCards>component and registers it in the MDX component map.🔎 Previews:
What does this solve? What changed?
SDK card grids on the docs home page and reference overview were hardcoded in MDX, duplicating data already maintained in
SDK.tsxon the marketing site. When SDKs were added or reordered, these pages fell out of sync — e.g., Java, PHP, and Tauri were missing from the docs home page.This PR replaces all hardcoded
<Cards>grids with the new<SDKCards>component, which dynamically renders SDK cards from centralized data inSDK.tsx:docs/index.mdx— replaced ~110 lines of hardcoded frontend/backend cards with<SDKCards group="frontend|backend|community" linkType="quickstart" />docs/reference/overview.mdx— replaced ~110 lines of hardcoded cards +<Include>with<SDKCards group="frontend|backend|community" linkType="reference" />docs/_partials/community-sdks.mdx— deleted (no longer needed, was only used by reference/overview)Deadline
No rush