Skip to content

docs: render external landing cards as anchors and update GitHub star count#1427

Draft
f-trycua wants to merge 1 commit into
mainfrom
codex/continue-open-pr-on-github
Draft

docs: render external landing cards as anchors and update GitHub star count#1427
f-trycua wants to merge 1 commit into
mainfrom
codex/continue-open-pr-on-github

Conversation

@f-trycua
Copy link
Copy Markdown
Collaborator

@f-trycua f-trycua commented May 2, 2026

Motivation

  • Ensure external navigation cards on the docs landing page behave as true external links that open in a new tab and carry appropriate rel attributes for privacy and security.
  • Preserve internal navigation using Next.js Link to maintain client-side routing performance.
  • Refresh the GitHub star count shown on the hero badge to better reflect current project social proof.

Description

  • Added an external: true flag to the Cloud entry in navCards to mark it as an external destination.
  • Render external cards as real anchor elements (<a href=... target="_blank" rel="noreferrer">) while keeping internal cards as Link components.
  • Introduced a shared cardClasses variable to avoid duplication of the card class string between anchor and Link variants.
  • Updated the GitHub star badge text from 13.1k to 15.5k and ran code formatting via prettier on the modified file.

Testing

  • Ran git diff --check to validate there are no whitespace or diff issues, which succeeded.
  • Ran pnpm -s prettier --check docs/src/app/'(landing)'/page.tsx to validate code style, which passed.
  • Ran pnpm -s prettier --write docs/src/app/'(landing)'/page.tsx to format the file and rechecked, which completed successfully.

Codex Task

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 2, 2026

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

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment May 2, 2026 11:51pm

Request Review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 2, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: fbc05154-4f60-42f2-b119-cb22323d4a65

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/continue-open-pr-on-github

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get your free trial and get 200 agent minutes per Slack user (a $50 value).


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

Comment @coderabbitai help to get the list of available commands and usage tips.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant