diff --git a/README.md b/README.md index d4d9c2d14..fbbadfdba 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@
-A components collection for Web3. +A collection of components for Web3. [![test status][github-action-image]][github-action-url] [![NPM version][npm-image]][npm-url] diff --git a/docs/guide/index.md b/docs/guide/index.md index 968619375..805883f8a 100644 --- a/docs/guide/index.md +++ b/docs/guide/index.md @@ -32,7 +32,7 @@ export default () => { ## Connecting to the Blockchain -You can also connect certain UI components to the blockchain by importing the `EthereumProvider` from `@ant-design/web3-ethereum`. The following example demonstrates how to display an NFT image using the `NFTImage` component. +You can also connect certain UI components to the blockchain by importing the `EthereumProvider` from `@ant-design/web3-ethereum`. The following example demonstrates how to display an NFT image using the `NFTImage` component. In this example, you can request NFT data through the blockchain node service provided by [zan.top](https://zan.top/). All you need to do is pass the `address` and `tokenId` to the component. ```tsx | pure import { EthereumProvider, createProvider, ZANJsonRpcProvider } from '@ant-design/web3-ethereum'; diff --git a/docs/guide/index.zh-CN.md b/docs/guide/index.zh-CN.md index 67ab6b773..fba567291 100644 --- a/docs/guide/index.zh-CN.md +++ b/docs/guide/index.zh-CN.md @@ -32,7 +32,7 @@ export default () => { ## 连接区块链 -你也可以通过引入 `@ant-design/web3-ethereum` 中的 `EthereumProvider` 让一些 UI 组件中可以连接到区块链。比如下面的示例展示了通过 `NFTImage` 组件显示一个 NFT 图片,示例中通过 [zan.top](https://zan.top/) 提供的区块链节点服务可以请求 NFT 数据,你只需要向组件传入 `address` 和 `tokenId` 即可。 +你也可以通过引入 `@ant-design/web3-ethereum` 中的 `EthereumProvider` 让一些 UI 组件可以连接到区块链。比如下面的示例展示了如何通过 `NFTImage` 组件显示一个 NFT 图片。示例中,通过 [zan.top](https://zan.top/) 提供的区块链节点服务可以请求 NFT 数据,你只需要向组件传入 `address` 和 `tokenId` 即可。 ```tsx | pure import { EthereumProvider, createProvider, ZANJsonRpcProvider } from '@ant-design/web3-ethereum'; diff --git a/docs/guide/theme.md b/docs/guide/theme.md index a104f55dd..cfb18f60b 100644 --- a/docs/guide/theme.md +++ b/docs/guide/theme.md @@ -5,4 +5,4 @@ group: Basic # Theme -Ant Design Web3 is developed based on Ant Design, and you can set the theme of Ant Design Web3 by configuring [Ant Design's theme](https://ant.design/docs/react/customize-theme-cn). +Ant Design Web3 is developed based on Ant Design, and you can set the theme of Ant Design Web3 by configuring [Ant Design's theme](https://ant.design/docs/react/customize-theme). diff --git a/docs/index.zh-CN.md b/docs/index.zh-CN.md index 53db79f10..8135e82fd 100644 --- a/docs/index.zh-CN.md +++ b/docs/index.zh-CN.md @@ -5,7 +5,7 @@ hero: description: 享受 Web3 的乐趣 actions: - text: 开始使用 - link: /guide + link: /zh-CN/guide - text: GitHub link: https://github.com/ant-design/ant-design-web3 features: