Skip to content

Commit

Permalink
docs: 替换主页图片
Browse files Browse the repository at this point in the history
  • Loading branch information
rookieguys committed Aug 15, 2024
1 parent 63def07 commit bb3d53c
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/components/HomepageFeatures/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -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。建设中,敬请期待!</>,
},
];
Expand Down
6 changes: 6 additions & 0 deletions static/img/cases.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions static/img/documents.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions static/img/tutorials.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bb3d53c

Please sign in to comment.