Skip to content

Commit da53dd6

Browse files
committed
docs: align readme badge layout
1 parent 381e192 commit da53dd6

2 files changed

Lines changed: 18 additions & 40 deletions

File tree

README.md

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,18 @@
22
<h1>@rc-component/dialog</h1>
33
<p><sub><img alt="Ant Design" height="14" src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg" style="vertical-align: -0.125em;" /> Part of the Ant Design ecosystem.</sub></p>
44
<p>💬 A composable dialog component for React.</p>
5-
</div>
6-
7-
<p align="center">English | <a href="./README.zh-CN.md">简体中文</a></p>
8-
9-
10-
<div align="center">
11-
12-
[![NPM version][npm-image]][npm-url] [![npm download][download-image]][download-url] [![build status][github-actions-image]][github-actions-url] [![Codecov][codecov-image]][codecov-url] [![bundle size][bundlephobia-image]][bundlephobia-url] [![dumi][dumi-image]][dumi-url]
135

6+
<p>
7+
<a href="https://npmjs.org/package/@rc-component/dialog"><img alt="NPM version" src="https://img.shields.io/npm/v/@rc-component/dialog.svg?style=flat-square"></a>
8+
<a href="https://npmjs.org/package/@rc-component/dialog"><img alt="npm downloads" src="https://img.shields.io/npm/dm/@rc-component/dialog.svg?style=flat-square"></a>
9+
<a href="https://github.com/react-component/dialog/actions/workflows/react-component-ci.yml"><img alt="build status" src="https://github.com/react-component/dialog/actions/workflows/react-component-ci.yml/badge.svg"></a>
10+
<a href="https://app.codecov.io/gh/react-component/dialog"><img alt="Codecov" src="https://img.shields.io/codecov/c/github/react-component/dialog/master.svg?style=flat-square"></a>
11+
<a href="https://bundlephobia.com/package/@rc-component/dialog"><img alt="bundle size" src="https://img.shields.io/bundlephobia/minzip/@rc-component/dialog?style=flat-square"></a>
12+
<a href="https://github.com/umijs/dumi"><img alt="dumi" src="https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square"></a>
13+
</p>
1414
</div>
1515

16-
[npm-image]: https://img.shields.io/npm/v/@rc-component/dialog.svg?style=flat-square
17-
[npm-url]: https://npmjs.org/package/@rc-component/dialog
18-
[github-actions-image]: https://github.com/react-component/dialog/actions/workflows/react-component-ci.yml/badge.svg
19-
[github-actions-url]: https://github.com/react-component/dialog/actions/workflows/react-component-ci.yml
20-
[codecov-image]: https://img.shields.io/codecov/c/github/react-component/dialog/master.svg?style=flat-square
21-
[codecov-url]: https://app.codecov.io/gh/react-component/dialog
22-
[download-image]: https://img.shields.io/npm/dm/@rc-component/dialog.svg?style=flat-square
23-
[download-url]: https://npmjs.org/package/@rc-component/dialog
24-
[bundlephobia-image]: https://img.shields.io/bundlephobia/minzip/%40rc-component%2Fdialog?style=flat-square
25-
[bundlephobia-url]: https://bundlephobia.com/package/@rc-component/dialog
26-
[dumi-image]: https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square
27-
[dumi-url]: https://github.com/umijs/dumi
16+
<p align="center">English | <a href="./README.zh-CN.md">简体中文</a></p>
2817

2918
## Highlights
3019

README.zh-CN.md

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,18 @@
22
<h1>@rc-component/dialog</h1>
33
<p><sub><img alt="Ant Design" height="14" src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg" style="vertical-align: -0.125em;" /> Ant Design 生态的一部分。</sub></p>
44
<p>💬 可组合的 React 对话框组件。</p>
5-
</div>
6-
7-
<p align="center"><a href="./README.md">English</a> | 简体中文</p>
8-
9-
10-
<div align="center">
11-
12-
[![NPM version][npm-image]][npm-url] [![npm download][download-image]][download-url] [![build status][github-actions-image]][github-actions-url] [![Codecov][codecov-image]][codecov-url] [![bundle size][bundlephobia-image]][bundlephobia-url] [![dumi][dumi-image]][dumi-url]
135

6+
<p>
7+
<a href="https://npmjs.org/package/@rc-component/dialog"><img alt="NPM version" src="https://img.shields.io/npm/v/@rc-component/dialog.svg?style=flat-square"></a>
8+
<a href="https://npmjs.org/package/@rc-component/dialog"><img alt="npm downloads" src="https://img.shields.io/npm/dm/@rc-component/dialog.svg?style=flat-square"></a>
9+
<a href="https://github.com/react-component/dialog/actions/workflows/react-component-ci.yml"><img alt="build status" src="https://github.com/react-component/dialog/actions/workflows/react-component-ci.yml/badge.svg"></a>
10+
<a href="https://app.codecov.io/gh/react-component/dialog"><img alt="Codecov" src="https://img.shields.io/codecov/c/github/react-component/dialog/master.svg?style=flat-square"></a>
11+
<a href="https://bundlephobia.com/package/@rc-component/dialog"><img alt="bundle size" src="https://img.shields.io/bundlephobia/minzip/@rc-component/dialog?style=flat-square"></a>
12+
<a href="https://github.com/umijs/dumi"><img alt="dumi" src="https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square"></a>
13+
</p>
1414
</div>
1515

16-
[npm-image]: https://img.shields.io/npm/v/@rc-component/dialog.svg?style=flat-square
17-
[npm-url]: https://npmjs.org/package/@rc-component/dialog
18-
[github-actions-image]: https://github.com/react-component/dialog/actions/workflows/react-component-ci.yml/badge.svg
19-
[github-actions-url]: https://github.com/react-component/dialog/actions/workflows/react-component-ci.yml
20-
[codecov-image]: https://img.shields.io/codecov/c/github/react-component/dialog/master.svg?style=flat-square
21-
[codecov-url]: https://app.codecov.io/gh/react-component/dialog
22-
[download-image]: https://img.shields.io/npm/dm/@rc-component/dialog.svg?style=flat-square
23-
[download-url]: https://npmjs.org/package/@rc-component/dialog
24-
[bundlephobia-image]: https://img.shields.io/bundlephobia/minzip/%40rc-component%2Fdialog?style=flat-square
25-
[bundlephobia-url]: https://bundlephobia.com/package/@rc-component/dialog
26-
[dumi-image]: https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square
27-
[dumi-url]: https://github.com/umijs/dumi
16+
<p align="center"><a href="./README.md">English</a> | 简体中文</p>
2817

2918
## 特性
3019

0 commit comments

Comments
 (0)