mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
chore: ⬆️ Upgrade to Nuxt 4
Some checks failed
Some checks failed
This commit is contained in:
parent
8debe97f63
commit
7f7cf20311
386 changed files with 2376 additions and 2332 deletions
30
app/types/sidebar.ts
Normal file
30
app/types/sidebar.ts
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
import type { LucideIcon } from "lucide-vue-next";
|
||||
|
||||
export interface SidebarNavItem {
|
||||
title: string;
|
||||
url: string;
|
||||
icon: LucideIcon;
|
||||
requiresLogin?: boolean;
|
||||
}
|
||||
|
||||
export interface SidebarNavGroup {
|
||||
title: string;
|
||||
items: SidebarNavItem[];
|
||||
}
|
||||
|
||||
export interface SidebarNavSubItem {
|
||||
title: string;
|
||||
url: string;
|
||||
}
|
||||
|
||||
export interface SidebarNavMainItem {
|
||||
title: string;
|
||||
url: string;
|
||||
icon: LucideIcon;
|
||||
items: SidebarNavSubItem[];
|
||||
}
|
||||
|
||||
export interface SidebarConfig {
|
||||
navMain: SidebarNavMainItem[];
|
||||
other: SidebarNavItem[];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue