diff --git a/public/backgroundCurvyLines.png b/public/backgroundCurvyLines.png new file mode 100644 index 0000000..9572f23 Binary files /dev/null and b/public/backgroundCurvyLines.png differ diff --git a/src/components/ForgotPassword.tsx b/src/components/ForgotPassword.tsx index 124abed..868937b 100644 --- a/src/components/ForgotPassword.tsx +++ b/src/components/ForgotPassword.tsx @@ -5,6 +5,7 @@ import { useNavigate } from "react-router-dom"; import { yupResolver } from "@hookform/resolvers/yup"; import * as yup from "yup"; import { useForm } from "react-hook-form"; +import Typography from "@theme/modules/components/Typography"; type Inputs = { email: string; @@ -48,7 +49,7 @@ export default function ForgotPassword() { } function onSubmit(data: Inputs) { - console.log("There will be an API call now with the following data"); + console.warn("There will be an API call now with the following data"); console.table(data); console.log( "You can now go to http://localhost:8080/reset to acces the reset form" @@ -59,11 +60,11 @@ export default function ForgotPassword() {
-

Forgot Passowrd

-

+ Forgot Password + If you have forgot your password, we can send you an email with a link to reset it. -

+
-

+ Forgot your password? -

+
diff --git a/src/components/Reset.tsx b/src/components/Reset.tsx index 70aa271..1431752 100644 --- a/src/components/Reset.tsx +++ b/src/components/Reset.tsx @@ -5,6 +5,7 @@ import { useNavigate } from "react-router-dom"; import { yupResolver } from "@hookform/resolvers/yup"; import * as yup from "yup"; import { useForm } from "react-hook-form"; +import Typography from "@theme/modules/components/Typography"; type Inputs = { password: string; @@ -43,6 +44,7 @@ export default function Reset() { inputRef: passRef, className: "textField", name: "password", + type: "password", id: "password", label: "Password", error: !!errors.password, @@ -58,13 +60,14 @@ export default function Reset() { className: "textField", name: "confirm_password", id: "confirm_password", + type: "password", label: "Confirm Password", error: !!errors.confirm_password, helperText: errors?.confirm_password?.message, }; function onSubmit(data: Inputs) { - console.log("There will be an API call now with the following data"); + console.warn("There will be an API call now with the following data"); data = { password: hash(data.password), confirm_password: hash(data.confirm_password), @@ -76,7 +79,7 @@ export default function Reset() {
-

Reset Password

+ Reset Password