From 4b959c244011f5c33c4fbfaf2bbcc11b8b7f5de2 Mon Sep 17 00:00:00 2001 From: Clement G Date: Fri, 1 May 2020 14:26:30 +0200 Subject: [PATCH] feat(static-pages) : add mailto --- public/locale/i18n/de/resource.json | 1 + public/locale/i18n/en/resource.json | 1 + public/locale/i18n/es/resource.json | 1 + public/locale/i18n/fr/resource.json | 1 + public/locale/i18n/ru/resource.json | 1 + src/components/layouts/Footer.jsx | 74 +++++++++++++++++++---------- 6 files changed, 54 insertions(+), 25 deletions(-) diff --git a/public/locale/i18n/de/resource.json b/public/locale/i18n/de/resource.json index e7e4119..b84edba 100644 --- a/public/locale/i18n/de/resource.json +++ b/public/locale/i18n/de/resource.json @@ -5,6 +5,7 @@ "Privacy policy": "Datenschutzerklärung", "Legal notices": "Rechtliche Hinweise", "FAQ": "FAQ", + "Need help?": "Brauchen Sie Hilfe?", "BetterVote": " BetterVote", "Voting platform": "Wahlplattform", "Majority Judgment": " Mehrheitswahl ", diff --git a/public/locale/i18n/en/resource.json b/public/locale/i18n/en/resource.json index 3064f99..25a2cba 100644 --- a/public/locale/i18n/en/resource.json +++ b/public/locale/i18n/en/resource.json @@ -5,6 +5,7 @@ "Privacy policy": "Privacy policy", "Legal notices": "Legal notices", "FAQ": "FAQ", + "Need help?": "Need help?", "BetterVote": "BetterVote", "Voting platform": "Voting platform", "Majority Judgment": "Majority Judgment", diff --git a/public/locale/i18n/es/resource.json b/public/locale/i18n/es/resource.json index bd88b23..7d6baa0 100644 --- a/public/locale/i18n/es/resource.json +++ b/public/locale/i18n/es/resource.json @@ -5,6 +5,7 @@ "Privacy policy": "Política de privacidad", "Legal notices": "Avisos legales", "FAQ": "FAQ", + "Need help?": "¿Necesitas ayuda?", "BetterVote": "VotarMejor", "Voting platform": "Plataforma de votación", "Majority Judgment": "Juicio Mayoritario", diff --git a/public/locale/i18n/fr/resource.json b/public/locale/i18n/fr/resource.json index fe11f3e..96b2746 100644 --- a/public/locale/i18n/fr/resource.json +++ b/public/locale/i18n/fr/resource.json @@ -5,6 +5,7 @@ "Privacy policy": "Politique de confidentialité", "Legal notices": "Mentions légales", "FAQ": "FAQ", + "Need help?": "Besoin d'aide ?", "BetterVote": "MieuxVoter", "Voting platform": "Plateforme de vote", "Majority Judgment": "Jugement Majoritaire", diff --git a/public/locale/i18n/ru/resource.json b/public/locale/i18n/ru/resource.json index d75c89e..f6de898 100644 --- a/public/locale/i18n/ru/resource.json +++ b/public/locale/i18n/ru/resource.json @@ -5,6 +5,7 @@ "Privacy policy": "Политика конфиденциальности", "Legal notices": "Официальные уведомления", "FAQ": "ЧАСТО ЗАДАВАЕМЫЕ ВОПРОСЫ", + "Need help?": "Нужна помощь?", "BetterVote": "BetterVote", "Voting platform": "Платформа голосования", "Majority Judgment": "Решение Большинства", diff --git a/src/components/layouts/Footer.jsx b/src/components/layouts/Footer.jsx index 2305599..65b7800 100644 --- a/src/components/layouts/Footer.jsx +++ b/src/components/layouts/Footer.jsx @@ -3,7 +3,7 @@ import React from "react"; import { withTranslation } from "react-i18next"; import { Link } from "react-router-dom"; import Paypal from "../banner/Paypal"; -import {useBbox} from "./useBbox"; +import { useBbox } from "./useBbox"; import "./footer.css"; const Footer = props => { @@ -16,52 +16,76 @@ const Footer = props => { const [bboxLink4, link4] = useBbox(); const [bboxLink5, link5] = useBbox(); const [bboxLink6, link6] = useBbox(); + const [bboxLink7, link7] = useBbox(); return (