-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add react boilerplate * issue8-register-ui-v1 * remove console log and fix naming convention * Rename files * Rename register.css * Rename routes.js
- Loading branch information
1 parent
8595f1f
commit b5bf859
Showing
9 changed files
with
576 additions
and
128 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
body, | ||
html { | ||
height: 100vh; | ||
width: 100vw; | ||
margin: 0; | ||
overflow-x: hidden; | ||
overflow-y: hidden; | ||
} | ||
|
||
html { | ||
box-sizing: border-box; | ||
-ms-text-size-adjust: 100%; | ||
-webkit-text-size-adjust: 100%; | ||
} | ||
* { | ||
box-sizing: "border-box"; | ||
} | ||
|
||
p, | ||
ul { | ||
font-family: "Brandon", "Lato"; | ||
} | ||
|
||
h1, | ||
h2, | ||
h3, | ||
h4, | ||
h5, | ||
h6 { | ||
font-family: "Quan", "Cairo" | ||
} | ||
|
||
h1, | ||
h2, | ||
h3, | ||
h4, | ||
h5, | ||
h6, | ||
p, | ||
ul { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
.navbar-brand > img { | ||
width: 75px; | ||
height: 75px; | ||
} | ||
|
||
/* Default */ | ||
body { | ||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import React from "react"; | ||
|
||
export default function Login() { | ||
return ( | ||
<div>This is the Login page</div> | ||
); | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import ReactDOM from 'react-dom'; | ||
import routes from "./routes"; | ||
import Routes from "./Routes"; | ||
|
||
ReactDOM.render( | ||
routes, document.getElementById('root') | ||
Routes, document.getElementById('root') | ||
); | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
.container { | ||
background: #F7F9FA; | ||
height: auto; | ||
width: 70%; | ||
margin: 5em auto; | ||
-webkit-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.4); | ||
-moz-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.4); | ||
box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.4); | ||
} | ||
|
||
|
||
|
||
label { | ||
color: #24B9B6; | ||
font-size: 1.2em; | ||
font-weight: 400; | ||
} | ||
|
||
h1 { | ||
color: #24B9B6; | ||
padding-top: .5em; | ||
} | ||
|
||
|
||
.error { | ||
color: red; | ||
} | ||
.error-message { | ||
color: #FF6565; | ||
padding: .5em .2em; | ||
height: 1em; | ||
position: absolute; | ||
font-size: .8em; | ||
} | ||
|
||
.field { | ||
border: 1px solid #1C6EA4; | ||
width: 100%; | ||
height: 2em; | ||
} | ||
|
||
.button-group { | ||
width: 100%; | ||
} | ||
|
||
|
||
.register-form { | ||
width: 80%; | ||
text-align: left; | ||
padding-top: 2em; | ||
padding-bottom: 2em; | ||
} |
Oops, something went wrong.