mirror of
https://github.com/rjNemo/devbook_ts
synced 2026-06-12 13:36:43 +00:00
create Sign Up page component
This commit is contained in:
parent
fabaf35562
commit
8969dd5ff2
1 changed files with 33 additions and 0 deletions
33
src/pages/SignUp.tsx
Normal file
33
src/pages/SignUp.tsx
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
import React, {FC} from 'react';
|
||||||
|
|
||||||
|
const SignUp: FC = () => (
|
||||||
|
<section className="container">
|
||||||
|
<h1 className="large text-primary">Sign Up</h1>
|
||||||
|
<p className="lead">
|
||||||
|
<i className="fa fa-user"></i> Create your account
|
||||||
|
</p>
|
||||||
|
<form action="dashboard.html" className="form">
|
||||||
|
<div className="form-group">
|
||||||
|
<input type="text" placeholder="Name" required />
|
||||||
|
</div>
|
||||||
|
<div className="form-group">
|
||||||
|
<input type="email" placeholder="Email Address" />
|
||||||
|
<small className="form-text">
|
||||||
|
This site uses Gravatar, so use a Gravatar email.
|
||||||
|
</small>
|
||||||
|
</div>
|
||||||
|
<div className="form-group">
|
||||||
|
<input type="password" placeholder="Password" minLength={6} />
|
||||||
|
</div>
|
||||||
|
<div className="form-group">
|
||||||
|
<input type="password" placeholder="Confirm Password" minLength={6} />
|
||||||
|
</div>
|
||||||
|
<input type="submit" value="Register" className="btn btn-primary" />
|
||||||
|
</form>
|
||||||
|
<p className="my-1">
|
||||||
|
Already have an account? <a href="login.html">Sign in</a>
|
||||||
|
</p>
|
||||||
|
</section>
|
||||||
|
);
|
||||||
|
|
||||||
|
export default SignUp;
|
||||||
Loading…
Reference in a new issue