-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: complete SEO and rest markdown doc
- Loading branch information
1 parent
71a18e6
commit 860a981
Showing
3 changed files
with
409 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
</> | ||
); | ||
} |
Oops, something went wrong.