Browse Source

site: fix links

pull/1256/head
Benjy Cui 9 years ago
parent
commit
9d05a4e069
  1. 2
      site/component/Home/Banner.jsx
  2. 2
      site/component/Home/Page1.jsx
  3. 2
      site/component/Home/Page2.jsx

2
site/component/Home/Banner.jsx

@ -25,7 +25,7 @@ export default class Banner extends React.Component {
<p key="content">一个 UI 设计语言</p>
<span className="line" key="line" />
<div className="start-button clearfix">
<Link key="button" to="/spec">
<Link key="button" to="/docs/spec/introduce">
<Icon type="smile-circle" />开始探索
</Link>
</div>

2
site/component/Home/Page1.jsx

@ -15,7 +15,7 @@ export default class Page1 extends React.Component {
<h2 key="h2">最佳实践</h2>
<p key="p" style={{ maxWidth: 310 }}>近一年的中后台设计实践积累了大量的优秀案例</p>
<div key="button">
<Link to="/practice">
<Link to="/docs/practice/cases">
<Button type="primary" size="large">
了解更多
<Icon type="right" />

2
site/component/Home/Page2.jsx

@ -14,7 +14,7 @@ export default class Page2 extends React.Component {
<h2 key="h2">设计模式</h2>
<p key="p" style={{ maxWidth: 260 }}>总结中后台设计中反复出现的问题并提供相应的解决方案</p>
<div key="button">
<Link to="/pattern">
<Link to="/docs/pattern/navigation">
<Button type="primary" size="large">
了解更多
<Icon type="right" />

Loading…
Cancel
Save