add routing docs

This commit is contained in:
vcoppe
2024-07-09 22:15:05 +02:00
parent afe14b2537
commit e174d4d2f5
20 changed files with 121 additions and 21 deletions

View File

@@ -2,6 +2,10 @@
export let type: 'note' | 'warning' = 'note';
</script>
<div class="bg-accent border-l-8 border-blue-500 p-2 text-sm rounded-md">
<div
class="bg-accent border-l-8 {type === 'note'
? 'border-blue-500'
: 'border-destructive'} p-2 text-sm rounded-md"
>
<slot />
</div>