Skip to content

fix(links): rename "run a node" CTA to "read the docs" - #44

Closed
alpergundogdu wants to merge 1 commit into
mainfrom
claude/update-link-text-YmIQy
Closed

alpergundogdu wants to merge 1 commit into
mainfrom
claude/update-link-text-YmIQy

Conversation

@alpergundogdu

Copy link
Copy Markdown
Contributor

Summary

  • Rename the Hero and Close CTA text from "run a node" to "read the docs" (both already linked to the docs URL).
  • Switch href from links.runNode to links.docs and drop the now-unused runNode entry from lib/links.ts.

Test plan

  • pnpm lint clean
  • Verify the Hero (#intro) and Contact (#contact) CTAs render as "read the docs →" and link to https://docs.decdn.org/overview/introduction

Generated by Claude Code

Both CTAs already pointed at the docs URL; aligning the label and
dropping the now-unused `runNode` link entry.
Copilot AI review requested due to automatic review settings May 8, 2026 22:12
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3dfd078
Status: ✅  Deploy successful!
Preview URL: https://0b3edc8c.website-70y.pages.dev
Branch Preview URL: https://claude-update-link-text-ymiq.website-70y.pages.dev

View logs

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the marketing site CTA wording to better match the destination (documentation) and removes an unused link constant from the shared links registry.

Changes:

  • Renamed Hero (#intro) CTA text from “run a node” to “read the docs”.
  • Renamed Close/Contact (#contact) CTA text from “run a node” to “read the docs”.
  • Repointed both CTAs to links.docs and removed the unused links.runNode entry.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
lib/links.ts Removes the now-unused runNode link key, keeping docs as the canonical docs URL.
components/site/Hero.tsx Updates the Hero CTA label and switches its href to links.docs.
components/site/Close.tsx Updates the Close/Contact CTA label and switches its href to links.docs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request replaces "run a node" links with "read the docs" links in the Hero and Close components and removes the runNode key from the central links configuration. Feedback highlights that removing this key is a breaking change and suggests verifying that other components, such as Comparison, Method, or Faq, do not still rely on it.

Comment thread lib/links.ts
@yigitdot

yigitdot commented May 9, 2026

Copy link
Copy Markdown
Collaborator

Closing this PR as the issue has been addressed in #41.

@yigitdot
yigitdot deleted the claude/update-link-text-YmIQy branch May 9, 2026 09:35
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.

4 participants