feat: add WeChat community group QR to site widget and READMEs#29
Merged
Conversation
- Repurpose the bottom-right floating contact widget into a group-join CTA (contactQR.* strings updated across en/zh/ja/ko/es) - Render the portrait group QR card undistorted in the widget - Add a community QR block near the top of all five READMEs - Document the swap procedure (update both public/ and assets/ copies) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Owner
Author
Code Review — PR #29: feat: add WeChat community group QR to site widget and READMEs
总体评价这个 PR 是一个纯内容/UI 更新,逻辑清晰、改动范围明确。五个语言文件的翻译一致性很好, 问题清单
亮点
修改示例(双文件冗余消除)若希望从根源解决双文件同步问题,可在 // vite.config.ts
import { copyFileSync } from "fs";
export default defineConfig({
plugins: [
{
name: "sync-community-qr",
buildStart() {
// Single source of truth: frontend/public/contact-qr.png
copyFileSync(
"frontend/public/contact-qr.png",
"assets/community-qr.png"
);
},
},
react(),
],
// ...
});这样每次 Code review by Claude Code — 2026-05-21 Generated by Claude Code |
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.
Summary
contactQR.*strings across en/zh/ja/ko/es.assets/community-qr.png).frontend/public/contact-qr.pngandassets/community-qr.pngwhen the QR is refreshed.Notes
Test plan