feat(header): 全站导航加 "分享墙 / Feed" 入口#324
Merged
longsizhuo merged 1 commit intomainfrom Apr 27, 2026
Merged
Conversation
之前 Hero / Join 区有 /feed 入口但全站 header 没有,导致用户在文档页 / 排行榜 等子页面想跳分享墙必须先回首页或敲 URL。本次在 header nav 第 4 位加常驻入口。 文案 - zh: "分享墙"("墙"对齐"排行榜"的"榜",强调信息流形态而非动作) - en: "Feed" 位置 顺序: 文档 / 排行榜 / 社区 / 分享墙 / 联系 紧跟 "社区" 后是因为 feed 是社区的产物(DC 群分享 → bot 收录 → /feed 上架)。 埋点 data-umami-event-label="feed",跟其他 nav 项一致,方便统计点击转化率。
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
在全站 Header 导航中补齐 /feed(分享墙 / Feed)入口,解决用户在文档页、排行榜等子页面无法直接跳转分享墙的问题。
Changes:
- Header nav 新增「分享墙 / Feed」导航项,指向
/feed并补充 Umami 埋点 label - 增加
header.nav.feed的中英文文案
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| messages/zh.json | 新增 header.nav.feed 中文文案「分享墙」 |
| messages/en.json | 新增 header.nav.feed 英文文案「Feed」 |
| app/components/Header.tsx | Header 导航新增 /feed Link,并加上与其他 nav 一致的 Umami 埋点属性 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
背景
之前 Hero / Join 区有 `/feed` 入口但全站 header 没有,用户在文档页 / 排行榜等子页面想跳分享墙必须先回首页或敲 URL。
改动
`app/components/Header.tsx`: nav 加一条 `Link href="/feed"`,紧跟"社区"。
顺序: 文档 / 排行榜 / 社区 / 分享墙 / 联系
文案
埋点
`data-umami-event-label="feed"` 跟其他 nav 项一致,方便后续看转化率。
Test plan