chore(history): import initial web product snapshot

This commit is contained in:
wmq
2026-07-25 00:30:00 +08:00
commit cf0eed46c3
131 changed files with 15693 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
import {
LayoutDashboard,
MessagesSquare,
Users,
KanbanSquare,
Languages,
AudioLines,
ShieldAlert,
BookOpen,
BarChart3,
Cable,
UsersRound,
CreditCard,
Settings,
GraduationCap,
type LucideIcon,
} from 'lucide-react'
import type { Permission } from './roles'
export interface NavItem {
key: string
path: string
/** i18n key */
labelKey: string
icon: LucideIcon
permission?: Permission
}
export const NAV_ITEMS: NavItem[] = [
{ key: 'dashboard', path: '/dashboard', labelKey: 'nav.dashboard', icon: LayoutDashboard },
{ key: 'inbox', path: '/inbox', labelKey: 'nav.inbox', icon: MessagesSquare },
{ key: 'customers', path: '/customers', labelKey: 'nav.customers', icon: Users, permission: 'customer:view' },
{ key: 'opportunities', path: '/opportunities', labelKey: 'nav.opportunities', icon: KanbanSquare },
{ key: 'translate', path: '/translate', labelKey: 'nav.translate', icon: Languages },
{ key: 'interpret', path: '/interpret', labelKey: 'nav.interpret', icon: AudioLines },
{ key: 'risks', path: '/risks', labelKey: 'nav.risks', icon: ShieldAlert },
{ key: 'knowledge', path: '/knowledge', labelKey: 'nav.knowledge', icon: BookOpen },
{ key: 'analytics', path: '/analytics', labelKey: 'nav.analytics', icon: BarChart3, permission: 'analytics:view' },
{ key: 'channels', path: '/channels', labelKey: 'nav.channels', icon: Cable },
{ key: 'team', path: '/team', labelKey: 'nav.team', icon: UsersRound },
{ key: 'billing', path: '/billing', labelKey: 'nav.billing', icon: CreditCard },
{ key: 'settings', path: '/settings', labelKey: 'nav.settings', icon: Settings },
{ key: 'help', path: '/help', labelKey: 'nav.help', icon: GraduationCap },
]