Add new Badge parameter for sidebar items

This commit is contained in:
Korbs 2024-12-22 23:20:56 -05:00
parent fae034b813
commit 33352b8d4c
Signed by: Korbs
SSH key fingerprint: SHA256:Q0b0KraMldpAO9oKa+w+gcsXsOTykQ4UkAKn0ByGn5U
3 changed files with 99 additions and 4 deletions

View file

@ -42,6 +42,27 @@
"text": "Components",
"link": "/components/"
},
{
"badge": "New",
"badge_variant": "Note",
"text": "Document Title",
"link": "#"
},
{
"badge": "Outdated",
"badge_variant": "Warning",
"text": "Document Title",
"link": "#"
},
{
"badge": "Deprecated",
"badge_variant": "Dangerous",
"text": "Document Title",
"link": "#"
},
{
"heading": "Heading"
},
{
"text": "Document Title",
"link": "#"