kopia lustrzana https://github.com/badgen/badgen.net
Remove api.badgen.net link
rodzic
63f5bbb0c5
commit
4d9e45824d
|
@ -32,14 +32,13 @@ At the time of badgen.now.sh's reveal, it had only four live badges as demonstra
|
|||
|
||||
## Anatomy
|
||||
|
||||
- Written in latest, vanilla JavaScript => no build process
|
||||
- Written in TypeScript => better develop experience
|
||||
- Using [badgen](https://github.com/amio/badgen) library to generate svg on the fly => fast & stateless
|
||||
- Hosted on [Now][now-href], serving behind Now CDN => faster & reliable
|
||||
- Cache less than 4 minutes => fresh & hot
|
||||
- Three endpoints in one server
|
||||
- Two styles:
|
||||
- https://badgen.net - classic style badges
|
||||
- https://flat.badgen.net - flat & square style badges
|
||||
- https://api.badgen.net - json “style” badges data (live badges only)
|
||||
- Two badge types
|
||||
- static badge - URL defined badge (subject, status, color)
|
||||
- live badge - show live status from 3rd party services
|
||||
|
|
|
@ -10,8 +10,6 @@ export default () => (
|
|||
<em>/</em>
|
||||
<Link href='https://flat.badgen.net'><a>Flat</a></Link>
|
||||
<em>/</em>
|
||||
<Link href='https://api.badgen.net'><a>API</a></Link>
|
||||
<em>/</em>
|
||||
<Link href='/gallery'><a>Gallery</a></Link>
|
||||
<em>/</em>
|
||||
<Link href='https://status.badgen.net'><a>Status</a></Link>
|
||||
|
@ -20,7 +18,7 @@ export default () => (
|
|||
</div>
|
||||
<div className='bottom'>
|
||||
<div>
|
||||
Built with ♥ by <a href='https://github.com/amio'>Amio</a> and awesome <a href='https://github.com/badgen/badgen.net/graphs/contributors'>contributors</a>. Hosted on <a href='https://zeit.co/now'>Now Cloud</a>. License under <a href='https://github.com/badgen/badgen.net/blob/master/LICENSE.md'>ISC</a>.
|
||||
Built with ♥ by <a href='https://github.com/amio'>Amio</a> and awesome <a href='https://github.com/badgen/badgen.net/graphs/contributors'>contributors</a>. Hosted on <a href='https://zeit.co/now'>Now</a>. License under <a href='https://github.com/badgen/badgen.net/blob/master/LICENSE.md'>ISC</a>.
|
||||
</div>
|
||||
<div className='links'>
|
||||
<a href='https://twitter.com/badgen_net'>
|
||||
|
|
|
@ -6,6 +6,5 @@ export default () => <>
|
|||
<p>
|
||||
<a href='https://badgen.net'>classic</a>
|
||||
<a href='https://flat.badgen.net'>flat</a>
|
||||
<a href='https://api.badgen.net'>api</a>
|
||||
</p>
|
||||
</>
|
||||
|
|
|
@ -2,7 +2,6 @@ import React from 'react'
|
|||
import App, { Container } from 'next/app'
|
||||
import Head from 'next/head'
|
||||
import DocsLayout from '../components/docs-layout.js'
|
||||
import Footer from '../components/footer.js'
|
||||
|
||||
export default class MyApp extends App {
|
||||
render () {
|
||||
|
|
Ładowanie…
Reference in New Issue