Skip to content

Commit d0688b2

Browse files
committed
feat: 在官网导航添加组件实验室测试入口
1 parent f266c9d commit d0688b2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎app/layout.config.tsx‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ export function homeOptions(locale: string): BaseLayoutProps {
6969
type: 'menu',
7070
text: lang === 'en' ? 'More' : '更多',
7171
items: [
72+
{
73+
text: lang === 'en' ? 'Component Lab (Test)' : '组件实验室(测试)',
74+
description: lang === 'en' ? 'Preview composable NoteGen interface replicas' : '预览可组合的 NoteGen 界面复刻组件',
75+
url: `/${lang}/components`,
76+
active: 'url',
77+
},
7278
{
7379
text: lang === 'en' ? 'Community' : '交流群',
7480
description: lang === 'en' ? 'Join the NoteGen community' : '加入 NoteGen 用户交流群',

0 commit comments

Comments
 (0)