source: RebuMKReact/src/Components/Register/register.js

Last change on this file 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 
1import React from "react";
2import CenteredContainer from "../UtilComponents/CenteredContainer";
3import '../UtilComponents/App.css'
4
5const 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
29export default register;
Note: See TracBrowser for help on using the repository browser.