Browse Source

add Landing to footer

pull/13021/head
jljsj33 6 years ago
parent
commit
877fdffb52
  1. 1
      site/theme/en-US.js
  2. 11
      site/theme/template/Layout/Footer.jsx
  3. 1
      site/theme/zh-CN.js

1
site/theme/en-US.js

@ -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',

11
site/theme/template/Layout/Footer.jsx

@ -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>

1
site/theme/zh-CN.js

@ -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': '开发工具',

Loading…
Cancel
Save