diff --git a/.vitepress/config/common-config.ts b/.vitepress/config/common-config.ts index 5bca11da..c2665dfd 100644 --- a/.vitepress/config/common-config.ts +++ b/.vitepress/config/common-config.ts @@ -38,18 +38,18 @@ export const commonConfig: UserConfig = { }, }, socialLinks: [ - { - icon: { - svg: '', - }, - link: "https://qm.qq.com/q/CsR20JGLAc", - }, - { - icon: { - svg: '', - }, - link: "https://discord.gg/uPJHxU46td", - }, + // { + // icon: { + // svg: '', + // }, + // link: "https://qm.qq.com/q/CsR20JGLAc", + // }, + // { + // icon: { + // svg: '', + // }, + // link: "https://discord.gg/uPJHxU46td", + // }, { icon: "github", link: "https://github.com/CrychicTeam/CrychicDoc", diff --git a/.vitepress/theme/components/Buttons.vue b/.vitepress/theme/components/Buttons.vue index 1d6ebaa6..a99016a2 100644 --- a/.vitepress/theme/components/Buttons.vue +++ b/.vitepress/theme/components/Buttons.vue @@ -6,11 +6,16 @@ :title="translations.backToTop[lang]" @click="scrollToTop" > - + + fill="#ffffff" + d="M15.78 15.84S18.64 13 19.61 12c3.07-3 1.54-9.18 1.54-9.18S15 1.29 12 4.36C9.66 6.64 8.14 8.22 8.14 8.22S4.3 7.42 2 9.72L14.25 22c2.3-2.33 1.53-6.16 1.53-6.16m-1.5-9a2 2 0 0 1 2.83 0a2 2 0 1 1-2.83 0M3 21a7.8 7.8 0 0 0 5-2l-3-3c-2 1-2 5-2 5" + /> @@ -63,11 +68,16 @@ :class="{ copied }" :title="translations.copyLink[lang]" > - + + fill="#ffffff" + d="M960.193 1024h-512q-27 0-45.5-18.5t-18.5-45.5V768h224q31 0 55.5-18t34.5-46h166q13 0 22.5-9.5t9.5-22.5t-9.5-22.5t-22.5-9.5h-160V512h160q13 0 22.5-9.5t9.5-22.5t-9.5-22.5t-22.5-9.5h-160V320h256q26 0 45 19t19 45v576q0 26-18.5 45t-45.5 19m-96-192h-320q-13 0-22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5h320q13 0 22.5-9.5t9.5-22.5t-9.5-22.5t-22.5-9.5m-288-128h-512q-27 0-45.5-18.5T.193 640V64q0-26 18.5-45t45.5-19h512q27 0 45.5 19t18.5 45v576q0 27-19 45.5t-45 18.5m-96-576h-320q-13 0-22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5h320q13 0 22.5-9.5t9.5-22.5t-9.5-22.5t-22.5-9.5m0 192h-320q-13 0-22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5h320q13 0 22.5-9.5t9.5-22.5t-9.5-22.5t-22.5-9.5m0 192h-320q-13 0-22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5h320q13 0 22.5-9.5t9.5-22.5t-9.5-22.5t-22.5-9.5" + /> @@ -78,7 +88,7 @@ > @@ -93,6 +103,60 @@ /> + + + + + +