feat: added theme switch and forgot password label in login page
This commit is contained in:
1 parent
3f7d3efe2b
commit
b5a125b388
1 file changed
+10
@@ -13,6 +13,8 @@ import { logger } from "../../../Utils/Logger";
|
|||||||
import "../index.css";
|
import "../index.css";
|
||||||
import EmailStep from "./Components/EmailStep";
|
import EmailStep from "./Components/EmailStep";
|
||||||
import PasswordStep from "./Components/PasswordStep";
|
import PasswordStep from "./Components/PasswordStep";
|
||||||
|
import ThemeSwitch from "../../../Components/ThemeSwitch";
|
||||||
|
import ForgotPasswordLabel from "./Components/ForgotPasswordLabel";
|
||||||
|
|
||||||
const DEMO = import.meta.env.VITE_APP_DEMO;
|
const DEMO = import.meta.env.VITE_APP_DEMO;
|
||||||
|
|
||||||
@@ -174,6 +176,7 @@ const Login = () => {
|
|||||||
px={{ xs: theme.spacing(12), lg: theme.spacing(20) }}
|
px={{ xs: theme.spacing(12), lg: theme.spacing(20) }}
|
||||||
pb={theme.spacing(20)}
|
pb={theme.spacing(20)}
|
||||||
mx="auto"
|
mx="auto"
|
||||||
|
rowGap={theme.spacing(8)}
|
||||||
sx={{
|
sx={{
|
||||||
"& > .MuiStack-root": {
|
"& > .MuiStack-root": {
|
||||||
border: 1,
|
border: 1,
|
||||||
@@ -205,6 +208,13 @@ const Login = () => {
|
|||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
)}
|
)}
|
||||||
|
<ForgotPasswordLabel
|
||||||
|
email={form.email}
|
||||||
|
errorEmail={errors.email}
|
||||||
|
/>
|
||||||
|
<Box marginX={"auto"}>
|
||||||
|
<ThemeSwitch />
|
||||||
|
</Box>
|
||||||
</Stack>
|
</Stack>
|
||||||
</Stack>
|
</Stack>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user