Browse Source

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>
pull/24597/head
kevin 5 years ago
committed by GitHub
parent
commit
14f9f95864
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      README-pt_BR.md
  2. 1
      README-zh_CN.md
  3. 1
      README.md
  4. 1
      docs/react/introduce.en-US.md
  5. 1
      docs/react/introduce.zh-CN.md
  6. 1
      docs/spec/visual.zh-CN.md
  7. 1
      site/theme/en-US.js
  8. 5
      site/theme/template/Layout/Footer.tsx
  9. 10
      site/theme/template/Layout/Header/More.tsx
  10. 1
      site/theme/zh-CN.js

1
README-pt_BR.md

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

1
README-zh_CN.md

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

1
README.md

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

1
docs/react/introduce.en-US.md

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

1
docs/react/introduce.zh-CN.md

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

1
docs/spec/visual.zh-CN.md

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

1
site/theme/en-US.js

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

5
site/theme/template/Layout/Footer.tsx

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

10
site/theme/template/Layout/Header/More.tsx

@ -7,6 +7,16 @@ import { SharedProps } from './interface';
export function getEcosystemGroup({ isZhCN }: SharedProps): React.ReactElement { export function getEcosystemGroup({ isZhCN }: SharedProps): React.ReactElement {
return ( return (
<Menu.ItemGroup key="ecosystem" title={<FormattedMessage id="app.header.menu.ecosystem" />}> <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"> <Menu.Item key="pro">
<a <a
href="http://pro.ant.design" href="http://pro.ant.design"

1
site/theme/zh-CN.js

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

Loading…
Cancel
Save