From cf425abdb17048bd38a483875e83ef726eb2e457 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jimena=20Hern=C3=A1ndez?= Date: Wed, 15 Nov 2023 12:56:48 -0600 Subject: [PATCH] general signup --- uniEmpleos/src/locales/en/translation.json | 4 ++++ uniEmpleos/src/locales/es/translation.json | 4 ++++ uniEmpleos/src/pages/SignUp/SignUp.jsx | 6 ++++-- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/uniEmpleos/src/locales/en/translation.json b/uniEmpleos/src/locales/en/translation.json index 29ac295e..5b1a3525 100644 --- a/uniEmpleos/src/locales/en/translation.json +++ b/uniEmpleos/src/locales/en/translation.json @@ -71,5 +71,9 @@ "phone": "Phone", "details": "Details", "register": "Register" + }, + "signUp":{ + "student": "Searching for a job", + "enterprise": "Offering a job" } } diff --git a/uniEmpleos/src/locales/es/translation.json b/uniEmpleos/src/locales/es/translation.json index 50d80fd3..ec330497 100644 --- a/uniEmpleos/src/locales/es/translation.json +++ b/uniEmpleos/src/locales/es/translation.json @@ -71,6 +71,10 @@ "phone": "Teléfono", "details": "Detalles", "register": "Registrarse" + }, + "signUp":{ + "student": "Buscando empleo", + "enterprise": "Soy reclutador" } } diff --git a/uniEmpleos/src/pages/SignUp/SignUp.jsx b/uniEmpleos/src/pages/SignUp/SignUp.jsx index 3b861c76..6aec46a3 100644 --- a/uniEmpleos/src/pages/SignUp/SignUp.jsx +++ b/uniEmpleos/src/pages/SignUp/SignUp.jsx @@ -3,8 +3,10 @@ import ButtonImage from "../../components/ButtonImage/ButtonImage" import styles from "./SignUp.module.css" import Logo from "../../components/Logo/Logo" import { navigate } from "../../store" +import { useTranslation } from "react-i18next" const LogIn = () => { + const { t } = useTranslation() const handleCorpClick = () => { navigate("/signupempresa") } @@ -20,14 +22,14 @@ const LogIn = () => {