add Landing to footer

This commit is contained in:
jljsj33 2018-11-08 14:43:41 +08:00
parent e10c400047
commit 877fdffb52
3 changed files with 10 additions and 3 deletions

View File

@ -50,6 +50,7 @@ module.exports = {
'app.footer.primary-color-changed': 'Change primary color successfully!',
'app.footer.scaffold': 'Scaffold',
'app.footer.kitchen': 'Sketch Toolkit',
'app.footer.landing': 'Landing Templates',
'app.footer.scaffolds': 'Scaffold Market',
'app.footer.dev-tools': 'Developer Tools',
'app.footer.umi': 'React Application Framework',

View File

@ -26,7 +26,7 @@ class Footer extends React.Component {
// 2.
if (
localStorage.getItem('antd@3.0.0-notification-sent') !== 'true'
&& Date.now() < new Date('2017/12/20').getTime()
&& Date.now() < new Date('2017/12/20').getTime()
) {
this.infoNewVersion();
}
@ -112,11 +112,16 @@ class Footer extends React.Component {
<FormattedMessage id="app.footer.awesome" />
</a>
</div>
<div>
<a target="_blank" rel="noopener noreferrer" href="http://kitchen.alipay.com">Kitchen</a>
<span> - </span>
<FormattedMessage id="app.footer.kitchen" />
</div>
<div>
<Badge dot offset={[3, 0]}>
<a target="_blank" rel="noopener noreferrer" href="http://kitchen.alipay.com">Kitchen</a>
<a target="_blank" rel="noopener noreferrer" href="http://landing.ant.design">Ant Design Landing</a>
<span> - </span>
<FormattedMessage id="app.footer.kitchen" />
<FormattedMessage id="app.footer.landing" />
</Badge>
</div>
<div>

View File

@ -49,6 +49,7 @@ module.exports = {
'app.footer.chinamirror': '国内镜像站点 🇨🇳',
'app.footer.primary-color-changed': '修改主题色成功!',
'app.footer.kitchen': 'Sketch 工具集',
'app.footer.landing': 'Landing 模板集',
'app.footer.scaffold': '脚手架',
'app.footer.scaffolds': '脚手架市场',
'app.footer.dev-tools': '开发工具',