From a6109bfd3ceee06a65f449de11c870305827aa7b Mon Sep 17 00:00:00 2001 From: Martin Trapp <94928215+martrapp@users.noreply.github.com> Date: Wed, 13 Nov 2024 21:42:30 +0100 Subject: [PATCH] badge --- astro.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/astro.config.ts b/astro.config.ts index 2b46bb5..0a51776 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -10,6 +10,7 @@ import { visualizer } from "rollup-plugin-visualizer"; import vtbot from "astro-vtbot"; import d2 from "astro-d2"; import inoxToolsPortalGun from "@inox-tools/portal-gun"; +import type { Badge } from 'node_modules/@astrojs/starlight/schemas/badge'; //import type { Badge } from 'node_modules/@astrojs/starlight/schemas/badge'; // https://astro.build/config @@ -106,7 +107,7 @@ function sidebar() { // { label: 'Step by Step Tutorial', link: "/basics/step-by-step/" }, { label: 'View Transition API', link: "/basics/api/" }, { - label: 'View Transition Examples', link: "/basics/examples/", badge: { text: '🢀', variant: 'success' }, + label: 'View Transition Examples', link: "/basics/examples/", badge: { text: '🢀', variant: 'success' } as Badge, }, { label: 'Structure of Pseudo-Elements', link: "/basics/pseudos/" }, { label: 'Mechanics of Default Animations', link: "/basics/default-animations/" },