Reapply 2026 SCC showcase wall with SSG fix#27
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6564691a04
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| } | ||
|
|
||
| fn link_official_site() -> String { | ||
| "https://www.moonbitlang.com/2026-scc" |
There was a problem hiding this comment.
Route official-site CTA to locale-matching domain
link_official_site() always returns https://www.moonbitlang.com/2026-scc, so on Chinese pages (document.documentElement.lang starts with zh) the localized “查看赛事官网” button still sends users to the English domain. This is a user-facing localization regression introduced with the new showcase app, and the URL should be selected via lang(...) (or equivalent locale-aware routing) so zh users stay on the zh site.
Useful? React with 👍 / 👎.
6564691 to
d5971ae
Compare
This reverts commit f775a94.
这次是在已经回滚后的
main基础上,重新提交 2026 SCC 展示墙,并修复正式部署时的静态构建错误。主要内容:
build/dev/ build script / asset ignore)moon.pkg/moon.pkg.json的监听修复RabbitaShowcaseMount从src/pages路由目录移到src/components,避免它被当成独立页面渲染,从而触发useColorModeprovider 错误背景:
Release工作流在构建/2026-scc/showcase/RabbitaShowcaseMount时失败说明:
node/pnpm可执行命令,因此无法本地直接跑完整 Docusaurus buildRelease日志定位并收敛到最小改动