feat: rewrite all to use shadcn-svelte

This commit is contained in:
Bart van der Braak 2024-01-15 02:48:13 +01:00
parent 0df260c5a5
commit b13ece80d5
162 changed files with 3268 additions and 2815 deletions

18
src/lib/types/nav.ts Normal file
View file

@ -0,0 +1,18 @@
import type { Icons } from '$lib/components/site/icons';
export type NavItem = {
title: string;
href?: string;
disabled?: boolean;
external?: boolean;
icon?: keyof typeof Icons;
label?: string;
};
export type SidebarNavItem = NavItem & {
items: SidebarNavItem[];
};
export type NavItemWithChildren = NavItem & {
items: NavItemWithChildren[];
};