import icons from 'badgen-icons' import Image from 'next/image' // import { Open_Sans } from '@next/font/google' // const openSans = Open_Sans({ subsets: ['latin'], weight: ['400'] }) export default function HomeIntro ({ isFlat = false }) { return (
{explainCode(isFlat)}
color
Override default badge color.
e.g.
icon
Use builtin icon (or url for external icon) in front of subject text.
e.g.
list
Set list=|
will replace ,
with |
in status text.
e.g.
label
Override default subject text (URL-Encoding needed for spaces or special characters).
e.g.
labelColor
Override default label color.
e.g.
scale
Custom badge scale.
e.g.
cache
Live badge are cached in cdn for 24hrs (86400), you may limit it to a minimum of 5min (300).
e.g.