Skip to content

Commit

Permalink
fix: remove forget password
Browse files Browse the repository at this point in the history
  • Loading branch information
seelengxd committed Sep 30, 2023
1 parent 18da37f commit 9cd8318
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
10 changes: 5 additions & 5 deletions frontend/src/pages/auth/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
Stack,
Text,
useToast,
Link as ChakraLink,
} from '@chakra-ui/react';
import { Link, useNavigate } from 'react-router-dom';
import { FaCode } from 'react-icons/fa';
Expand Down Expand Up @@ -83,12 +84,11 @@ const LoginForm: React.FC = () => {
<Button type="submit" colorScheme="teal" width={'100%'}>
Log In
</Button>
<Flex justifyContent={'space-between'} width={'100%'}>
<Flex justifyContent={'center'} width={'100%'}>
<Text>
<Link to="/">Forgot Password?</Link>
</Text>
<Text>
<Link to="/signup">Sign Up</Link>
<ChakraLink as={Link} color="teal.500" to="/signup">
Don&apos;t have an account? Sign Up!
</ChakraLink>
</Text>
</Flex>
</Stack>
Expand Down
5 changes: 4 additions & 1 deletion frontend/src/pages/auth/SignUpForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
Stack,
Text,
useToast,
Link as ChakraLink,
} from '@chakra-ui/react';
import { Link, useNavigate } from 'react-router-dom';
import { FaCode } from 'react-icons/fa';
Expand Down Expand Up @@ -106,7 +107,9 @@ const SignUpForm: React.FC = () => {
</Button>
<Flex justifyContent={'center'} width={'100%'}>
<Text>
<Link to="/">Have an account? Log in</Link>
<ChakraLink as={Link} color="teal.500" to="/login">
Have an account? Log in!
</ChakraLink>
</Text>
</Flex>
</Stack>
Expand Down

0 comments on commit 9cd8318

Please sign in to comment.