Last change
on this file since 364f27d was 364f27d, checked in by MetodiMladenovski <meto.18@…>, 14 months ago |
added projects and db scripts
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | import React from "react";
|
---|
2 | import CenteredContainer from "../UtilComponents/CenteredContainer";
|
---|
3 | import '../UtilComponents/App.css'
|
---|
4 |
|
---|
5 | const register = (props) => {
|
---|
6 |
|
---|
7 | let registerDriver = (<a style={{backgroundColor: "cyan", float: "center", borderColor: "black", color:'black'}} className="myButton btn btn-primary" href="/registerDriver">REGISTER DRIVER</a>);
|
---|
8 | let registerPassenger = (<a style={{backgroundColor: "darkcyan", float: "center", borderColor: "black", color:'white'}} className="myButton btn btn-primary" href="/registerPassenger">REGISTER PASSENGER</a>);
|
---|
9 | let login = (<a style={{backgroundColor: "#dce1de", borderColor: "black", color:'black'}} className="myButton link" href="/login">here</a>)
|
---|
10 |
|
---|
11 | return (
|
---|
12 | <CenteredContainer>
|
---|
13 | <h4 style={{textAlign:'center'}}>Choose as what would you like to register:</h4>
|
---|
14 | <hr></hr>
|
---|
15 | <div className="d-grid gap-2 col-6 mx-auto">
|
---|
16 | {registerDriver}
|
---|
17 | </div>
|
---|
18 | <hr></hr>
|
---|
19 | <div className="d-grid gap-2 col-6 mx-auto">
|
---|
20 | {registerPassenger}
|
---|
21 | </div>
|
---|
22 | <hr></hr>
|
---|
23 | <hr></hr>
|
---|
24 | <p style={{textAlign: 'center'}}> Or you can login {login}.</p>
|
---|
25 | </CenteredContainer>
|
---|
26 | )
|
---|
27 | }
|
---|
28 |
|
---|
29 | export default register; |
---|
Note:
See
TracBrowser
for help on using the repository browser.