diff --git a/build/favicon.ico b/build/favicon.ico old mode 100755 new mode 100644 diff --git a/src/containers/App/App.jsx b/src/containers/App/App.jsx index 5627579..3336cec 100644 --- a/src/containers/App/App.jsx +++ b/src/containers/App/App.jsx @@ -4,6 +4,8 @@ import { BrowserRouter, Route, Switch, Redirect } from 'react-router-dom'; import Layout from '../../hoc/Layout/Layout'; import Home from '../Home/Home'; import Landing from '../../components/Landing/Landing'; +import Signup from '../Signup/Signup'; +import Login from '../Login/Login'; import { Provider } from '../../components/Context/Context'; import ResourcesPage from '../ResourcesPage/ResourcesPage'; import Lost from '../../components/Lost/Lost'; @@ -52,6 +54,8 @@ class App extends Component { )} /> + + ( )} /> diff --git a/src/containers/Home/Home.css b/src/containers/Home/Home.css index 3bc4c16..4ed7b3b 100644 --- a/src/containers/Home/Home.css +++ b/src/containers/Home/Home.css @@ -1,6 +1,8 @@ #home-page-container { padding: 5vh 0 25vh 0; text-align: center; + color: var(--red); + border: 1px solid var(--red); } .heading { @@ -11,9 +13,9 @@ .sub-heading { color: var(--theme); - font-size: 1em; - max-width: 75vw; - margin: 17px auto; + font-size: 1.5vw; + margin-bottom: 50px; + margin-top: 0px; } @media only screen and (min-width: 2000px) { @@ -54,7 +56,10 @@ } .sub-heading { + color: var(--theme); font-size: 4vw; + margin-bottom: 50px; + margin-top: 0px; } } diff --git a/src/containers/Login/Login.css b/src/containers/Login/Login.css new file mode 100644 index 0000000..73a270b --- /dev/null +++ b/src/containers/Login/Login.css @@ -0,0 +1,66 @@ +body +{ +} + +.login-form { + background: #303e4b; + margin-top: 2rem; + max-width: 590px; + margin-left: auto; + margin-right: auto; + padding: 1em; + text-align: center; +} + +.container { + color: #f9f9f9; +} + + +.login-form input { + margin-bottom: 2rem; + background: #fff; + border: 1px solid #9c9c9c; +} + + .login-form input[type=submit] { + background: #678; + padding: 0.7em; + border: 0; + } + + +label { + display: block; + padding: 0.5em 1.5em 0.5em 0; +} + +input { + width: 100%; + padding: 0.7em; + margin-bottom: 0.5rem; +} + + input:focus { + outline: 3px solid gold; + } + +@media (min-width: 350px) { + form { + overflow: hidden; + } + + label { + float: left; + width: 108px; + } + + input { + float: left; + width: calc(100% - 200px); + } + + .login-form input[type=submit] { + width: calc(100% - 200px) + } +} \ No newline at end of file diff --git a/src/containers/Login/Login.jsx b/src/containers/Login/Login.jsx new file mode 100644 index 0000000..c9793c5 --- /dev/null +++ b/src/containers/Login/Login.jsx @@ -0,0 +1,49 @@ +import React, { Component } from 'react'; +import './Login.css'; + +class Login extends Component { + constructor(props) { + super(props); + this.state = { + user_name: '', + password: '' + + } + } + + render() { + return ( +
+
+
+

Login

+

Please enter your credentials to access your account.

+
+ + this.setState({ user_name: newValue })} + /> +
+ + this.setState({ password: newValue })} + /> +
+ + +
+
+
+ ); + } +} + +export default Login; \ No newline at end of file diff --git a/src/containers/Signup/Signup.css b/src/containers/Signup/Signup.css new file mode 100644 index 0000000..91e9ef1 --- /dev/null +++ b/src/containers/Signup/Signup.css @@ -0,0 +1,65 @@ +body { +} + +.signup-form { + background: #303e4b; + margin-top: 2rem; + max-width: 590px; + margin-left: auto; + margin-right: auto; + padding: 1em; + text-align: center; +} + +.container { + color: #f9f9f9; +} + +.signup-form input { + margin-bottom: 2rem; + background: #fff; + border: 1px solid #9c9c9c; +} + + .signup-form input[type=submit] { + background: #678; + padding: 0.7em; + border: 0; + } + + +label { + display: block; + padding: 6px 1.5em 0.5em 6px; + text-align:left; +} + +input { + width: 100%; + padding: 0.7em; + margin-bottom: 0.5rem; +} + +input:focus { + outline: 3px solid gold; + } + +@media (min-width: 350px) { + form { + overflow: hidden; + } + + label { + float: left; + width: 108px; + } + + input { + float: left; + width: calc(100% - 200px); + } + + .signup-form input[type=submit] { + width: calc(100% - 200px) + } +} \ No newline at end of file diff --git a/src/containers/Signup/Signup.jsx b/src/containers/Signup/Signup.jsx new file mode 100644 index 0000000..f727b4e --- /dev/null +++ b/src/containers/Signup/Signup.jsx @@ -0,0 +1,77 @@ +import React, { Component } from 'react'; +import './Signup.css'; + +class Signup extends Component { + constructor(props) { + super(props); + this.state = { + name: '', + user_name: '', + email: '', + password: '', + re_password: '' + } + } + render() { + return ( +
+
+
+

SignUp

+

Please fill in this form to create an account.

+
+ + this.setState({ name: newValue })} + /> +
+ + this.setState({ user_name: newValue })} + /> +
+ + this.setState({ email: newValue })} + /> +
+ + this.setState({ password: newValue })} + /> +
+ + this.setState({ re_password: newValue })} + /> +
+ + +
+
+
+ ); + } +} + +export default Signup; \ No newline at end of file diff --git a/src/index.css b/src/index.css index 9b372e5..04c49fd 100644 --- a/src/index.css +++ b/src/index.css @@ -20,8 +20,8 @@ body { margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", - "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", - sans-serif; + "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", + sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-user-select: none;