Skip to content

feat(sidebar): replace YouTube with Xiaohongshu link and icon#117

Merged
CaliCastle merged 1 commit intodevfrom
codex/replace-youtube-link-with-link
Mar 22, 2026
Merged

feat(sidebar): replace YouTube with Xiaohongshu link and icon#117
CaliCastle merged 1 commit intodevfrom
codex/replace-youtube-link-with-link

Conversation

@CaliCastle
Copy link
Copy Markdown
Member

Motivation

  • Replace the existing YouTube social link in the sidebar with a Xiaohongshu (小红书) link and brand appearance to reflect the requested platform change.
  • Use the official-style Xiaohongshu glyph instead of the custom YouTube SVG to keep branding consistent and rely on the existing react-icons package.
  • Update the hover accent color to match Xiaohongshu red for consistent UI feedback.

Description

  • Replaced the YouTube social entry in components/sidebar.tsx with a Xiaohongshu entry using the provided URL https://xhslink.com/m/8uj8HM0OMpF and label 小红书.
  • Added components/icons/ZpBrandXiaohongshuIcon.tsx which renders the SiXiaohongshu glyph from react-icons/si with the repo's clsxm styling.
  • Removed the custom components/icons/ZpBrandYouTubeIcon.tsx SVG component and updated imports and the hover color in components/sidebar.tsx to Xiaohongshu red #FF2442.

Testing

  • Ran pnpm lint and confirmed there are no ESLint warnings or errors.
  • Ran pnpm type-check (tsc --noEmit) and confirmed there are no TypeScript errors.
  • No automated UI snapshot tests exist in the project, so visual verification was not run in CI.

Codex Task

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 22, 2026

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

Project Deployment Actions Updated (UTC)
website Ready Ready Preview Mar 22, 2026 3:27pm

Request Review

@CaliCastle CaliCastle merged commit 2ae50b6 into dev Mar 22, 2026
2 checks passed
@CaliCastle CaliCastle deleted the codex/replace-youtube-link-with-link branch March 22, 2026 15:28
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