From 6867aab74b37df74373011af8986b4cc454e7683 Mon Sep 17 00:00:00 2001 From: SabreCat Date: Tue, 1 Aug 2023 18:38:21 -0500 Subject: [PATCH] fix(faq): better mobile routing, new q --- .../client/src/components/static/chatSunsetFaq.vue | 12 +++++++++++- website/client/src/router/index.js | 3 ++- website/common/locales/en/faq.json | 3 +++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/website/client/src/components/static/chatSunsetFaq.vue b/website/client/src/components/static/chatSunsetFaq.vue index 92774f5fc7..0fa4cb9750 100644 --- a/website/client/src/components/static/chatSunsetFaq.vue +++ b/website/client/src/components/static/chatSunsetFaq.vue @@ -69,7 +69,16 @@

- + +
+

+ {{ $t('sunsetFaqHeader12') }} +

+
+
+

+
+

{{ $t('sunsetFaqHeader6') }} @@ -144,6 +153,7 @@

+

diff --git a/website/client/src/router/index.js b/website/client/src/router/index.js index 3e53429673..d08ec1d100 100644 --- a/website/client/src/router/index.js +++ b/website/client/src/router/index.js @@ -314,7 +314,7 @@ const router = new VueRouter({ name: 'faq', path: 'faq', component: FAQPage, meta: { requiresLogin: false }, }, { - name: 'chatSunsetFaq', path: 'faq/tavern-and-guilds', component: ChatSunsetFaq, meta: { requiresLogin: false }, + name: 'chatSunsetFaq', path: 'tavern-and-guilds', component: ChatSunsetFaq, meta: { requiresLogin: false }, }, { name: 'features', path: 'features', component: FeaturesPage, meta: { requiresLogin: false }, @@ -386,6 +386,7 @@ const router = new VueRouter({ // Only used to handle some redirects // See router.beforeEach + { path: '/static/faq/tavern-and-guilds', redirect: '/static/tavern-and-guilds' }, { path: '/redirect/:redirect', name: 'redirect' }, { path: '*', redirect: { name: 'notFound' } }, ], diff --git a/website/common/locales/en/faq.json b/website/common/locales/en/faq.json index 3698214653..6fdf93cfb6 100644 --- a/website/common/locales/en/faq.json +++ b/website/common/locales/en/faq.json @@ -188,6 +188,9 @@ "sunsetFaqHeader11": "How does this affect Habitica’s Community Guidelines and Terms of Service?", "sunsetFaqPara20": "Habitica’s Community Guidelines will be updated at the time Tavern and Guild service is discontinued. They will reflect that community rules for conduct are now in relation to player profiles, Challenges, and messages in private spaces. Our Terms of Service have always applied to both public and private spaces and do not require an immediate update in regard to this change.", + "sunsetFaqHeader12": "What will happen to Guild Bank Gems?", + "sunsetFaqPara21": "Gems in the Guild Bank will be refunded to the leader of the Guild on August 8th when Guild Services end.", + "anotherQuestion": "Have another question?", "contactAdmin": "Contact admin@habitica.com"