初始化2

This commit is contained in:
2026-04-08 17:10:58 +08:00
commit 4986d90eb9
532 changed files with 112617 additions and 0 deletions

37
app/config/nav.ts Normal file
View 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'}
]