From d290e5679ed3f38884753cb98eefd52b54e345c4 Mon Sep 17 00:00:00 2001 From: Damian Glowala Date: Fri, 12 Apr 2024 21:20:25 +0200 Subject: [PATCH] docs: update badges style and links --- README.md | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 61129a9..bc829cb 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![License][license-src]][license-href] -[![Standard JS][standard-js-src]][standard-js-href] +[![Nuxt][nuxt-src]][nuxt-href] This module injects flags that indicate a device type into the context and the component instance. @@ -149,25 +149,19 @@ https://support.cloudflare.com/hc/en-us/articles/229373388-Cache-Content-by-Devi [MIT License](./LICENSE) +## Data Source + +This module uses [crawler-user-agents](https://github.com/monperrus/crawler-user-agents) to generate the regular expression that detect a crawler. + -[npm-version-src]: https://img.shields.io/npm/dt/@nuxtjs/device.svg?style=flat-square +[npm-version-src]: https://img.shields.io/npm/v/@nuxtjs/device/latest.svg?style=flat&colorA=18181B&colorB=28CF8D [npm-version-href]: https://npmjs.com/package/@nuxtjs/device -[npm-downloads-src]: https://img.shields.io/npm/v/@nuxtjs/device/latest.svg?style=flat-square +[npm-downloads-src]: https://img.shields.io/npm/dm/@nuxtjs/device.svg?style=flat&colorA=18181B&colorB=28CF8D [npm-downloads-href]: https://npmjs.com/package/@nuxtjs/device -[circle-ci-src]: https://img.shields.io/circleci/project/github/nuxt-community/device-module.svg?style=flat-square -[circle-ci-href]: https://circleci.com/gh/nuxt-community/device-module - -[codecov-src]: https://img.shields.io/codecov/c/github/nuxt-community/device-module.svg?style=flat-square -[codecov-href]: https://codecov.io/gh/nuxt-community/device-module +[license-src]: https://img.shields.io/github/license/nuxt-modules/device.svg?style=flat&colorA=18181B&colorB=28CF8D +[license-href]: https://github.com/nuxt-modules/device/blob/main/LICENSE -[standard-js-src]: https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square -[standard-js-href]: https://standardjs.com - -[license-src]: https://img.shields.io/npm/l/@nuxtjs/device.svg?style=flat-square -[license-href]: https://npmjs.com/package/@nuxtjs/device - -## Data Source - -This module uses [crawler-user-agents](https://github.com/monperrus/crawler-user-agents) to generate the regular expression that detect a crawler. +[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js +[nuxt-href]: https://nuxt.com