Created
August 8, 2022 11:16
-
-
Save zinedkaloc/d8d960cd1e90824cd6cdfb22499f1b10 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Link } from 'react-router-dom'; | |
export function Login() { | |
return ( | |
// Create login form with email, password, and submit button | |
<div style={{ margin: '20px 20px' }}> | |
<h1>Login</h1> | |
<form> | |
<label>Email:</label> | |
<input type="text" name="email" /> | |
<label>Password:</label> | |
<input type="password" name="password" /> | |
<input type="submit" value="Signup" /> | |
</form> | |
<p> | |
{' '} | |
Don't you have an account? <Link to="/signup">Signup</Link> | |
</p> | |
</div> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment