From 36f6b0e63dc76a86f8e4e9ee91fbffa03940a6fd Mon Sep 17 00:00:00 2001 From: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com> Date: Wed, 24 Jan 2024 14:15:10 -0300 Subject: [PATCH] Remove old help center links. --- client/src/components/ContentBody.vue | 38 ------- client/src/components/ContentFooter.vue | 100 ----------------- client/src/components/ContentTitle.vue | 35 ------ client/src/components/HomeFooter.vue | 20 ++-- client/src/components/PageAside.vue | 44 -------- client/src/components/ProfileMenu.vue | 14 ++- client/src/layouts/help-center.vue | 112 ------------------- client/src/pages/help/[category]/[slug].vue | 118 -------------------- client/src/pages/sign-in.vue | 21 ++-- client/src/symbols.ts | 26 ----- 10 files changed, 35 insertions(+), 493 deletions(-) delete mode 100644 client/src/components/ContentBody.vue delete mode 100644 client/src/components/ContentFooter.vue delete mode 100644 client/src/components/ContentTitle.vue delete mode 100644 client/src/components/PageAside.vue delete mode 100644 client/src/layouts/help-center.vue delete mode 100644 client/src/pages/help/[category]/[slug].vue diff --git a/client/src/components/ContentBody.vue b/client/src/components/ContentBody.vue deleted file mode 100644 index cbb6eece..00000000 --- a/client/src/components/ContentBody.vue +++ /dev/null @@ -1,38 +0,0 @@ - - - diff --git a/client/src/components/ContentFooter.vue b/client/src/components/ContentFooter.vue deleted file mode 100644 index faa64eda..00000000 --- a/client/src/components/ContentFooter.vue +++ /dev/null @@ -1,100 +0,0 @@ - - - - - diff --git a/client/src/components/ContentTitle.vue b/client/src/components/ContentTitle.vue deleted file mode 100644 index 2d778679..00000000 --- a/client/src/components/ContentTitle.vue +++ /dev/null @@ -1,35 +0,0 @@ - - - - - diff --git a/client/src/components/HomeFooter.vue b/client/src/components/HomeFooter.vue index 2b27ab52..b6996f5c 100644 --- a/client/src/components/HomeFooter.vue +++ b/client/src/components/HomeFooter.vue @@ -1,22 +1,26 @@ @@ -29,9 +33,9 @@ const links = computed(() => [ diff --git a/client/src/components/PageAside.vue b/client/src/components/PageAside.vue deleted file mode 100644 index 991a5511..00000000 --- a/client/src/components/PageAside.vue +++ /dev/null @@ -1,44 +0,0 @@ - - - diff --git a/client/src/components/ProfileMenu.vue b/client/src/components/ProfileMenu.vue index b5d676b5..81840bc6 100644 --- a/client/src/components/ProfileMenu.vue +++ b/client/src/components/ProfileMenu.vue @@ -18,7 +18,7 @@ const props = withDefaults(defineProps(), { const { light, transparent } = toRefs(props) -const { t } = useI18n({ useScope: 'global' }) +const { t, locale } = useI18n({ useScope: 'global' }) const authStore = useAuthStore() const profileImageUrl = computed(() => authStore.profileImageUrl) @@ -26,6 +26,11 @@ const profileImageUrl = computed(() => authStore.profileImageUrl) function signOut() { authStore.signOut() } + +const instructionsLink = computed(() => { + const localePath = locale.value === 'pt-BR' ? 'pt/' : '' + return `https://alessandrojean.github.io/toshokan/${localePath}guides/instructions` +})