mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-03-30 21:49:26 +02:00
- Rename 'Models Manager' to 'AI Model Manager' - Rename 'ZIM Manager' to 'Content Manager' - Rename 'ZIM Remote Explorer' to 'Content Explorer' - Rename 'Curated ZIM Collections' to 'Curated Content Collections' - Add tiered category collections (Essential/Standard/Comprehensive) to Content Explorer, matching the Easy Setup Wizard Step 3 for consistency - Reorganize Settings sidebar alphabetically Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
50 lines
1.6 KiB
TypeScript
50 lines
1.6 KiB
TypeScript
import {
|
|
ChartBarIcon,
|
|
Cog6ToothIcon,
|
|
CommandLineIcon,
|
|
FolderIcon,
|
|
MagnifyingGlassIcon,
|
|
} from '@heroicons/react/24/outline'
|
|
import {
|
|
IconArrowBigUpLines,
|
|
IconDashboard,
|
|
IconDatabaseStar,
|
|
IconGavel,
|
|
IconMapRoute,
|
|
} from '@tabler/icons-react'
|
|
import StyledSidebar from '~/components/StyledSidebar'
|
|
import { getServiceLink } from '~/lib/navigation'
|
|
|
|
const navigation = [
|
|
{ name: 'AI Model Manager', href: '/settings/models', icon: IconDatabaseStar, current: false },
|
|
{ name: 'Apps', href: '/settings/apps', icon: CommandLineIcon, current: false },
|
|
{ name: 'Benchmark', href: '/settings/benchmark', icon: ChartBarIcon, current: false },
|
|
{ name: 'Content Explorer', href: '/settings/zim/remote-explorer', icon: MagnifyingGlassIcon, current: false },
|
|
{ name: 'Content Manager', href: '/settings/zim', icon: FolderIcon, current: false },
|
|
{ name: 'Legal Notices', href: '/settings/legal', icon: IconGavel, current: false },
|
|
{ name: 'Maps Manager', href: '/settings/maps', icon: IconMapRoute, current: false },
|
|
{
|
|
name: 'Service Logs & Metrics',
|
|
href: getServiceLink('9999'),
|
|
icon: IconDashboard,
|
|
current: false,
|
|
target: '_blank',
|
|
},
|
|
{
|
|
name: 'Check for Updates',
|
|
href: '/settings/update',
|
|
icon: IconArrowBigUpLines,
|
|
current: false,
|
|
},
|
|
{ name: 'System', href: '/settings/system', icon: Cog6ToothIcon, current: true },
|
|
]
|
|
|
|
export default function SettingsLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<div className="min-h-screen flex flex-row bg-stone-50/90">
|
|
<StyledSidebar title="Settings" items={navigation} />
|
|
{children}
|
|
</div>
|
|
)
|
|
}
|