From 53d3df502f5ffd9f1e2c61d2a065984c43513eed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E5=88=BA=E8=9E=88?= Date: Thu, 7 Nov 2024 16:43:10 +0800 Subject: [PATCH] feat: update logo and icon --- docs/.vitepress/config.ts | 7 ++----- docs/public/icon.svg | 14 ++++++++++++++ docs/public/logo.svg | 36 ++++++++++++++++++++++++++---------- 3 files changed, 42 insertions(+), 15 deletions(-) create mode 100644 docs/public/icon.svg 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