feat: add GitHub link to IM settings

This commit is contained in:
xmanrui 2026-08-17 17:02:08 +08:00
parent 4453a40daa
commit ba2e27217c
5 changed files with 45 additions and 10 deletions

View file

@ -125,7 +125,16 @@ export function IMSettingsTab({
const active = CHANNELS.find((channel) => channel.id === selected) ?? CHANNELS[0];
return h('section', { className: 'dim-page', 'aria-label': 'IM机器人设置' },
h('header', { className: 'dim-title' },
h('p', null, '把机器人接入 DeepSeek Harness'),
h('p', null, '让聊天机器人轻松接入 DeepSeek Harness'),
h('a', {
className: 'dim-githubLink',
href: 'https://github.com/xmanrui/dsh-im',
target: '_blank',
rel: 'noopener noreferrer',
'aria-label': 'dsh-im GitHub',
},
h('span', null, 'GitHub'),
h('span', { className: 'dim-githubArrow', 'aria-hidden': 'true' }, '↗')),
),
h('div', { className: 'dim-layout' },
h('nav', { className: 'dim-rail', role: 'tablist', 'aria-label': 'IM 渠道' },