nav.tsx
705 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import {
LayoutDashboard,
History as HistoryIcon,
Settings as SettingsIcon,
type LucideIcon,
} from 'lucide-react';
export interface NavItem {
to: string;
label: string;
desc: string;
icon: LucideIcon;
end?: boolean;
}
export const navItems: NavItem[] = [
{
to: '/',
label: '工作台',
desc: '提交任务、查看日志与实时预览',
icon: LayoutDashboard,
end: true,
},
{
to: '/history',
label: '历史任务',
desc: '全部生成记录与报告',
icon: HistoryIcon,
},
{
to: '/settings',
label: '设置',
desc: '凭据、模型与服务信息',
icon: SettingsIcon,
},
];
export const brandIcon = LayoutDashboard;