diff --git a/Client/src/App.jsx b/Client/src/App.jsx index 4b9bc086a..0584ebf26 100644 --- a/Client/src/App.jsx +++ b/Client/src/App.jsx @@ -13,6 +13,7 @@ import Integrations from "./Pages/Integrations"; import Settings from "./Pages/Settings"; import ForgotPassword from "./Pages/ForgotPassword"; import CheckEmail from "./Pages/CheckEmail"; +import SetNewPassword from "./Pages/SetNewPassword"; function App() { return ( @@ -32,6 +33,7 @@ function App() { } /> } /> } /> + } /> ); diff --git a/Client/src/Components/DashboardProgressBars/index.jsx b/Client/src/Components/DashboardProgressBars/index.jsx index 8215a0d17..4b81c9d1a 100644 --- a/Client/src/Components/DashboardProgressBars/index.jsx +++ b/Client/src/Components/DashboardProgressBars/index.jsx @@ -1,4 +1,4 @@ -import { BarChart } from '@mui/x-charts/BarChart'; +import { BarChart } from "@mui/x-charts/BarChart"; const ChartsOverviewDemo = () => { return ( @@ -10,7 +10,7 @@ const ChartsOverviewDemo = () => { { data: [60, 50, 15, 25] }, ]} height={290} - xAxis={[{ data: ['Q1', 'Q2', 'Q3', 'Q4'], scaleType: 'band' }]} + xAxis={[{ data: ["Q1", "Q2", "Q3", "Q4"], scaleType: "band" }]} margin={{ top: 10, bottom: 30, left: 40, right: 10 }} /> ); diff --git a/Client/src/Pages/SetNewPassword/index.css b/Client/src/Pages/SetNewPassword/index.css new file mode 100644 index 000000000..1eb504aad --- /dev/null +++ b/Client/src/Pages/SetNewPassword/index.css @@ -0,0 +1,83 @@ +:root { + --set-new-password-page-width-1: 100vw; + --set-new-password-page-height-1: 100vh; + + --set-new-password-form-width-1: 360px; + --set-new-password-form-height-1: 526px; + + --set-new-password-logo-width-1: 20px; + --set-new-password-font-size-medium: 13px; + + --set-new-password-color-1: #101828; + --set-new-password-color-2: #1570ef; + --set-new-password-color-3: #475467; +} + +.set-new-password-page { + width: var(--set-new-password-page-width-1); + display: flex; + justify-content: center; + min-height: var(--set-new-password-page-height-1); +} + +.set-new-password-form { + width: var(--set-new-password-form-width-1); + min-height: var(--set-new-password-form-height-1); + margin: 90px auto; +} + +.set-new-password-form-header { + justify-content: center; + align-items: center; + text-align: center; +} + +.set-new-password-form-gap-large { + height: 32px; +} + +.set-new-password-form-gap-medium { + height: 24px; +} + +.set-new-password-form-gap-small-medium { + height: 20px; +} + +.set-new-password-form-gap-small { + height: 12px; +} + +.set-new-password-form-heading { + font-size: 16px; + color: #101828; + font-weight: 700; +} + +.set-new-password-form-subheading { + font-size: 13px; + color: var(--set-new-password-color-3); + font-weight: 600; +} + +.set-new-password-back-button { + display: flex; + justify-content: center; + align-items: center; + cursor: pointer; +} + +.set-new-password-back-button-img { + width: 20px; + height: 20px; + margin-right: 5px; + align-items: center; +} + +.set-new-password-back-button-text { + height: 20px; + font-size: 13px; + color: var(--set-new-password-color-3); + font-weight: 600; + align-items: center; +} diff --git a/Client/src/Pages/SetNewPassword/index.jsx b/Client/src/Pages/SetNewPassword/index.jsx new file mode 100644 index 000000000..5f718f666 --- /dev/null +++ b/Client/src/Pages/SetNewPassword/index.jsx @@ -0,0 +1,77 @@ +import BackgroundPattern from "../../Components/BackgroundPattern/BackgroundPattern"; +import "./index.css"; +import React from "react"; +import LockIcon from "../../assets/Images/lock-icon.png"; +import PasswordTextField from "../../Components/TextFields/Password/PasswordTextField"; +import Check from "../../Components/Check/Check"; +import Button from "../../Components/Button"; +import LeftArrow from "../../assets/Images/arrow-left.png"; + +const SetNewPassword = () => { + return ( +
+ +
+
+ LockIcon +
+
Set new password
+
+
+ Your new password must be different to previously used passwords. +
+
+
+
+ +
+ +
+
+ +
+ +
+
+
+
+
+ LeftArrow +
+ Back to log in +
+
+
+
+ ); +}; + +export default SetNewPassword; diff --git a/Client/src/assets/Images/lock-icon.png b/Client/src/assets/Images/lock-icon.png new file mode 100644 index 000000000..163adad87 Binary files /dev/null and b/Client/src/assets/Images/lock-icon.png differ