Skip to content

Commit

Permalink
feat: complete SEO and rest markdown doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mortalYoung committed Dec 12, 2022
1 parent 71a18e6 commit 860a981
Show file tree
Hide file tree
Showing 3 changed files with 409 additions and 19 deletions.
50 changes: 31 additions & 19 deletions .dumi/pages/index/index.tsx
Original file line number Diff line number Diff line change
@@ -1,29 +1,41 @@
import React from 'react';
import { Link } from 'dumi';
import { Link, Helmet } from 'dumi';
import { Button } from 'antd';
import { GithubOutlined } from '@ant-design/icons';
import './index.scss';

export default function Homepage() {
return (
<div className="dtc-homepage">
<h1 className="dtc-homepage-title">dt-react-component</h1>
<div className="dtc-homepage-badges">
<img src="https://img.shields.io/npm/v/dt-react-component.svg?style=flat" />
<img src="http://img.shields.io/npm/dm/dt-react-component.svg?style=flat" />
<>
<Helmet>
<title>dt-react-component</title>
<meta property="og:title" content="dt-react-component" data-rh="true"></meta>
<meta name="description" content="react-component" />
<meta name="author" content="dtinsight UED" />
<meta
name="keywords"
content="react,react-component,ui-library,typescript,ant-design"
/>
</Helmet>
<div className="dtc-homepage">
<h1 className="dtc-homepage-title">dt-react-component</h1>
<div className="dtc-homepage-badges">
<img src="https://img.shields.io/npm/v/dt-react-component.svg?style=flat" />
<img src="http://img.shields.io/npm/dm/dt-react-component.svg?style=flat" />
</div>
<div className="dtc-homepage-description">一个基于 ant design 的组件库</div>
<div className="dtc-homepage-btnGroups">
<Link className="ant-btn" to="/guide">
快速开始
</Link>
<Button
icon={<GithubOutlined />}
href="https://github.com/DTStack/dt-react-component"
>
Github
</Button>
</div>
</div>
<div className="dtc-homepage-description">一个基于 ant design 的组件库</div>
<div className="dtc-homepage-btnGroups">
<Link className="ant-btn" to="/guide">
快速开始
</Link>
<Button
icon={<GithubOutlined />}
href="https://github.com/DTStack/dt-react-component"
>
Github
</Button>
</div>
</div>
</>
);
}
Loading

0 comments on commit 860a981

Please sign in to comment.