mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
📝 change home page promote url
This commit is contained in:
parent
b022eaf9c2
commit
815d52558b
@ -50,7 +50,7 @@ module.exports = {
|
||||
'app.home.getting-started': 'Getting Started',
|
||||
'app.home.recommend': 'Recommend',
|
||||
'app.home.recommend.yuque': 'Yuque, our favorite documentation tool',
|
||||
'app.home.recommend.antv': 'AntV: brand new data visualization solution',
|
||||
'app.home.recommend.antv': 'G2Plot, the new charting library',
|
||||
'app.home.more': 'Learn more',
|
||||
'app.home.more-mobile-react': 'Ant Design Mobile of React',
|
||||
'app.home.more-mobile-angular': 'Ant Design Mobile of Angular',
|
||||
|
@ -97,20 +97,20 @@ const Banner = ({ isMobile }) => {
|
||||
<FormattedMessage id="app.home.recommend" />
|
||||
</Divider>
|
||||
<a
|
||||
href={`https://antv.vision/${isZhCN ? 'zh' : 'en'}?from=antd`}
|
||||
href="https://github.com/antvis/g2plot?from=antd"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
onClick={() => {
|
||||
if (window.gtag) {
|
||||
window.gtag('event', '点击', {
|
||||
event_category: '首页推广',
|
||||
event_label: `https://antv.vision/${isZhCN ? 'zh' : 'en'}?from=antd`,
|
||||
event_label: `https://github.com/antvis/g2plot?from=antd`,
|
||||
});
|
||||
}
|
||||
}}
|
||||
>
|
||||
<img src="https://antv.vision/icons/icon-512x512.png" alt="AntV logo" />
|
||||
<FormattedMessage id="app.home.recommend.antv" />
|
||||
<FormattedMessage id="app.home.recommend.antv.g2plot" />
|
||||
<Icon type="right" style={{ marginLeft: 6, fontSize: 12, opacity: 0.6 }} />
|
||||
</a>
|
||||
</div>
|
||||
|
@ -47,7 +47,7 @@ module.exports = {
|
||||
'app.home.getting-started': '开始使用',
|
||||
'app.home.recommend': '推荐',
|
||||
'app.home.recommend.yuque': '语雀,我们都喜欢的文档工具',
|
||||
'app.home.recommend.antv': 'AntV:全新的蚂蚁金服数据可视化解决方案',
|
||||
'app.home.recommend.antv.g2plot': 'G2Plot:全新企业级图表',
|
||||
'app.home.more': '查看更多',
|
||||
'app.home.more-mobile-react': 'Ant Design Mobile of React',
|
||||
'app.home.more-mobile-angular': 'Ant Design Mobile of Angular',
|
||||
|
Loading…
Reference in New Issue
Block a user