mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-06-28 23:39:11 +00:00
feat: rewrite all to use shadcn-svelte
This commit is contained in:
parent
0df260c5a5
commit
b13ece80d5
162 changed files with 3268 additions and 2815 deletions
18
src/lib/types/nav.ts
Normal file
18
src/lib/types/nav.ts
Normal 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[];
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue