Skip to content

Commit

Permalink
badge
Browse files Browse the repository at this point in the history
  • Loading branch information
martrapp committed Nov 13, 2024
1 parent ac719cd commit a6109bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/" },
Expand Down

0 comments on commit a6109bf

Please sign in to comment.