Add china mirror link in footer

This commit is contained in:
afc163 2017-10-28 00:09:55 +08:00
parent 70291d5514
commit 80b7b57eae
3 changed files with 7 additions and 0 deletions

View File

@ -34,6 +34,7 @@ module.exports = {
'app.home.vision': 'This is a design language dedicated to improve the user and design experience.', 'app.home.vision': 'This is a design language dedicated to improve the user and design experience.',
'app.footer.repo': 'GitHub Repository', 'app.footer.repo': 'GitHub Repository',
'app.footer.awesome': 'Awesome Ant Design', 'app.footer.awesome': 'Awesome Ant Design',
'app.footer.chinamirror': 'China Mirror 🇨🇳',
'app.footer.primary-color-changed': 'Change primary color successfully!', 'app.footer.primary-color-changed': 'Change primary color successfully!',
'app.footer.scaffold': 'Scaffold', 'app.footer.scaffold': 'Scaffold',
'app.footer.scaffolds': 'Scaffold Market', 'app.footer.scaffolds': 'Scaffold Market',

View File

@ -106,6 +106,11 @@ class Footer extends React.Component {
<FormattedMessage id="app.footer.awesome" /> <FormattedMessage id="app.footer.awesome" />
</a> </a>
</div> </div>
<div>
<a target="_blank " href="http://ant-design.gitee.io/">
<FormattedMessage id="app.footer.chinamirror" />
</a>
</div>
<div style={{ marginTop: 12 }}> <div style={{ marginTop: 12 }}>
<ColorPicker <ColorPicker
type="sketch" type="sketch"

View File

@ -34,6 +34,7 @@ module.exports = {
'app.home.vision': '这是一套致力于提升『用户』和『设计者』使用体验的中后台设计语言。', 'app.home.vision': '这是一套致力于提升『用户』和『设计者』使用体验的中后台设计语言。',
'app.footer.repo': 'GitHub 仓库', 'app.footer.repo': 'GitHub 仓库',
'app.footer.awesome': 'Awesome Ant Design', 'app.footer.awesome': 'Awesome Ant Design',
'app.footer.chinamirror': '国内镜像站点 🇨🇳',
'app.footer.primary-color-changed': '修改主题色成功!', 'app.footer.primary-color-changed': '修改主题色成功!',
'app.footer.scaffold': '脚手架', 'app.footer.scaffold': '脚手架',
'app.footer.scaffolds': '脚手架市场', 'app.footer.scaffolds': '脚手架市场',