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] =?UTF-8?q?fix:=20=E6=9B=B4=E6=8D=A2=E4=B8=BB=E9=A1=B5Svg?= 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 @@ + + + + + +