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..ecca7bf 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', - Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default, + title: '这是什么?', + Svg: require('@site/static/img/book-stack.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', - Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default, + title: '怎么使用?', + Svg: require('@site/static/img/search-guide.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', - Svg: require('@site/static/img/undraw_docusaurus_react.svg').default, + title: '我也有资料想要贡献!', + Svg: require('@site/static/img/upload-share.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,以“课栈资料贡献:[学院][专业][课程]”的格式作为主题发送邮件,我们自己整理上传。 ), }, 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 @@ + + + + + +