Merge pull request #1905 from Br0wnHammer/fix/fe/login-register-ui

Fix: Login/Register UI Screens
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-03-13 07:09:37 -07:00
commit b92a46c27d
3 files changed
+12 -10

No files matched your search

+1 -1
View File
@@ -142,7 +142,7 @@ const Login = () => {
overflow="hidden" overflow="hidden"
sx={{ sx={{
"& h1": { "& h1": {
color: theme.palette.primary.main, color: theme.palette.primary.contrastText,
fontWeight: 600, fontWeight: 600,
fontSize: 28, fontSize: 28,
}, },
+7 -7
View File
@@ -35,7 +35,7 @@ const LandingPage = ({ isSuperAdmin, onSignup }) => {
textAlign="center" textAlign="center"
> >
<Box> <Box>
<Typography component="h1">{t("signUP")}</Typography> <Typography component="h1">{t("signUp")}</Typography>
<Typography> <Typography>
{isSuperAdmin {isSuperAdmin
? t("authRegisterCreateSuperAdminAccount") ? t("authRegisterCreateSuperAdminAccount")
@@ -83,9 +83,9 @@ const LandingPage = ({ isSuperAdmin, onSignup }) => {
}, },
}} }}
> >
Terms of Service {t("authRegisterTerms")}
</Typography>{" "} </Typography>{" "}
and{" "} {t("and")}{" "}
<Typography <Typography
component="span" component="span"
onClick={() => { onClick={() => {
@@ -101,7 +101,7 @@ const LandingPage = ({ isSuperAdmin, onSignup }) => {
}, },
}} }}
> >
Privacy Policy. {t("authRegisterPrivacy")}
</Typography> </Typography>
</Typography> </Typography>
</Box> </Box>
@@ -283,7 +283,7 @@ const Register = ({ isSuperAdmin }) => {
overflow="hidden" overflow="hidden"
sx={{ sx={{
"& h1": { "& h1": {
color: theme.palette.primary.main, color: theme.palette.primary.contrastText,
fontWeight: 600, fontWeight: 600,
fontSize: 28, fontSize: 28,
}, },
@@ -370,7 +370,7 @@ const Register = ({ isSuperAdmin }) => {
p={theme.spacing(12)} p={theme.spacing(12)}
> >
<Typography display="inline-block"> <Typography display="inline-block">
{t("authRegisterAlreadyHaveAccount")} - {t("authRegisterAlreadyHaveAccount")}
</Typography> </Typography>
<Typography <Typography
component="span" component="span"
@@ -378,7 +378,7 @@ const Register = ({ isSuperAdmin }) => {
onClick={() => { onClick={() => {
navigate("/login"); navigate("/login");
}} }}
sx={{ userSelect: "none", color: theme.palette.primary.main }} sx={{ userSelect: "none", color: theme.palette.accent.main }}
> >
{t("authLoginTitle")} {t("authLoginTitle")}
</Typography> </Typography>
+4 -2
View File
@@ -1,5 +1,6 @@
{ {
"dontHaveAccount": "Don't have account", "dontHaveAccount": "Don't have account",
"and": "and",
"https": "HTTPS", "https": "HTTPS",
"http": "HTTP", "http": "HTTP",
"add": "Add", "add": "Add",
@@ -9,8 +10,7 @@
"email": "E-mail", "email": "E-mail",
"forgotPassword": "Forgot Password", "forgotPassword": "Forgot Password",
"password": "password", "password": "password",
"signUp": "Sign up", "signUp": "Sign Up",
"signUP": "Sign Up",
"submit": "Submit", "submit": "Submit",
"title": "Title", "title": "Title",
"continue": "Continue", "continue": "Continue",
@@ -40,6 +40,8 @@
"commonAppName": "Checkmate", "commonAppName": "Checkmate",
"authLoginEnterEmail": "Enter your email", "authLoginEnterEmail": "Enter your email",
"authRegisterTitle": "Create an account", "authRegisterTitle": "Create an account",
"authRegisterTerms": "Terms of Service",
"authRegisterPrivacy": "Privacy Policy.",
"authRegisterStepOneTitle": "Create your account", "authRegisterStepOneTitle": "Create your account",
"authRegisterStepOnePersonalDetails": "Enter your personal details", "authRegisterStepOnePersonalDetails": "Enter your personal details",
"authRegisterStepOneDescription": "Enter your details to get started", "authRegisterStepOneDescription": "Enter your details to get started",