From 95f86f13baec67f0e744149fda0b1cf1b3c343cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Jos=C3=A9=20Videira?= <03.pleaser-minster@icloud.com> Date: Tue, 11 Jun 2024 19:16:44 +0100 Subject: [PATCH] Final touches --- public/locales/en.json | 4 ++++ public/locales/pt.json | 4 ++++ src/Components/Footer/Footer.tsx | 5 ++++- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/public/locales/en.json b/public/locales/en.json index 711fb79..0e90a9c 100644 --- a/public/locales/en.json +++ b/public/locales/en.json @@ -168,5 +168,9 @@ "error": "An error occurred while sending your message. Please try again later.", "empty": "Please fill out all the fields before sending the message." } + }, + + "footer": { + "rights": "© 2024 LK Results. All rights reservered." } } diff --git a/public/locales/pt.json b/public/locales/pt.json index 1715a86..6f626ac 100644 --- a/public/locales/pt.json +++ b/public/locales/pt.json @@ -149,5 +149,9 @@ "error": "Ocorreu um erro ao enviar a sua mensagem. Por favor, tente novamente mais tarde.", "empty": "Por favor, preencha todos os campos antes de enviar a mensagem." } + }, + + "footer": { + "rights": "©2024 Direitos reservados a LK Results" } } diff --git a/src/Components/Footer/Footer.tsx b/src/Components/Footer/Footer.tsx index af25446..0e8fa59 100644 --- a/src/Components/Footer/Footer.tsx +++ b/src/Components/Footer/Footer.tsx @@ -1,7 +1,10 @@ +import { useTranslation } from "react-i18next"; import { FaFacebook, FaLinkedin, FaInstagram } from "react-icons/fa"; import { FaXTwitter } from "react-icons/fa6"; const Footer = () => { + const { t } = useTranslation(); + return ( );