初始化2
This commit is contained in:
37
app/config/nav.ts
Normal file
37
app/config/nav.ts
Normal file
@@ -0,0 +1,37 @@
|
||||
export type NavItem = {
|
||||
key: string
|
||||
label: string
|
||||
to: string
|
||||
href?: string // 外链,设置后在新标签页打开
|
||||
children?: NavItem[]
|
||||
badge?: string // 用于显示 NEW/HOT 等标签
|
||||
}
|
||||
|
||||
export const mainNav: NavItem[] = [
|
||||
{key: 'home', label: '首页', to: '/'},
|
||||
{
|
||||
key: 'ai',
|
||||
label: 'AI智能体',
|
||||
to: '/ai-agent',
|
||||
badge: 'HOT',
|
||||
children: [
|
||||
{key: 'ai-agent', label: '🤖 AI 智能体', to: '/ai-agent'},
|
||||
{key: 'openclaw', label: '🦞 OpenClaw 生态', to: '/openclaw'},
|
||||
{key: 'platform-api', label: '🔑 模型管理平台', to: '', href: 'https://platform.websoft.top'},
|
||||
]
|
||||
},
|
||||
{
|
||||
key: 'products',
|
||||
label: '产品',
|
||||
to: '/products',
|
||||
children: [
|
||||
{key: 'website', label: '🌐 云·企业官网', to: '/website'},
|
||||
{key: 'miniapp', label: '📱 小程序开发', to: '/miniapp'},
|
||||
{key: 'shop', label: '🛒 小程序商城', to: '/shop'},
|
||||
{key: 'oa', label: '🏠 葳管家', to: '/oa'},
|
||||
]
|
||||
},
|
||||
{key: 'platform', label: '平台能力', to: '/platform'},
|
||||
{key: 'market', label: '模板市场', to: '/market'},
|
||||
{key: 'developer', label: '开发者中心', to: '/developer-center'}
|
||||
]
|
||||
Reference in New Issue
Block a user