From a1bef124c60e4130e6196480449d8bcb43fdcdf4 Mon Sep 17 00:00:00 2001 From: MuhammadKhalilzadeh Date: Thu, 30 May 2024 11:08:50 +0330 Subject: [PATCH] New password confirmed (Password reset) page completed --- Client/src/App.jsx | 5 ++ .../src/Pages/NewPasswordConfirmed/index.css | 73 ++++++++++++++++++ .../src/Pages/NewPasswordConfirmed/index.jsx | 56 ++++++++++++++ Client/src/assets/Images/success-icon.png | Bin 0 -> 1851 bytes 4 files changed, 134 insertions(+) create mode 100644 Client/src/Pages/NewPasswordConfirmed/index.css create mode 100644 Client/src/Pages/NewPasswordConfirmed/index.jsx create mode 100644 Client/src/assets/Images/success-icon.png diff --git a/Client/src/App.jsx b/Client/src/App.jsx index 0584ebf26..6f64d45da 100644 --- a/Client/src/App.jsx +++ b/Client/src/App.jsx @@ -14,6 +14,7 @@ import Settings from "./Pages/Settings"; import ForgotPassword from "./Pages/ForgotPassword"; import CheckEmail from "./Pages/CheckEmail"; import SetNewPassword from "./Pages/SetNewPassword"; +import NewPasswordConfirmed from "./Pages/NewPasswordConfirmed"; function App() { return ( @@ -34,6 +35,10 @@ function App() { } /> } /> } /> + } + /> ); diff --git a/Client/src/Pages/NewPasswordConfirmed/index.css b/Client/src/Pages/NewPasswordConfirmed/index.css new file mode 100644 index 000000000..15d9ee30e --- /dev/null +++ b/Client/src/Pages/NewPasswordConfirmed/index.css @@ -0,0 +1,73 @@ +:root { + --password-confirmed-color-1: #101828; + --password-confirmed-color-2: #1570ef; + --password-confirmed-color-3: #475467; +} + +.password-confirmed-page { + width: 100vw; + display: flex; + justify-content: center; + min-height: 100vh; +} + +.password-confirmed-form { + width: 360px; + margin: 90px auto; +} + +.password-confirmed-form-header { + justify-content: center; + align-items: center; + text-align: center; +} + +.password-confirmed-v-gap-large { + height: 32px; +} + +.password-confirmed-v-gap-medium { + height: 24px; +} + +.password-confirmed-v-gap-small { + height: 12px; +} + +.password-confirmed-form-heading { + font-size: 16px; + font-weight: 700; + color: var(--password-confirmed-color-1); +} + +.password-confirmed-form-subheading { + font-size: 13px; + font-weight: 600; + color: var(--password-confirmed-color-3); +} + +.password-confirmed-body { + width: 360px; +} + +.password-confirmed-back-button { + display: flex; + justify-content: center; + align-items: center; + cursor: pointer; +} + +.password-confirmed-back-button-img { + width: 20px; + height: 20px; + margin-right: 5px; + align-items: center; +} + +.password-confirmed-back-button-text { + height: 20px; + font-size: 13px; + font-weight: 600; + color: var(--password-confirmed-color-3); + text-align: center; +} diff --git a/Client/src/Pages/NewPasswordConfirmed/index.jsx b/Client/src/Pages/NewPasswordConfirmed/index.jsx new file mode 100644 index 000000000..1bbfc06ad --- /dev/null +++ b/Client/src/Pages/NewPasswordConfirmed/index.jsx @@ -0,0 +1,56 @@ +import BackgroundPattern from "../../Components/BackgroundPattern/BackgroundPattern"; +import "./index.css"; +import React from "react"; +import SuccessIcon from "../../assets/Images/success-icon.png"; +import Button from "../../Components/Button"; +import LeftArrow from "../../assets/Images/arrow-left.png"; + +const NewPasswordConfirmed = () => { + return ( +
+ +
+
+ SuccessIcon +
+
Password reset
+
+
+ Your password has been successfully reset. Click below to log in + magically. +
+
+
+
+
+
+
+ LeftArrow +
+ Back to log in +
+
+
+
+ ); +}; + +export default NewPasswordConfirmed; diff --git a/Client/src/assets/Images/success-icon.png b/Client/src/assets/Images/success-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..43cdbbc2a14709f758809bcf6c8d7c525bd1c8aa GIT binary patch literal 1851 zcmV-B2gLY^P)v%9DYmqOaKx5iO&autQvZPgpg7f2&fOSy#{dJf4Ku+uLRD>&kg|ngURc- z`zMv3)CNSj-xH!V#x^#*iScoMhXdH0L4pCh2m=7dz-#*am0`fr7+#Z;la&*nIqv4x z*48D%{9qAVz6PA-42wA?j1?y*&uzc}z;*X=;2Vj9ra#Al+a|;Q8UFn!#5=*Zx83>e zU9Vi*-OH5A?gR`0>e$!q9namuzW4GRtJU3XZO1EDt8M~@4Af`pJ8^(0OO_-%tYj4w z>CG+oE*wXi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