mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
docs: fix promote link
This commit is contained in:
parent
041b7fa9e2
commit
fb66bce007
@ -97,14 +97,14 @@ const Banner = ({ isMobile }) => {
|
||||
<FormattedMessage id="app.home.recommend" />
|
||||
</Divider>
|
||||
<a
|
||||
href="https://antv.vision?from=antd"
|
||||
href={`https://antv.vision/${isZhCN ? 'zh' : 'en'}?from=antd`}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
onClick={() => {
|
||||
if (window.gtag) {
|
||||
window.gtag('event', '点击', {
|
||||
event_category: '首页推广',
|
||||
event_label: 'https://antv.vision?from=antd',
|
||||
event_label: `https://antv.vision/${isZhCN ? 'zh' : 'en'}?from=antd`,
|
||||
});
|
||||
}
|
||||
}}
|
||||
|
Loading…
Reference in New Issue
Block a user