Skip to content

Commit d290e56

Browse files
committed
docs: update badges style and links
1 parent eea7813 commit d290e56

1 file changed

Lines changed: 11 additions & 17 deletions

File tree

README.md

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![npm version][npm-version-src]][npm-version-href]
44
[![npm downloads][npm-downloads-src]][npm-downloads-href]
55
[![License][license-src]][license-href]
6-
[![Standard JS][standard-js-src]][standard-js-href]
6+
[![Nuxt][nuxt-src]][nuxt-href]
77

88
This module injects flags that indicate a device type into the context and the component instance.
99

@@ -149,25 +149,19 @@ https://support.cloudflare.com/hc/en-us/articles/229373388-Cache-Content-by-Devi
149149

150150
[MIT License](./LICENSE)
151151

152+
## Data Source
153+
154+
This module uses [crawler-user-agents](https://github.com/monperrus/crawler-user-agents) to generate the regular expression that detect a crawler.
155+
152156
<!-- Badges -->
153-
[npm-version-src]: https://img.shields.io/npm/dt/@nuxtjs/device.svg?style=flat-square
157+
[npm-version-src]: https://img.shields.io/npm/v/@nuxtjs/device/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
154158
[npm-version-href]: https://npmjs.com/package/@nuxtjs/device
155159

156-
[npm-downloads-src]: https://img.shields.io/npm/v/@nuxtjs/device/latest.svg?style=flat-square
160+
[npm-downloads-src]: https://img.shields.io/npm/dm/@nuxtjs/device.svg?style=flat&colorA=18181B&colorB=28CF8D
157161
[npm-downloads-href]: https://npmjs.com/package/@nuxtjs/device
158162

159-
[circle-ci-src]: https://img.shields.io/circleci/project/github/nuxt-community/device-module.svg?style=flat-square
160-
[circle-ci-href]: https://circleci.com/gh/nuxt-community/device-module
161-
162-
[codecov-src]: https://img.shields.io/codecov/c/github/nuxt-community/device-module.svg?style=flat-square
163-
[codecov-href]: https://codecov.io/gh/nuxt-community/device-module
163+
[license-src]: https://img.shields.io/github/license/nuxt-modules/device.svg?style=flat&colorA=18181B&colorB=28CF8D
164+
[license-href]: https://github.com/nuxt-modules/device/blob/main/LICENSE
164165

165-
[standard-js-src]: https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square
166-
[standard-js-href]: https://standardjs.com
167-
168-
[license-src]: https://img.shields.io/npm/l/@nuxtjs/device.svg?style=flat-square
169-
[license-href]: https://npmjs.com/package/@nuxtjs/device
170-
171-
## Data Source
172-
173-
This module uses [crawler-user-agents](https://github.com/monperrus/crawler-user-agents) to generate the regular expression that detect a crawler.
166+
[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js
167+
[nuxt-href]: https://nuxt.com

0 commit comments

Comments
 (0)