Skip to content

Commit

Permalink
docs: Added Ant Design Charts link (ant-design#24496)
Browse files Browse the repository at this point in the history
* Added Ant Design Charts link

* Modified position of  Ant Design Charts

Co-authored-by: liufu.lf <[email protected]>
  • Loading branch information
lxfu1 and liufu.lf authored May 30, 2020
1 parent 0bf728c commit 14f9f95
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions README-pt_BR.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions docs/react/introduce.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions docs/react/introduce.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions docs/spec/visual.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions site/theme/en-US.js
Original file line number Diff line number Diff line change
Expand Up @@ -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!',
Expand Down
5 changes: 5 additions & 0 deletions site/theme/template/Layout/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
10 changes: 10 additions & 0 deletions site/theme/template/Layout/Header/More.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions site/theme/zh-CN.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 上编辑此页!',
Expand Down

0 comments on commit 14f9f95

Please sign in to comment.