seven-innovation-base / official-website

现代化 TypeScript 站点
https://seven-innovation-base.github.io/
Apache License 2.0
13 stars 42 forks source link

feat: Update HistoricalHonor.tsx #99

Closed zqqqqqqj1110 closed 11 months ago

zqqqqqqj1110 commented 1 year ago

image 只剩下统计人数没做了,代码格式还有一点问题(可能),大佬还有建议吗

netlify[bot] commented 1 year ago

Deploy Preview for focused-archimedes-1c43b9 failed.

Name Link
Latest commit 125e0bc57c5ddb953a75538cda51a5cfbf5ad24b
Latest deploy log https://app.netlify.com/sites/focused-archimedes-1c43b9/deploys/643f6cd82601b700080b2eac
yeshan333 commented 1 year ago

image

GitHub CI 构建失败的问题似乎是因为 CI 用的 node 版本太低了:https://github.com/facebook/docusaurus/pull/6860

CI 用的版本:https://github.com/seven-innovation-base/official-website/blob/648d21629e1bfc1f76200e59319b04ca31764500/.github/workflows/site-ci.yaml#L17

yeshan333 commented 1 year ago

这版看着还可以 👀

redhat123456 commented 1 year ago

@yeshan333 是挺可以的

redhat123456 commented 1 year ago

重新配置一下netlify呗

netlify[bot] commented 1 year ago

Deploy Preview for phenomenal-jalebi-e73e25 failed.

Name Link
Latest commit 125e0bc57c5ddb953a75538cda51a5cfbf5ad24b
Latest deploy log https://app.netlify.com/sites/phenomenal-jalebi-e73e25/deploys/643f6cd9fb44dd0007ac1032
redhat123456 commented 1 year ago

@yeshan333 好像需要你重新配置一下netlify,弄一下呗好像我没权限

yeshan333 commented 1 year ago

@yeshan333 好像需要你重新配置一下netlify,弄一下呗好像我没权限

netlify 的构建不是 Netlify 的问题,是写法的问题,CardList 是个被包成了个组件,但是它被放到了 pages 目录下,docusaurus 的规约 https://docusaurus.io/docs/creating-pages 说了 pages 目录下放的是页面组件,有约定写法。

image

redhat123456 commented 1 year ago

👀👀学到了学到了