Fix: Login/Register UI Screens
This commit is contained in:
1 parent
7c369e8405
commit
64d90894dc
6 files changed
+11
-9
No files matched your search
@@ -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,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ const LandingPage = ({ isSuperAdmin, onSignup }) => {
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Terms of Service
|
{t("authRegisterTerms")}
|
||||||
</Typography>{" "}
|
</Typography>{" "}
|
||||||
and{" "}
|
and{" "}
|
||||||
<Typography
|
<Typography
|
||||||
@@ -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>
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ function StepOne({ form, errors, onSubmit, onChange, onBack }) {
|
|||||||
textAlign="center"
|
textAlign="center"
|
||||||
>
|
>
|
||||||
<Box>
|
<Box>
|
||||||
<Typography component="h1">{t("signUp")}</Typography>
|
<Typography component="h1">{t("signUP")}</Typography>
|
||||||
<Typography>{t("authRegisterStepOnePersonalDetails")}</Typography>
|
<Typography>{t("authRegisterStepOnePersonalDetails")}</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ function StepThree({ onSubmit, onBack }) {
|
|||||||
textAlign="center"
|
textAlign="center"
|
||||||
>
|
>
|
||||||
<Box>
|
<Box>
|
||||||
<Typography component="h1">{t("signUp")}</Typography>
|
<Typography component="h1">{t("signUP")}</Typography>
|
||||||
<Typography>{t("createPassword")}</Typography>
|
<Typography>{t("createPassword")}</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
<Box
|
<Box
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ function StepTwo({ form, errors, onSubmit, onChange, onBack }) {
|
|||||||
textAlign="center"
|
textAlign="center"
|
||||||
>
|
>
|
||||||
<Box>
|
<Box>
|
||||||
<Typography component="h1">{t("signUp")}</Typography>
|
<Typography component="h1">{t("signUP")}</Typography>
|
||||||
<Typography>{t("enterEmail")}</Typography>
|
<Typography>{t("enterEmail")}</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
|
|||||||
@@ -38,6 +38,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",
|
||||||
|
|||||||
Reference in new issue
Block a user