diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index 7f4c65b436..58b54b0fc1 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -301,5 +301,11 @@ "alertError": "Oops! A problem occurred, please try again.", "loading": "Sending..." } + }, + "whatsapp": { + "accountName": "CloudTech Sistemas", + "statusMessage": "Usually replies within an hour", + "chatMessage": "¡Hi there! 👋 How can we help you?", + "placeholder": "Type your message..." } } diff --git a/public/locales/es/translation.json b/public/locales/es/translation.json index 42f71dcb3a..f55da95569 100644 --- a/public/locales/es/translation.json +++ b/public/locales/es/translation.json @@ -301,5 +301,11 @@ "alertError": "¡Ups! Ocurrió un problema, intenta nuevamente.", "loading": "Enviando..." } + }, + "whatsapp": { + "accountName": "CloudTech Sistemas", + "statusMessage": "Normalmente responde en 1 hora", + "chatMessage": "¡Hola! 👋 ¿Cómo podemos ayudarte?", + "placeholder": "Escribe tu mensaje..." } } diff --git a/src/front/components/HeaderAbout.jsx b/src/front/components/HeaderAbout.jsx index 9b9702557e..6334bd9bdd 100644 --- a/src/front/components/HeaderAbout.jsx +++ b/src/front/components/HeaderAbout.jsx @@ -14,11 +14,11 @@ export const HeaderAbout = () => {

- Lorem, ipsum
dolor sit amet. + {t('about.sectionTitle')}

- Lorem ipsum dolor sit amet consectetur, adipisicing elit. Eveniet dolorum iste enim consequatur corporis ipsa tenetur modi sunt ullam placeat. + {t('about.sectionDescription')}

diff --git a/src/front/components/HeaderContact.jsx b/src/front/components/HeaderContact.jsx index fe6e5b22b0..1a8839fc15 100644 --- a/src/front/components/HeaderContact.jsx +++ b/src/front/components/HeaderContact.jsx @@ -60,15 +60,15 @@ const HeaderContact = () => { }; return ( -
+
CloudTech background image + className="z-n1 mx-auto position-absolute mt-5 w-100 h-100 object-fit-cover d-sm-block" /> -
+
-
+

{t('contact.sectionTitle')} diff --git a/src/front/components/WhatsappButton.jsx b/src/front/components/WhatsappButton.jsx index c348ca84e7..2d52b8bf6f 100644 --- a/src/front/components/WhatsappButton.jsx +++ b/src/front/components/WhatsappButton.jsx @@ -1,18 +1,22 @@ import React from "react"; import LogoWhats from "../assets/img/LogoWhats.svg" import { FloatingWhatsApp } from "react-floating-whatsapp"; +import { useTranslation } from "react-i18next"; export default function WhatsappButton() { + const { t } = useTranslation(); return ( ); }; \ No newline at end of file