From 6c6b103d23492c0b7ce50f3b0cb0aecb031df60c Mon Sep 17 00:00:00 2001 From: kitiho <51785099+kitiho@users.noreply.github.com> Date: Thu, 2 Feb 2023 22:41:32 +0800 Subject: [PATCH] chore: some typo and format (#808) --- app/integrations/docsearch.ts | 2 +- app/module.ts | 2 +- components/app/Logo.vue | 46 +++++++++++++++++++++++----------- components/docs/EditOnLink.vue | 12 ++++----- 4 files changed, 39 insertions(+), 23 deletions(-) diff --git a/app/integrations/docsearch.ts b/app/integrations/docsearch.ts index bf082d672..93ca0e73f 100644 --- a/app/integrations/docsearch.ts +++ b/app/integrations/docsearch.ts @@ -92,7 +92,7 @@ export default defineNuxtPlugin(() => { ...userOptions.searchParameters }, /** - * Transform items into relative URL format (compatibiltiy with Vue Router). + * Transform items into relative URL format (compatibility with Vue Router). */ transformItems: userOptions.transformItems ? userOptions.transformItems diff --git a/app/module.ts b/app/module.ts index ec6f8a07d..4e425a611 100644 --- a/app/module.ts +++ b/app/module.ts @@ -15,7 +15,7 @@ export default defineNuxtModule({ }, configKey: 'docus' }, - setup(_, nuxt) { + setup (_, nuxt) { if (nuxt.options?.runtimeConfig?.public?.algolia?.docSearch) { addPlugin({ src: resolveThemeDir('integrations/docsearch.ts') diff --git a/components/app/Logo.vue b/components/app/Logo.vue index 80cfed9f4..01af0aa48 100644 --- a/components/app/Logo.vue +++ b/components/app/Logo.vue @@ -2,37 +2,53 @@ + fill="currentColor" + /> + fill="currentColor" + /> + fill="currentColor" + /> + fill="currentColor" + /> - - + + + fill="white" + /> - + fill="currentColor" + /> + fill="currentColor" + /> - - - -