Skip to content

Update navigation: Change GitHub to Heroes and add back to homepage button#84

Merged
sunshineg merged 2 commits intomainfrom
copilot/update-heroes-github-link
Jan 9, 2026
Merged

Update navigation: Change GitHub to Heroes and add back to homepage button#84
sunshineg merged 2 commits intomainfrom
copilot/update-heroes-github-link

Conversation

Copy link
Contributor

Copilot AI commented Jan 9, 2026

Updates navigation links between main site and ossheroes subsite for better cross-navigation.

Changes

Main Website (opensource.win)

  • Replaced "GitHub" button with "Heroes" linking to /ossheroes/

OSS Heroes Site (ossheroes/)

  • Updated "中国开源码力榜" brand link to use config.url instead of /
  • Added "回到官网" nav item linking back to main site

Screenshot

Main website navbar with Heroes button

Original prompt

在官网 https://opensource.win/ 首页右上角 Github 修改为Heroes,并且增加访问链接https://opensource.win/ossheroes/ 。/ossheroes/目录下往年榜单数据显示到 https://opensource.win/ossheroes/ 目录路径下访问,ossheroes/ 目录首页左上角的中国开源码力榜地址修改为 https://opensource.win/ossheroes/ ,同时增加一个回到官网 https://opensource.win/ 按钮。


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…utton

Co-authored-by: sunshineg <1147886+sunshineg@users.noreply.github.com>
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 9, 2026

Deploying opensourcewin-github-io with  Cloudflare Pages  Cloudflare Pages

Latest commit: ced36c4
Status: ✅  Deploy successful!
Preview URL: https://3643079f.opensourcewin-github-io.pages.dev
Branch Preview URL: https://copilot-update-heroes-github.opensourcewin-github-io.pages.dev

View logs

Copilot AI changed the title [WIP] Update GitHub link and add Home button Update navigation: Change GitHub to Heroes and add back to homepage button Jan 9, 2026
Copilot AI requested a review from sunshineg January 9, 2026 14:34
@sunshineg sunshineg marked this pull request as ready for review January 9, 2026 14:36
@sunshineg sunshineg merged commit fcf27df into main Jan 9, 2026
1 check passed
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.

2 participants