Skip to content

Commit

Permalink
docs: Enable en aritles (ant-design#28192)
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ authored Dec 4, 2020
1 parent d12403a commit ace967f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/resources.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Please find below some of the design resources and tools about Ant Design that w
- Library of components for Desktop
- https://gumroad.com/l/antdesign-xd
- Figma Open Source Library
- https://i.imgur.com/kopdWeX.png
- https://gw.alipayobjects.com/zos/basement_prod/7b9ed3f2-6f05-4ddb-bac3-d55feb71e0ac.svg
- Free open source Figma library with complete accurate to code components
- https://www.figma.com/community/file/831698976089873405
- Ant Design Chart
Expand Down
2 changes: 1 addition & 1 deletion docs/resources.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ toc: false
- 在 Figma 使用 Ant Design 进行设计
- https://www.antforfigma.com
- Figma 开源组件包
- https://i.imgur.com/XoLEWxA.png
- https://gw.alipayobjects.com/zos/basement_prod/7b9ed3f2-6f05-4ddb-bac3-d55feb71e0ac.svg
- 代码级精确度的免费开源 Figma 完全组件库
- https://www.figma.com/community/file/831698976089873405
- 全新 Chart 组件包
Expand Down
22 changes: 10 additions & 12 deletions site/theme/template/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,18 +73,16 @@ const Home = (props: { location: any }) => {
<DesignPage location={location} />
</BlockContent>

{isZhCN ? (
<BlockContent
title={<FormattedMessage id="app.home.more" />}
extra={
<Link to={getLink()} target="_blank">
<FormattedMessage id="app.home.view-more" />
</Link>
}
>
<MorePage />
</BlockContent>
) : null}
<BlockContent
title={<FormattedMessage id="app.home.more" />}
extra={
<Link to={getLink()} target="_blank">
<FormattedMessage id="app.home.view-more" />
</Link>
}
>
<MorePage />
</BlockContent>
</div>
<Footer location={location} />
</div>
Expand Down

0 comments on commit ace967f

Please sign in to comment.