From 69b7902e52972dd61c06a72910cdeb31b60e6669 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=88=E4=BA=9A=E5=AD=90=E3=81=A7=E3=81=99=E3=81=8B?= =?UTF-8?q?=EF=BC=9F?= Date: Fri, 21 Nov 2025 16:51:49 +0800 Subject: [PATCH 1/2] feat: homepage updated (#56) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 首页的docusaurus默认内容的修改,其中贡献邮箱暂时使用仓库首页的outlook。 Related #55 Closes #28 --- .gitignore | 4 +--- src/components/HomepageFeatures/index.js | 15 ++++++--------- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 3bd709d..e6e9ac4 100644 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,4 @@ npm-debug.log* yarn-debug.log* -yarn-error.log* - -from_name_to_code \ No newline at end of file +yarn-error.log* \ No newline at end of file diff --git a/src/components/HomepageFeatures/index.js b/src/components/HomepageFeatures/index.js index acc7621..113edba 100644 --- a/src/components/HomepageFeatures/index.js +++ b/src/components/HomepageFeatures/index.js @@ -4,32 +4,29 @@ import styles from './styles.module.css'; const FeatureList = [ { - title: 'Easy to Use', + title: '这是什么?', Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default, description: ( <> - Docusaurus was designed from the ground up to be easily installed and - used to get your website up and running quickly. + 课栈是一群 ECNU 学生自发组织与构建的课程资料共享项目,为的是收集与整合学校各专业、课程的学习资料,以帮助后来的学生更好地度过学校生活。 ), }, { - title: 'Focus on What Matters', + title: '怎么使用?', Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default, description: ( <> - Docusaurus lets you focus on your docs, and we'll do the chores. Go - ahead and move your docs into the docs directory. + 使用左上角查阅目录,寻找自己希望查询的课程以浏览。或者右上角直接搜索课程、专业名称或关键字。如果缺少想要的资料,还请等待后续更新,或者将自己的资料上传上来,敬请期待。 ), }, { - title: 'Powered by React', + title: '我也有资料想要贡献!', Svg: require('@site/static/img/undraw_docusaurus_react.svg').default, description: ( <> - Extend or customize your website layout by reusing React. Docusaurus can - be extended while reusing the same header and footer. + 如果您会使用Github的话,可以在我们的仓库中新建issue与PR提交,文件可存放在个人网盘(如百度网盘)等地方。如果不便使用,还可以联系zy1834576129@outlook.com,以“课栈资料贡献:[学院][专业][课程]”的格式作为主题发送邮件,我们自己整理上传。 ), }, From 4d1a69fb0c25719a66e007752896570c17d1b4b3 Mon Sep 17 00:00:00 2001 From: KirisameVanilla <118162831+kirisamevanilla@users.noreply.github.com> Date: Fri, 21 Nov 2025 16:57:37 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E6=9B=B4=E6=8D=A2=E4=B8=BB=E9=A1=B5?= =?UTF-8?q?Svg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/HomepageFeatures/index.js | 6 +- static/img/book-stack.svg | 6 + static/img/search-guide.svg | 5 + static/img/undraw_docusaurus_mountain.svg | 171 ---------------------- static/img/undraw_docusaurus_react.svg | 170 --------------------- static/img/undraw_docusaurus_tree.svg | 40 ----- static/img/upload-share.svg | 6 + 7 files changed, 20 insertions(+), 384 deletions(-) create mode 100644 static/img/book-stack.svg create mode 100644 static/img/search-guide.svg delete mode 100644 static/img/undraw_docusaurus_mountain.svg delete mode 100644 static/img/undraw_docusaurus_react.svg delete mode 100644 static/img/undraw_docusaurus_tree.svg create mode 100644 static/img/upload-share.svg diff --git a/src/components/HomepageFeatures/index.js b/src/components/HomepageFeatures/index.js index 113edba..ecca7bf 100644 --- a/src/components/HomepageFeatures/index.js +++ b/src/components/HomepageFeatures/index.js @@ -5,7 +5,7 @@ import styles from './styles.module.css'; const FeatureList = [ { title: '这是什么?', - Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default, + Svg: require('@site/static/img/book-stack.svg').default, description: ( <> 课栈是一群 ECNU 学生自发组织与构建的课程资料共享项目,为的是收集与整合学校各专业、课程的学习资料,以帮助后来的学生更好地度过学校生活。 @@ -14,7 +14,7 @@ const FeatureList = [ }, { title: '怎么使用?', - Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default, + Svg: require('@site/static/img/search-guide.svg').default, description: ( <> 使用左上角查阅目录,寻找自己希望查询的课程以浏览。或者右上角直接搜索课程、专业名称或关键字。如果缺少想要的资料,还请等待后续更新,或者将自己的资料上传上来,敬请期待。 @@ -23,7 +23,7 @@ const FeatureList = [ }, { title: '我也有资料想要贡献!', - Svg: require('@site/static/img/undraw_docusaurus_react.svg').default, + Svg: require('@site/static/img/upload-share.svg').default, description: ( <> 如果您会使用Github的话,可以在我们的仓库中新建issue与PR提交,文件可存放在个人网盘(如百度网盘)等地方。如果不便使用,还可以联系zy1834576129@outlook.com,以“课栈资料贡献:[学院][专业][课程]”的格式作为主题发送邮件,我们自己整理上传。 diff --git a/static/img/book-stack.svg b/static/img/book-stack.svg new file mode 100644 index 0000000..237ff5d --- /dev/null +++ b/static/img/book-stack.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/static/img/search-guide.svg b/static/img/search-guide.svg new file mode 100644 index 0000000..4d8ca70 --- /dev/null +++ b/static/img/search-guide.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/static/img/undraw_docusaurus_mountain.svg b/static/img/undraw_docusaurus_mountain.svg deleted file mode 100644 index af961c4..0000000 --- a/static/img/undraw_docusaurus_mountain.svg +++ /dev/null @@ -1,171 +0,0 @@ - - Easy to Use - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/static/img/undraw_docusaurus_react.svg b/static/img/undraw_docusaurus_react.svg deleted file mode 100644 index 94b5cf0..0000000 --- a/static/img/undraw_docusaurus_react.svg +++ /dev/null @@ -1,170 +0,0 @@ - - Powered by React - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/static/img/undraw_docusaurus_tree.svg b/static/img/undraw_docusaurus_tree.svg deleted file mode 100644 index d9161d3..0000000 --- a/static/img/undraw_docusaurus_tree.svg +++ /dev/null @@ -1,40 +0,0 @@ - - Focus on What Matters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/static/img/upload-share.svg b/static/img/upload-share.svg new file mode 100644 index 0000000..3d32ce6 --- /dev/null +++ b/static/img/upload-share.svg @@ -0,0 +1,6 @@ + + + + + +