No description
src | ||
test | ||
.gitignore | ||
index.ts | ||
LICENSE | ||
package.json | ||
README.md | ||
tsconfig.json |
Netweak Badges
Netweak badges, built for Astro.
Note
Your Astro website must output to Server-Side Rendering.
Usage
Import component:
import {SmallBadge} from "@sudovanilla/netweak-badges"
Create badge for overall status:
<SmallBadge Page="status.example.org"/>
Create badge for specific service:
<SmallBadge Page="status.example.org" Service="2"/>
To assign it to a specific service, take a look at your JSON response and use the number assigned to the service under services
: