From f908de13b84672478fee3edac22c5f23eb806aeb Mon Sep 17 00:00:00 2001 From: scenaristeur Date: Fri, 19 Jan 2024 19:06:48 +0100 Subject: [PATCH] google analytics --- index.html | 20 ++++++++++++++++---- src/components/ChatBox.vue | 4 ++-- src/components/LangSelector.vue | 2 ++ src/components/TheWomen.vue | 2 -- src/locales/en.json | 6 +++++- src/locales/fr.json | 6 +++++- src/store/modules/core.js | 11 +++++++++-- 7 files changed, 39 insertions(+), 12 deletions(-) diff --git a/index.html b/index.html index aa91c88..90f4736 100644 --- a/index.html +++ b/index.html @@ -1,10 +1,22 @@ - + - - - + + + Equilibre + + + +
diff --git a/src/components/ChatBox.vue b/src/components/ChatBox.vue index 40f54c6..4054edd 100644 --- a/src/components/ChatBox.vue +++ b/src/components/ChatBox.vue @@ -26,9 +26,9 @@
+ :placeholder="$t('chatbox.placeholder')" autofocus />
diff --git a/src/components/LangSelector.vue b/src/components/LangSelector.vue index 201b9b3..a23387c 100644 --- a/src/components/LangSelector.vue +++ b/src/components/LangSelector.vue @@ -21,11 +21,13 @@ import { SUPPORT_LOCALES as supportLocales, setI18nLanguage } from '@/i18n'; }, created() { this.supportLocales = supportLocales + this.$store.commit('core/setLang', this.locale) }, watch: { locale() { setI18nLanguage(this.locale) + this.$store.commit('core/setLang', this.locale) } } } diff --git a/src/components/TheWomen.vue b/src/components/TheWomen.vue index 6e8a830..80759cd 100644 --- a/src/components/TheWomen.vue +++ b/src/components/TheWomen.vue @@ -22,8 +22,6 @@ - -