Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use subtitle for zh-CN #669

Merged
merged 1 commit into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/web3/src/address/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
nav: 组件
subtitle: 地址
group:
title: 展示
order: 3
---

# Address 地址
# Address

## 基本使用

Expand Down
3 changes: 2 additions & 1 deletion packages/web3/src/browser-link/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
nav: 组件
subtitle: 浏览器链接
group: 展示
---

# BrowerLink 浏览器链接
# BrowerLink

快速使用 etherscan 的地址.

Expand Down
3 changes: 2 additions & 1 deletion packages/web3/src/connect-button/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
nav: 组件
subtitle: 连接钱包按钮
group: 连接
order: 1
---

# ConnectButton 连接钱包按钮
# ConnectButton

连接区块链钱包的按钮。通常来说,你需要配合 [Connector](../connector/index.zh-CN.md) 组件使用。

Expand Down
3 changes: 2 additions & 1 deletion packages/web3/src/connect-modal/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
nav: 组件
subtitle: 连接钱包弹窗
group: 连接
order: 2
---

# ConnectModal 连接钱包弹窗
# ConnectModal

连接钱包弹窗,与 [ConnectButton](../connect-button/index.zh-CN.md) 配合使用完成钱包的链接流程。通常来说,你只要直接使用 [Connector](../connector/index.zh-CN.md) 组件即可。

Expand Down
3 changes: 2 additions & 1 deletion packages/web3/src/connector/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
---
nav: 组件
subtitle: 连接器
group:
title: 连接
order: 2
order: 0
---

# Connector 连接器
# Connector

`Connector` 组件整合了 [ConnectButton](../connect-button/index.zh-CN.md) 和 [ConnectModal](../connect-modal/index.zh-CN.md) 组件,提供了一个完整的连接钱包的功能的 UI。

Expand Down
3 changes: 2 additions & 1 deletion packages/web3/src/crypto-price/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
nav: 组件
subtitle: 加密价格
group:
title: 展示
---

# CryptoPrice 加密价格
# CryptoPrice

## 基本使用

Expand Down
3 changes: 2 additions & 1 deletion packages/web3/src/hooks/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
nav: 组件
subtitle: 钩子函数
group: 通用
order: 2
---

# Hooks 钩子函数
# Hooks

暴露一些常用的 Hooks,你可以单独使用或者配合组件使用。

Expand Down
3 changes: 2 additions & 1 deletion packages/web3/src/icons/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
---
nav: 组件
subtitle: 图标
group:
title: 通用
order: 0
order: 1
---

# Icons 图标
# Icons

## 使用方法

Expand Down
3 changes: 2 additions & 1 deletion packages/web3/src/nft-card/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
nav: 组件
subtitle: NFT 卡片
group: 展示
---

# NFTCard NFT 卡片
# NFTCard

用于显示 NFTCard 的组件

Expand Down
3 changes: 2 additions & 1 deletion packages/web3/src/nft-image/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
nav: 组件
subtitle: NFT 图片
group: 展示
---

# NFTImage NFT 图片
# NFTImage

更简单地展示 NFT 图片的组件。

Expand Down
3 changes: 2 additions & 1 deletion packages/web3/src/solana/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
nav: 组件
subtitle: 索拉纳
group:
title: 适配器
order: 2
Expand All @@ -8,7 +9,7 @@ tag:
color: success
---

# Solana 索拉纳
# Solana

Ant Design Web3 官方提供了 `@ant-design/web3-solana` 来适配 Solana,它是一个基于 [Solana Web3.js](https://solana-labs.github.io/solana-web3.js/) 的 Ant Design Web3 Solana 适配器。它为 `@ant-design/web3` 的组件提供了连接 Solana 的能力。

Expand Down
3 changes: 2 additions & 1 deletion packages/web3/src/types/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
nav: 组件
subtitle: 类型
group: 通用
order: 3
---

# Types 类型
# Types

这里定义了 Ant Design Web3 统一类型,在多个组件中可能都会用到。

Expand Down
3 changes: 2 additions & 1 deletion packages/web3/src/wagmi/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
nav: 组件
subtitle: 以太坊
group:
title: 适配器
order: 1
---

# Ethereum 以太坊
# Ethereum

Ant Design Web3 官方提供了 `@ant-design/web3-wagmi` 来适配以太坊,它是一个基于 [wagmi 2.x](https://wagmi.sh/) 的 Ant Design Web3 以太坊适配器。它为 `@ant-design/web3` 的组件提供了连接以太坊等 EVM 兼容链的能力。通过它,你不需要自己处理组件的连接状态,链数据请求等逻辑。它会通过 [Web3ConfigProvider](../web3-config-provider/index.zh-CN.md) 为组件提供相关全局状态和接口。

Expand Down
3 changes: 2 additions & 1 deletion packages/web3/src/web3-config-provider/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
nav: 组件
subtitle: Web3 全局配置
group:
title: 高级
order: 4
---

# Web3ConfigProvider Web3 全局配置
# Web3ConfigProvider

给组件提供全局配置和状态。

Expand Down
Loading