From cc8de17aab4d1d587a826f9b188b1ceb17a27826 Mon Sep 17 00:00:00 2001 From: Rickson Yang Date: Sun, 27 Mar 2022 17:06:06 -0400 Subject: [PATCH] Add reset password page component --- .../src/components/auth/ResetPassword.tsx | 37 ++++++++++--------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/frontend/src/components/auth/ResetPassword.tsx b/frontend/src/components/auth/ResetPassword.tsx index c5af7011..c0301a12 100644 --- a/frontend/src/components/auth/ResetPassword.tsx +++ b/frontend/src/components/auth/ResetPassword.tsx @@ -1,7 +1,8 @@ import React, { useState } from "react"; import { useHistory } from "react-router-dom"; import { gql, useMutation } from "@apollo/client"; -import { Text } from "@chakra-ui/react"; +import { Box, Button, Image, Input, Text, VStack } from "@chakra-ui/react"; +import Sistering_Logo from "../../assets/Sistering_Logo.svg"; import { DONE_RESET_PASSWORD_PAGE } from "../../constants/Routes"; @@ -30,27 +31,29 @@ const ResetPassword = (): React.ReactElement => { }; return ( -
+ + Sistering logo Reset Password -
- + Enter the email address associated with your account to reset your + password. You may need to check your spam folder. + + + setEmail(event.target.value)} - placeholder="username@domain.com" - style={{ border: "1px solid" }} + placeholder="Email" + w={400} + bg="gray.50" /> -
-
- -
-
+ + + + + ); };