Skip to content

Commit

Permalink
UI Done for Forgot Password Screen
Browse files Browse the repository at this point in the history
  • Loading branch information
rishav-jha-mech committed Oct 27, 2023
1 parent 23d2317 commit dde8409
Show file tree
Hide file tree
Showing 9 changed files with 195 additions and 137 deletions.
2 changes: 1 addition & 1 deletion public/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@
"enterNewPassword": "Enter New Password",
"cofirmNewPassword": "Confirm New Password",
"changePassword": "Change Password",
"backToHome": "Back to Home",
"backToLogin": "Back to Login",
"userOtp": "e.g. 12345",
"password": "Password",
"emailNotRegistered": "Email is not registered.",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@
"enterNewPassword": "Entrez un nouveau mot de passe",
"cofirmNewPassword": "Confirmer le nouveau mot de passe",
"changePassword": "Changer le mot de passe",
"backToHome": "De retour à la maison",
"backToLogin": "Retour à la connexion",
"userOtp": "par exemple. 12345",
"password": "Mot de passe",
"emailNotRegistered": "L'e-mail n'est pas enregistré.",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@
"enterNewPassword": "नया पासवर्ड दर्ज करें",
"cofirmNewPassword": "नए पासवर्ड की पुष्टि करें",
"changePassword": "पासवर्ड बदलें",
"backToHome": "घर वापिस जा रहा हूँ",
"backToLogin": "लॉगिन पर वापस जाएं",
"userOtp": "उदाहरण के लिए 12345",
"password": "पासवर्ड",
"emailNotRegistered": "ईमेल पंजीकृत नहीं है।",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/sp.json
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@
"enterNewPassword": "Ingrese nueva clave",
"cofirmNewPassword": "Confirmar nueva contraseña",
"changePassword": "Cambia la contraseña",
"backToHome": "De vuelta a casa",
"backToLogin": "Volver al inicio de sesión",
"userOtp": "por ejemplo 12345",
"password": "Contraseña",
"emailNotRegistered": "El correo electrónico no está registrado.",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@
"enterNewPassword": "輸入新密碼",
"cofirmNewPassword": "確認新密碼",
"changePassword": "更改密碼",
"backToHome": "回到家",
"backToLogin": "回到登錄",
"userOtp": "舉個例子。 12345",
"password": "密碼",
"emailNotRegistered": "電子郵件未註冊。",
Expand Down
4 changes: 4 additions & 0 deletions src/assets/svgs/key.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
72 changes: 65 additions & 7 deletions src/screens/ForgotPassword/ForgotPassword.module.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,72 @@
.containerWrapper {
.pageWrapper {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
}

.cardBody {
padding: 2rem;
background-color: #fff;
border-radius: 0.8rem;
border: 1px solid var(--bs-gray-200);
}

.keyWrapper {
height: 72px;
width: 72px;
transform: rotate(180deg);
position: relative;
overflow: hidden;
display: block;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
border-radius: 50%;
margin: 1rem auto;
}

.containerWrapper .resetForm {
.keyWrapper .themeOverlay {
position: absolute;
background-color: var(--bs-primary);
height: 100%;
width: 100%;
max-width: 700px;
padding: 20px;
border: 1px solid #ccc;
border-radius: 5px;
opacity: 0.15;
}

.keyWrapper .keyLogo {
height: 42px;
width: 42px;
-webkit-animation: zoomIn 0.3s ease-in-out;
animation: zoomIn 0.3s ease-in-out;
}


@-webkit-keyframes zoomIn {
0% {
opacity: 0;
-webkit-transform: scale(0.5);
transform: scale(0.5);
}

100% {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
}

@keyframes zoomIn {
0% {
opacity: 0;
-webkit-transform: scale(0.5);
transform: scale(0.5);
}

100% {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
}
Loading

0 comments on commit dde8409

Please sign in to comment.