Skip to content

Replace hardcoded SDK cards with dynamic SDKCards component#3227

Merged
manovotny merged 1 commit intomainfrom
manovotny/frost-burst
Mar 26, 2026
Merged

Replace hardcoded SDK cards with dynamic SDKCards component#3227
manovotny merged 1 commit intomainfrom
manovotny/frost-burst

Conversation

@manovotny
Copy link
Copy Markdown
Contributor

@manovotny manovotny commented Mar 18, 2026

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.tsx on 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 in SDK.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

…ds> component

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 18, 2026

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

Project Deployment Actions Updated (UTC)
clerk-docs Ready Ready Preview Mar 18, 2026 6:53pm

Request Review

@manovotny manovotny marked this pull request as ready for review March 18, 2026 20:44
@manovotny manovotny requested a review from a team as a code owner March 18, 2026 20:44
@SarahSoutoul
Copy link
Copy Markdown
Contributor

Just checking - this also changes the sidebar look right?

Screenshot 2026-03-18 at 2 47 03 pm

@manovotny
Copy link
Copy Markdown
Contributor Author

Just checking - this also changes the sidebar look right?

Yep! See the related pr → https://github.com/clerk/clerk/pull/2282

Copy link
Copy Markdown
Contributor

@SarahSoutoul SarahSoutoul left a comment

Choose a reason for hiding this comment

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

LGTM! Tested the clerk/clerk PR too.

@manovotny manovotny merged commit ed703fb into main Mar 26, 2026
9 of 10 checks passed
@manovotny manovotny deleted the manovotny/frost-burst branch March 26, 2026 15:28
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>
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.

2 participants