diff --git a/Client/index.html b/Client/index.html
index 2b6c6b546..c2198aa5a 100644
--- a/Client/index.html
+++ b/Client/index.html
@@ -1,16 +1,14 @@
-
+
+
+
+
+
+ BlueWave Uptime
+
-
-
-
-
- BlueWave Uptime
-
-
-
-
-
-
-
+
+
+
+
diff --git a/Client/public/bluewave_favicon.ico b/Client/public/bluewave_favicon.ico
new file mode 100644
index 000000000..487946975
Binary files /dev/null and b/Client/public/bluewave_favicon.ico differ
diff --git a/Client/public/vite.svg b/Client/public/vite.svg
deleted file mode 100644
index e7b8dfb1b..000000000
--- a/Client/public/vite.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/Client/src/Layouts/HomeLayout/index.css b/Client/src/Layouts/HomeLayout/index.css
index d30ed9462..59b1adc4d 100644
--- a/Client/src/Layouts/HomeLayout/index.css
+++ b/Client/src/Layouts/HomeLayout/index.css
@@ -1,6 +1,3 @@
-.home-layout * {
- box-sizing: border-box;
-}
.home-layout {
display: grid;
position: relative;
diff --git a/Client/src/Pages/Auth/Login.jsx b/Client/src/Pages/Auth/Login.jsx
index d40cb078b..42e7feb1a 100644
--- a/Client/src/Pages/Auth/Login.jsx
+++ b/Client/src/Pages/Auth/Login.jsx
@@ -1,18 +1,25 @@
import { useState, useEffect } from "react";
import { useNavigate } from "react-router-dom";
-
-import "./index.css";
-import Logomark from "../../assets/Images/bwl-logo-2.svg?react";
-import Button from "../../Components/Button";
-import background from "../../assets/Images/background_pattern_decorative.png";
-import axiosInstance from "../../Utils/axiosConfig";
+import {
+ Box,
+ Divider,
+ FormControlLabel,
+ Stack,
+ Typography,
+} from "@mui/material";
+import { useTheme } from "@emotion/react";
import { credentials } from "../../Validation/validation";
import { login } from "../../Features/Auth/authSlice";
import { useDispatch } from "react-redux";
import { createToast } from "../../Utils/toastUtils";
+import Button from "../../Components/Button";
+import axiosInstance from "../../Utils/axiosConfig";
import Field from "../../Components/Inputs/Field";
-import { Checkbox, FormControlLabel, Stack, Typography } from "@mui/material";
-import { useTheme } from "@emotion/react";
+import background from "../../assets/Images/background_pattern_decorative.png";
+import Logo from "../../assets/icons/bwu-icon.svg?react";
+import Mail from "../../assets/icons/mail.svg?react";
+
+import "./index.css";
const Login = () => {
const dispatch = useDispatch();
@@ -105,19 +112,106 @@ const Login = () => {
});
};
+ const [step, setStep] = useState(0);
+ const LandingPage = () => {
+ return (
+ <>
+
+
+ Log In
+ We are pleased to see you again!
+
+
+ }
+ onClick={() => setStep(1)}
+ sx={{
+ width: "100%",
+ "& svg": {
+ mr: theme.gap.small,
+ },
+ }}
+ />
+ {/* or
+
+
+
+ By continuing, you agree to our{" "}
+ Terms of Service and{" "}
+ Privacy Policy.
+
+
+
+ >
+ );
+ };
+
return (
-
+
-
-
-
+ */}
+
);
};
diff --git a/Client/src/Pages/Auth/index.css b/Client/src/Pages/Auth/index.css
index 4f2767f54..22e9ce96b 100644
--- a/Client/src/Pages/Auth/index.css
+++ b/Client/src/Pages/Auth/index.css
@@ -2,7 +2,6 @@
/* SHARED */
/* ////// */
.register-page,
-.login-page,
.set-new-password-page,
.password-confirmed-page,
.forgot-password-page,
@@ -12,7 +11,6 @@
height: var(--env-var-height-1);
}
.register-page h1.MuiTypography-root,
-.login-page h1.MuiTypography-root,
.set-new-password-page h1.MuiTypography-root,
.password-confirmed-page h1.MuiTypography-root,
.forgot-password-page h1.MuiTypography-root,
@@ -24,8 +22,6 @@
.register-page p.MuiTypography-root,
.register-page span,
.register-page button,
-.login-page p.MuiTypography-root,
-.login-page span,
.login-page button,
.set-new-password-page p.MuiTypography-root,
.set-new-password-page button,
@@ -38,13 +34,11 @@
.check-email-page span.MuiTypography-root {
font-size: var(--env-var-font-size-medium);
}
-.register-page p.MuiTypography-root,
-.login-page p.MuiTypography-root {
+.register-page p.MuiTypography-root {
color: var(--env-var-color-2);
opacity: 0.8;
}
.register-page button:not(.MuiIconButton-root),
-.login-page button:not(.MuiIconButton-root),
.set-new-password-page button:not(.MuiIconButton-root),
.password-confirmed-page button:not(.MuiIconButton-root),
.forgot-password-page button:not(.MuiIconButton-root),
@@ -54,12 +48,10 @@
line-height: 0;
}
-.register-page svg rect,
-.login-page svg rect {
+.register-page svg rect {
fill: none;
}
-.register-form,
-.login-form {
+.register-form {
margin-top: 95px;
}
@@ -77,7 +69,6 @@
color: var(--env-var-color-2);
}
-.login-page .MuiFormControlLabel-root .MuiButtonBase-root,
.set-new-password-page button:not(.MuiIconButton-root) svg,
.password-confirmed-page button:not(.MuiIconButton-root) svg,
.forgot-password-page button svg,
@@ -108,19 +99,6 @@
cursor: pointer;
font-weight: 600;
}
-.login-page .MuiFormControlLabel-root {
- margin: 0;
-}
-.login-page .MuiFormControlLabel-root span:not(.Mui-checked) svg {
- fill: var(--env-var-color-4);
-}
-.login-page .MuiFormControlLabel-root svg {
- margin-bottom: 1px;
-}
-.login-page .MuiFormControlLabel-root .MuiTypography-root {
- color: var(--env-var-color-5);
- user-select: none;
-}
/* /////////// */
/* Check Email */
@@ -128,3 +106,57 @@
.check-email-page span.MuiTypography-root {
font-weight: 600;
}
+
+.login-page {
+ height: 100vh;
+}
+.login-page h1 {
+ font-size: 37px;
+ font-weight: 600;
+ color: var(--env-var-color-3);
+}
+
+.login-page p {
+ font-size: var(--env-var-font-size-large);
+ color: var(--env-var-color-2-light);
+}
+.login-page .tos-p {
+ font-size: var(--env-var-font-size-medium-plus);
+}
+.login-page span {
+ font-size: inherit;
+}
+.login-page p + span {
+ color: var(--env-var-color-3);
+ opacity: 0.8;
+ cursor: pointer;
+ transition: opacity 300ms ease-in;
+}
+.login-page p > span {
+ text-decoration: underline;
+ text-underline-offset: 2px;
+ cursor: pointer;
+ transition: all 200ms;
+}
+.login-page p > span:hover {
+ color: var(--env-var-color-2);
+ text-underline-offset: 4px;
+}
+.login-page p + span:hover {
+ opacity: 1;
+}
+.login-page button:not(.MuiIconButton-root) {
+ font-size: var(--env-var-font-size-medium-plus);
+ height: 40px;
+ border-radius: var(--env-var-radius-2);
+}
+
+.login-page > .MuiStack-root:nth-of-type(1) {
+ height: var(--env-var-nav-bar-height);
+}
+
+.login-page .background-pattern-svg {
+ top: 14%;
+ width: 100%;
+ max-width: 800px;
+}
diff --git a/Client/src/Utils/Theme.js b/Client/src/Utils/Theme.js
index 72250bebb..c065798d2 100644
--- a/Client/src/Utils/Theme.js
+++ b/Client/src/Utils/Theme.js
@@ -98,6 +98,7 @@ const theme = createTheme({
large: "24px",
xl: "40px",
xxl: "60px",
+ triplexl: "120px"
},
alert: {
info: {
diff --git a/Client/src/assets/icons/bwu-icon.svg b/Client/src/assets/icons/bwu-icon.svg
new file mode 100644
index 000000000..80ab50ad9
--- /dev/null
+++ b/Client/src/assets/icons/bwu-icon.svg
@@ -0,0 +1,4 @@
+
diff --git a/Client/src/assets/icons/mail.svg b/Client/src/assets/icons/mail.svg
new file mode 100644
index 000000000..75c22b111
--- /dev/null
+++ b/Client/src/assets/icons/mail.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/Client/src/index.css b/Client/src/index.css
index 8dc4222f5..0b3b7a9c7 100644
--- a/Client/src/index.css
+++ b/Client/src/index.css
@@ -1,5 +1,9 @@
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
+* {
+ box-sizing: border-box;
+}
+
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
font-weight: 400;
@@ -19,6 +23,7 @@
--env-var-color-1: #101828;
--env-var-color-2: #475467;
+ --env-var-color-2-light: #838c99;
--env-var-color-3: #1570ef;
--env-var-color-4: #d0d5dd;