mirror of
https://github.com/Dvorinka/SEEN.git
synced 2026-06-05 13:03:01 +00:00
small fix, don't worry about it
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user