small fix, don't worry about it

This commit is contained in:
Tomas Dvorak
2026-04-10 12:06:24 +02:00
commit 5c500a72b0
243 changed files with 44176 additions and 0 deletions
+59
View File
@@ -0,0 +1,59 @@
import {
Compass,
Home,
Library,
Settings,
Shield,
} from 'lucide-solid'
import type { Component } from 'solid-js'
type IconComponent = Component<{ class?: string; size?: number | string }>
export interface AppNavRoute {
path: string
label: string
description: string
icon: IconComponent
implemented: boolean
}
export const appNavRoutes: AppNavRoute[] = [
{
path: '/app/dashboard',
label: 'Home',
description: 'Your media overview and activity.',
icon: Home,
implemented: true,
},
{
path: '/app/discover',
label: 'Discover',
description: 'Browse and search the catalog.',
icon: Compass,
implemented: true,
},
{
path: '/app/library',
label: 'Library',
description: 'Your collection, queue, and history.',
icon: Library,
implemented: true,
},
{
path: '/app/settings',
label: 'Settings',
description: 'Profile, playback, and integrations.',
icon: Settings,
implemented: true,
},
{
path: '/app/admin',
label: 'Admin',
description: 'System controls and diagnostics.',
icon: Shield,
implemented: true,
},
]
export const routeByPath = (path: string): AppNavRoute | undefined =>
appNavRoutes.find((route) => route.path === path)