Open links in new tab, update text

This commit is contained in:
Christian Cueni 2023-05-30 10:42:16 +02:00
parent 2ec48cf4a6
commit 3c6c80a8bc
2 changed files with 13 additions and 6 deletions

View File

@ -19,12 +19,12 @@ async function changeLocale(language: AvailableLanguages) {
<footer class="flex flex-col border-t bg-gray-200 px-8 py-4 lg:flex-row">
<div>{{ $t("footer.copyright") }}</div>
<div class="lg:ml-8">
<a :href="$t('footer.dataProtectionLink')">
<a :href="$t('footer.dataProtectionLink')" target="_blank">
{{ $t("footer.dataProtectionText") }}
</a>
</div>
<div class="lg:ml-8">
<a :href="$t('footer.imprintLink')">
<a :href="$t('footer.imprintLink')" target="_blank">
{{ $t("footer.imprintText") }}
</a>
</div>
@ -52,7 +52,9 @@ async function changeLocale(language: AvailableLanguages) {
</div>
</Menu>
<div class="lg:ml-8">
<a :href="$t('footer.contactLink')">{{ $t("footer.contactText") }}</a>
<a :href="$t('footer.contactLink')" target="_blank">
{{ $t("footer.contactText") }}
</a>
</div>
</footer>
</template>

View File

@ -85,10 +85,15 @@
"veryUnhappy": "très insatisfait"
},
"footer": {
"contact": "Contact",
"dataProtection": "Politique de confidentialité",
"faq": "FAQ",
"imprint": "Impressum"
"imprint": "Impressum",
"contactLink": "https://www.vbv.ch/fr/lafa/organisation/contact",
"contactText": "Contact",
"copyright": "© 2023 AFA",
"dataProtectionLink": "https://www.vbv.ch/fr/politique-de-confidentialite",
"dataProtectionText": "Politique de confidentialité",
"imprintLink": "https://www.vbv.ch/fr/impressum",
"imprintText": "Impressum"
},
"general": {
"back": "retour",