Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove forget password #73

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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