docs: Added Ant Design Charts link (#24496)

* Added Ant Design Charts link

* Modified position of  Ant Design Charts

Co-authored-by: liufu.lf <liufu.lf@antfin.com>
This commit is contained in:
kevin 2020-05-30 14:55:41 +08:00 committed by GitHub
parent 0bf728c3e8
commit 14f9f95864
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 23 additions and 0 deletions

View File

@ -112,6 +112,7 @@ Veja [i18n](https://ant.design/docs/react/i18n).
- [Página inicial](https://ant.design/)
- [Componentes](https://ant.design/components/button)
- [Ant Design Pro](http://pro.ant.design/)
- [Ant Design Charts](https://charts.ant.design)
- [Change Log](CHANGELOG.en-US.md)
- [rc-components](http://react-component.github.io/)
- [Mobile UI](http://mobile.ant.design)

View File

@ -116,6 +116,7 @@ import 'antd/dist/antd.css'; // or 'antd/dist/antd.less'
- [首页](https://ant.design/)
- [组件库](https://ant.design/docs/react/introduce)
- [Ant Design Pro](http://pro.ant.design/)
- [Ant Design Charts](https://charts.ant.design)
- [更新日志](CHANGELOG.en-US.md)
- [React 底层基础组件](http://react-component.github.io/)
- [移动端组件](http://mobile.ant.design)

View File

@ -112,6 +112,7 @@ Dozens of languages supported in `antd`, see [i18n](https://ant.design/docs/reac
- [Home page](https://ant.design/)
- [Components](https://ant.design/components/button/)
- [Ant Design Pro](http://pro.ant.design/)
- [Ant Design Charts](https://charts.ant.design)
- [Change Log](CHANGELOG.en-US.md)
- [rc-components](http://react-component.github.io/)
- [Mobile UI](http://mobile.ant.design)

View File

@ -109,6 +109,7 @@ import 'antd/dist/antd.css'; // or 'antd/dist/antd.less'
- [Home page](/)
- [Components](/components/button/)
- [Ant Design Pro](https://pro.ant.design/)
- [Ant Design Charts](https://charts.ant.design)
- [Change Log](/changelog)
- [rc-components](http://react-component.github.io/)
- [Mobile UI](http://mobile.ant.design)

View File

@ -109,6 +109,7 @@ import 'antd/dist/antd.css'; // or 'antd/dist/antd.less'
- [首页](/)
- [组件库](/components/button)
- [Ant Design Pro](https://pro.ant.design/)
- [Ant Design Charts](https://charts.ant.design)
- [更新日志](/changelog)
- [React 底层基础组件](http://react-component.github.io/)
- [移动端组件](http://mobile.ant.design)

View File

@ -13,6 +13,7 @@ title: 可视化
- [G2 可视化引擎](https://g2.antv.vision/zh)
- [G2Plot 开箱即用的图表库](https://g2plot.antv.vision/zh) 🔥
- [G2Plot React 版](https://charts.ant.design)
- [G6 图可视化引擎](https://g6.antv.vision/zh)
- [L7 地理空间数据可视分析引擎](https://l7.antv.vision/zh)
- [F2 移动端可视化方案](https://f2.antv.vision/zh)

View File

@ -12,6 +12,7 @@ module.exports = {
'app.header.menu.more': 'More',
'app.header.menu.mobile': 'Mobile',
'app.header.menu.pro.v4': 'Ant Design Pro v4',
'app.header.menu.charts': 'Ant Design Charts',
'app.header.menu.ecosystem': 'Ecosystem',
'app.header.lang': '中文',
'app.content.edit-page': 'Edit this page on GitHub!',

View File

@ -58,6 +58,11 @@ class Footer extends React.Component<WrappedComponentProps> {
url: 'https://pro.ant.design',
openExternal: true,
},
{
title: 'Ant Design Charts',
url: 'https://charts.ant.design',
openExternal: true,
},
{
title: 'Ant Design Mobile',
url: 'https://mobile.ant.design',

View File

@ -7,6 +7,16 @@ import { SharedProps } from './interface';
export function getEcosystemGroup({ isZhCN }: SharedProps): React.ReactElement {
return (
<Menu.ItemGroup key="ecosystem" title={<FormattedMessage id="app.header.menu.ecosystem" />}>
<Menu.Item key="charts">
<a
href="https://charts.ant.design"
className="header-link"
target="_blank"
rel="noopener noreferrer"
>
<FormattedMessage id="app.header.menu.charts" />
</a>
</Menu.Item>
<Menu.Item key="pro">
<a
href="http://pro.ant.design"

View File

@ -12,6 +12,7 @@ module.exports = {
'app.header.menu.more': '更多',
'app.header.menu.mobile': '移动版',
'app.header.menu.pro.v4': 'Ant Design Pro v4',
'app.header.menu.charts': 'Ant Design Charts',
'app.header.menu.ecosystem': '生态',
'app.header.lang': 'English',
'app.content.edit-page': '在 GitHub 上编辑此页!',