Skip to content

Commit dc0a6f6

Browse files
PandeyaPandeya
authored andcommitted
Added Sign up pages UI template
1 parent c89c2db commit dc0a6f6

File tree

1 file changed

+33
-16
lines changed

1 file changed

+33
-16
lines changed

UIcode/client/src/components/signout.js

Lines changed: 33 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,40 @@ import React, { Component } from 'react';
22
import Header from './header'
33
import {Card,Button} from 'react-bootstrap';
44
class signout extends React.Component {
5-
render(){
6-
return(
7-
<div><Header />
8-
<div className="centeralign">
9-
<Card border="light" style={{ width: '18rem' }}>
10-
11-
<Card.Body>
12-
<Card.Title>You have successfully logged out!</Card.Title>
13-
<Card.Text>
14-
15-
</Card.Text>
16-
<Button variant="primary">Login Again !</Button>
17-
</Card.Body>
18-
</Card>
19-
5+
render() {
6+
return (
7+
<div>
8+
<Header />
9+
<div className="loginBlock">
10+
<form>
11+
<h3>Sign Up</h3>
12+
13+
<div className="form-group">
14+
<label>First name</label>
15+
<input type="text" className="form-control" placeholder="First name" />
16+
</div>
17+
18+
<div className="form-group">
19+
<label>Last name</label>
20+
<input type="text" className="form-control" placeholder="Last name" />
21+
</div>
22+
23+
<div className="form-group">
24+
<label>Email address</label>
25+
<input type="email" className="form-control" placeholder="Enter email" />
26+
</div>
27+
28+
<div className="form-group">
29+
<label>Password</label>
30+
<input type="password" className="form-control" placeholder="Enter password" />
31+
</div>
32+
33+
<button type="submit" className="btn btn-primary btn-block">Sign Up</button>
34+
<p className="forgot-password text-right">
35+
Already registered <a href="/signin">sign in?</a>
36+
</p>
37+
</form>
2038
</div>
21-
2239
</div>
2340
);
2441
}

0 commit comments

Comments
 (0)