diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index aa5c616..a25f3f6 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -2,9 +2,6 @@ import { defineConfig } from 'vitepress'; import typedocSidebar from '../api/typedoc-sidebar.json'; import { transformHtml } from './plugins'; -const logoUrl = - 'https://registry.npmmirror.com/@gkd-kit/docs/0.0.1706371840771/files/.vitepress/dist/logo.svg'; - export default defineConfig({ title: 'GKD', description: '自定义屏幕点击应用', @@ -14,13 +11,13 @@ export default defineConfig({ { rel: 'icon', type: 'image/svg+xml', - href: logoUrl, + href: '/icon.svg', }, ], ], lastUpdated: true, themeConfig: { - logo: logoUrl, + logo: 'https://registry.npmmirror.com/@gkd-kit/docs/0.0.1706371840771/files/.vitepress/dist/logo.svg', lastUpdatedText: '最后更新于', outlineTitle: '导航栏', outline: [1, 3], diff --git a/docs/public/icon.svg b/docs/public/icon.svg new file mode 100644 index 0000000..52e0267 --- /dev/null +++ b/docs/public/icon.svg @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/docs/public/logo.svg b/docs/public/logo.svg index 3d1192f..87d4392 100644 --- a/docs/public/logo.svg +++ b/docs/public/logo.svg @@ -1,15 +1,31 @@ - - + + + + + + + + + + - - - + fill="#FCFCFC"> + + + + + + + + + \ No newline at end of file