From bb3d53ce4c3a359102274aae46d5c319b9a6c967 Mon Sep 17 00:00:00 2001 From: yhcloudpss <1094779545@qq.com> Date: Thu, 15 Aug 2024 01:54:53 +0000 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=BF=E6=8D=A2=E4=B8=BB=E9=A1=B5?= =?UTF-8?q?=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/HomepageFeatures/index.tsx | 16 ++++++++++------ static/img/cases.svg | 6 ++++++ static/img/documents.svg | 6 ++++++ static/img/tutorials.svg | 6 ++++++ 4 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 static/img/cases.svg create mode 100644 static/img/documents.svg create mode 100644 static/img/tutorials.svg diff --git a/src/components/HomepageFeatures/index.tsx b/src/components/HomepageFeatures/index.tsx index 9e7937fa41..c4355db49f 100644 --- a/src/components/HomepageFeatures/index.tsx +++ b/src/components/HomepageFeatures/index.tsx @@ -3,9 +3,13 @@ import clsx from 'clsx'; import Heading from '@theme/Heading'; import styles from './styles.module.css'; -import undraw_docusaurus_mountain from '@site/static/img/undraw_docusaurus_mountain.svg'; -import undraw_docusaurus_tree from '@site/static/img/undraw_docusaurus_tree.svg'; -import undraw_docusaurus_react from '@site/static/img/undraw_docusaurus_react.svg'; +// import undraw_docusaurus_mountain from '@site/static/img/undraw_docusaurus_mountain.svg'; +// import undraw_docusaurus_tree from '@site/static/img/undraw_docusaurus_tree.svg'; +// import undraw_docusaurus_react from '@site/static/img/undraw_docusaurus_react.svg'; + +import documents from '@site/static/img/documents.svg'; +import cases from '@site/static/img/cases.svg'; +import tutorials from '@site/static/img/tutorials.svg'; /** 列表项 */ type FeatureItem = { @@ -17,17 +21,17 @@ type FeatureItem = { const FeatureList: FeatureItem[] = [ { title: '文档', - Svg: undraw_docusaurus_mountain, + Svg: documents, description: <>持续更新的 CloudPSS 全套产品完整说明文档。, }, { title: '案例', - Svg: undraw_docusaurus_tree, + Svg: cases, description: <>不断分享海量 CloudPSS 官方案例、行业典型案例和学术研究案例。建设中,敬请期待!, }, { title: '教程', - Svg: undraw_docusaurus_react, + Svg: tutorials, description: <>免费、开源的仿真教程及课程。Step by Step,上手 CloudPSS。建设中,敬请期待!, }, ]; diff --git a/static/img/cases.svg b/static/img/cases.svg new file mode 100644 index 0000000000..f8f17f09db --- /dev/null +++ b/static/img/cases.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/static/img/documents.svg b/static/img/documents.svg new file mode 100644 index 0000000000..1429c36a55 --- /dev/null +++ b/static/img/documents.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/static/img/tutorials.svg b/static/img/tutorials.svg new file mode 100644 index 0000000000..fbb60b195c --- /dev/null +++ b/static/img/tutorials.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file