diff --git a/src/Pages/Auth/Login/Login.jsx b/src/Pages/Auth/Login/Login.jsx index 60aaed6ba..c13218018 100644 --- a/src/Pages/Auth/Login/Login.jsx +++ b/src/Pages/Auth/Login/Login.jsx @@ -142,7 +142,7 @@ const Login = () => { overflow="hidden" sx={{ "& h1": { - color: theme.palette.primary.main, + color: theme.palette.primary.contrastText, fontWeight: 600, fontSize: 28, }, diff --git a/src/Pages/Auth/Register/Register.jsx b/src/Pages/Auth/Register/Register.jsx index 021cda18a..afb05435c 100644 --- a/src/Pages/Auth/Register/Register.jsx +++ b/src/Pages/Auth/Register/Register.jsx @@ -35,7 +35,7 @@ const LandingPage = ({ isSuperAdmin, onSignup }) => { textAlign="center" > - {t("signUP")} + {t("signUp")} {isSuperAdmin ? t("authRegisterCreateSuperAdminAccount") @@ -83,9 +83,9 @@ const LandingPage = ({ isSuperAdmin, onSignup }) => { }, }} > - Terms of Service + {t("authRegisterTerms")} {" "} - and{" "} + {t("and")}{" "} { @@ -101,7 +101,7 @@ const LandingPage = ({ isSuperAdmin, onSignup }) => { }, }} > - Privacy Policy. + {t("authRegisterPrivacy")} @@ -283,7 +283,7 @@ const Register = ({ isSuperAdmin }) => { overflow="hidden" sx={{ "& h1": { - color: theme.palette.primary.main, + color: theme.palette.primary.contrastText, fontWeight: 600, fontSize: 28, }, @@ -370,7 +370,7 @@ const Register = ({ isSuperAdmin }) => { p={theme.spacing(12)} > - {t("authRegisterAlreadyHaveAccount")} - + {t("authRegisterAlreadyHaveAccount")} { onClick={() => { navigate("/login"); }} - sx={{ userSelect: "none", color: theme.palette.primary.main }} + sx={{ userSelect: "none", color: theme.palette.accent.main }} > {t("authLoginTitle")} diff --git a/src/locales/gb.json b/src/locales/gb.json index 735e1213c..e8ba56ffc 100644 --- a/src/locales/gb.json +++ b/src/locales/gb.json @@ -1,5 +1,6 @@ { "dontHaveAccount": "Don't have account", + "and": "and", "https": "HTTPS", "http": "HTTP", "add": "Add", @@ -9,8 +10,7 @@ "email": "E-mail", "forgotPassword": "Forgot Password", "password": "password", - "signUp": "Sign up", - "signUP": "Sign Up", + "signUp": "Sign Up", "submit": "Submit", "title": "Title", "continue": "Continue", @@ -40,6 +40,8 @@ "commonAppName": "Checkmate", "authLoginEnterEmail": "Enter your email", "authRegisterTitle": "Create an account", + "authRegisterTerms": "Terms of Service", + "authRegisterPrivacy": "Privacy Policy.", "authRegisterStepOneTitle": "Create your account", "authRegisterStepOnePersonalDetails": "Enter your personal details", "authRegisterStepOneDescription": "Enter your details to get started",