Netweak-Badges/README.md
2025-03-07 17:16:54 -05:00

634 B

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:

JSON Response