This repository has been archived by the owner on Nov 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c7fb4e
commit 8db3b08
Showing
9 changed files
with
188 additions
and
15 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
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
import React from 'react'; | ||
import { Link } from 'gatsby'; | ||
import { Row, Col, Button } from 'react-bootstrap'; | ||
import homeImg from '../../images/home-right.jpg'; | ||
import './style.scss'; | ||
|
||
const Home = () => ( | ||
<div className="Home"> | ||
<Row className="Home__hero"> | ||
<Col xs={12} md={6} className="Home__left"> | ||
<h1>WIZARD UI</h1> | ||
<h2>基于 React 和 Typescript 的组件模块化解决方案,让设计和开发专注更好的用户体验。</h2> | ||
<div className="Home__btn"> | ||
<Link to="/get-started/introduction"> | ||
<Button bsStyle="primary"> | ||
开始使用 | ||
</Button> | ||
</Link> | ||
<a target="_blank" rel="noopener noreferrer" href="https://github.com/xsky-fe/wizard-ui"> | ||
<Button> | ||
Github | ||
</Button> | ||
</a> | ||
</div> | ||
</Col> | ||
<Col xs={12} md={6}> | ||
<img src={homeImg} alt="wizard-ui" height={300} /> | ||
</Col> | ||
</Row> | ||
<Row className="Home__feature"> | ||
<Col xs={12} md={4}> | ||
<h2>基于 React、Typescript 构建</h2> | ||
<p>提供一套简单易用的 React 组件库,提升开发体验。Typescript 保证代码稳定性。</p> | ||
</Col> | ||
<Col xs={12} md={4}> | ||
<h2>可用性</h2> | ||
<p>尝试在多层面、多纬度封装基础组件。满足多个应用场景。</p> | ||
<p>提供常用的复杂业务组件。</p> | ||
</Col> | ||
<Col xs={12} md={4}> | ||
<h2>React Bootstrap 定制</h2> | ||
<p>UI 层面定制了颜色、布局结构</p> | ||
<p>在 React Bootstrap 的基础上,做了很多扩展,提升了可用性并补充了复杂交互组件。</p> | ||
</Col> | ||
</Row> | ||
</div> | ||
) | ||
|
||
export default Home; |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
.Home { | ||
&__hero { | ||
padding: 80px 60px; | ||
} | ||
&__left { | ||
padding-top: 60px; | ||
} | ||
&__btn { | ||
a:first-child { | ||
margin-right: 20px; | ||
} | ||
} | ||
&__feature { | ||
padding: 40px 60px; | ||
background-color: #846ee0; | ||
color: #fff; | ||
} | ||
} |
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 |
---|---|---|
|
@@ -10,6 +10,9 @@ | |
border: 0; | ||
margin: 0; | ||
} | ||
.panel-heading { | ||
border: 0; | ||
} | ||
.panel-body { | ||
padding: 0; | ||
} | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,8 +1,8 @@ | ||
--- | ||
link: layout/grid | ||
title: Grid | ||
title: Grid 栅格 | ||
author: kailang | ||
date: 2019-05-21 | ||
--- | ||
|
||
## Grid | ||
## Grid |
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