Skip to content

Commit 81d27e1

Browse files
authored
chore: update genui-sdk subproject commit (#91)
* chore: update genui-sdk subproject commit * fix: update URLs in header configuration to use basePath * chore: update genui-sdk subproject commit
1 parent 74789dd commit 81d27e1

File tree

3 files changed

+49
-32
lines changed

3 files changed

+49
-32
lines changed

genui-sdk

packages/common/src/config/header.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,42 +42,42 @@ const menuItems = [
4242
},
4343
{
4444
name: 'TinyRobot',
45-
url: '/tiny-robot',
45+
url: `${basePath}tiny-robot`,
4646
children: [],
4747
logo: tinyRobot,
4848
desc: '智能助手',
4949
hide: false,
5050
github: 'https://github.com/opentiny/tiny-robot',
51-
isUnderline: createIsUnderline('/tiny-robot')
51+
isUnderline: createIsUnderline(`${basePath}tiny-robot`)
5252
},
5353
{
5454
name: 'NEXT-SDKs',
5555
desc: '开发套件',
56-
url: '/next-sdk',
56+
url: `${basePath}next-sdk`,
5757
logo: tinySdks,
5858
hide: false,
5959
github: 'https://github.com/opentiny/next-sdk',
6060
children: [],
61-
isUnderline: createIsUnderline('/next-sdk')
61+
isUnderline: createIsUnderline(`${basePath}next-sdk`)
6262
},
6363
{
6464
name: 'GenUI-SDK',
6565
desc: '生成式UI',
66-
url: '/genui-sdk',
66+
url: `${basePath}genui-sdk`,
6767
logo: GenuiSdk,
6868
hide: false,
6969
github: 'https://github.com/opentiny/genui-sdk',
7070
children: [],
71-
isUnderline: createIsUnderline('/genui-sdk')
71+
isUnderline: createIsUnderline(`${basePath}genui-sdk`)
7272
},
7373
{
7474
name: 'AI-Extension',
7575
desc: 'AI 浏览器扩展插件',
76-
url: '/ai-extension',
76+
url: `${basePath}ai-extension`,
7777
logo: tinyAi,
7878
hide: false,
7979
github: 'https://github.com/opentiny/tiny-robot',
80-
isUnderline: createIsUnderline('/ai-extension')
80+
isUnderline: createIsUnderline(`${basePath}ai-extension`)
8181
},
8282
{
8383
type: 'other',

pnpm-lock.yaml

Lines changed: 40 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)