mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
site: update sider menu order
This commit is contained in:
parent
7518fde405
commit
04a94a691e
@ -1,5 +1,5 @@
|
||||
---
|
||||
order: 9
|
||||
order: 6
|
||||
title: Change Log
|
||||
toc: false
|
||||
timeline: true
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
order: 9
|
||||
order: 6
|
||||
title: 更新日志
|
||||
toc: false
|
||||
timeline: true
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
order: 6
|
||||
order: 9
|
||||
title: i18n Solution
|
||||
link: //github.com/ant-design/intl-example
|
||||
---
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
order: 6
|
||||
order: 9
|
||||
title: i18n 方案
|
||||
link: //github.com/ant-design/intl-example
|
||||
---
|
||||
|
@ -57,6 +57,22 @@ div.main-container {
|
||||
a[disabled] {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.menu-item-link-outside {
|
||||
position: relative;
|
||||
.anticon {
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
right: -4px;
|
||||
top: 16px;
|
||||
transition: all .3s;
|
||||
}
|
||||
&:hover .anticon {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.aside-container .chinese {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import React, { PropTypes } from 'react';
|
||||
import { Link } from 'bisheng/router';
|
||||
import { Row, Col, Menu } from 'antd';
|
||||
import { Row, Col, Menu, Icon } from 'antd';
|
||||
import Article from './Article';
|
||||
import ComponentDoc from './ComponentDoc';
|
||||
import * as utils from '../utils';
|
||||
@ -110,8 +110,8 @@ export default class MainContent extends React.Component {
|
||||
{text}
|
||||
</Link>
|
||||
) : (
|
||||
<a href={item.link} target="_blank" rel="noopener noreferrer" disabled={disabled}>
|
||||
{text}
|
||||
<a href={item.link} target="_blank" rel="noopener noreferrer" disabled={disabled} className="menu-item-link-outside">
|
||||
{text} <Icon type="export" />
|
||||
</a>
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user