diff --git a/client/src/Pages/Auth/Login/Components/EmailStep.jsx b/client/src/Pages/Auth/Login/Components/EmailStep.jsx
index ec5a4b2db..d50212e85 100644
--- a/client/src/Pages/Auth/Login/Components/EmailStep.jsx
+++ b/client/src/Pages/Auth/Login/Components/EmailStep.jsx
@@ -70,8 +70,17 @@ const EmailStep = ({ form, errors, onSubmit, onChange }) => {
color="accent"
type="submit"
disabled={errors.email && true}
+ className="dashboard-style-button"
sx={{
width: "30%",
+ px: theme.spacing(6),
+ borderRadius: `${theme.shape.borderRadius}px !important`,
+ '&.MuiButtonBase-root': {
+ borderRadius: `${theme.shape.borderRadius}px !important`
+ },
+ '&.MuiButton-root': {
+ borderRadius: `${theme.shape.borderRadius}px !important`
+ },
"&.Mui-focusVisible": {
outline: `2px solid ${theme.palette.primary.main}`,
outlineOffset: `2px`,
diff --git a/client/src/Pages/Auth/Login/Components/PasswordStep.jsx b/client/src/Pages/Auth/Login/Components/PasswordStep.jsx
index 0b8142161..a57246e23 100644
--- a/client/src/Pages/Auth/Login/Components/PasswordStep.jsx
+++ b/client/src/Pages/Auth/Login/Components/PasswordStep.jsx
@@ -75,8 +75,16 @@ const PasswordStep = ({ form, errors, onSubmit, onChange, onBack }) => {
variant="outlined"
color="info"
onClick={onBack}
+ className="dashboard-style-button"
sx={{
px: theme.spacing(5),
+ borderRadius: `${theme.shape.borderRadius}px !important`,
+ '&.MuiButtonBase-root': {
+ borderRadius: `${theme.shape.borderRadius}px !important`
+ },
+ '&.MuiButton-root': {
+ borderRadius: `${theme.shape.borderRadius}px !important`
+ },
"& svg.MuiSvgIcon-root": {
mr: theme.spacing(3),
},
@@ -95,13 +103,22 @@ const PasswordStep = ({ form, errors, onSubmit, onChange, onBack }) => {
type="submit"
loading={authState.isLoading}
disabled={errors.password && true}
+ className="dashboard-style-button"
sx={{
width: "30%",
+ px: theme.spacing(4),
+ borderRadius: `${theme.shape.borderRadius}px !important`,
+ '&.MuiButtonBase-root': {
+ borderRadius: `${theme.shape.borderRadius}px !important`
+ },
+ '&.MuiButton-root': {
+ borderRadius: `${theme.shape.borderRadius}px !important`
+ },
"&.Mui-focusVisible": {
outline: `2px solid ${theme.palette.primary.main}`,
outlineOffset: `2px`,
- boxShadow: `none`,
},
+ boxShadow: `none`,
}}
>
{t("continue")}
diff --git a/client/src/Pages/Auth/Login/Login.jsx b/client/src/Pages/Auth/Login/Login.jsx
index a5eec8898..bbf14be8b 100644
--- a/client/src/Pages/Auth/Login/Login.jsx
+++ b/client/src/Pages/Auth/Login/Login.jsx
@@ -1,6 +1,7 @@
import { useState, useEffect, useCallback } from "react";
import { useNavigate } from "react-router-dom";
-import { Box, Stack, Typography, Alert, Button } from "@mui/material";
+import { Box, Stack, Typography, Button } from "@mui/material";
+import Alert from "../../../Components/Alert";
import { useTheme } from "@emotion/react";
import { credentials } from "../../../Validation/validation";
import { login } from "../../../Features/Auth/authSlice";
@@ -281,39 +282,52 @@ const Login = () => {
) : !backendReachable ? (
-
- {t("backendUnreachable")}
-
-
- {t("backendUnreachableMessage")}
-
-
+ gap: theme.spacing(3)
+ }
+ }}>
+
+
+
+
+ {t("backendUnreachableMessage")}
+
+
+
+
+
) : step === 0 ? (
{
component="span"
color={theme.palette.accent.main}
ml={theme.spacing(2)}
- sx={{ userSelect: "none" }}
+ sx={{
+ cursor: 'pointer',
+ '&:hover': {
+ color: theme.palette.accent.darker
+ }
+ }}
onClick={() => navigate("/register")}
>
{t("registerHere")}