diff --git a/frontend/src/App.css b/frontend/src/App.css
index 61592b6..af7bf6f 100644
--- a/frontend/src/App.css
+++ b/frontend/src/App.css
@@ -9,3 +9,12 @@
margin-left: 10px;
height: 64px;
}
+
+.loginBackground {
+ background-position: center;
+ background-repeat: no-repeat;
+ background-size: cover;
+ margin: auto;
+ min-height: 100vh;
+ background-image: url(./img/loginBackground.png);
+}
\ No newline at end of file
diff --git a/frontend/src/App.js b/frontend/src/App.js
index 4348a7e..3a95573 100644
--- a/frontend/src/App.js
+++ b/frontend/src/App.js
@@ -4,6 +4,10 @@ import {
} from "react-router-dom";
import Navbar from "./components/navigation";
import { createMuiTheme, ThemeProvider } from '@material-ui/core/styles';
+import {
+ Route, Switch
+} from "react-router-dom";
+import Login from './components/login/login';
import "./App.css";
@@ -28,7 +32,12 @@ class App extends Component {
return (
-
+
+
+
+
+
+
diff --git a/frontend/src/components/content.js b/frontend/src/components/content.js
index 2369ca6..857f5da 100644
--- a/frontend/src/components/content.js
+++ b/frontend/src/components/content.js
@@ -7,6 +7,7 @@ import {
import SelectResource from './selectResource';
import ResourceChart from './resourcechart/resourcechart';
+
const useStyles = makeStyles(theme => ({
root: {
flexGrow: 1,
@@ -24,6 +25,7 @@ export default function Content() {
} />
+
);
diff --git a/frontend/src/components/login/login.js b/frontend/src/components/login/login.js
new file mode 100644
index 0000000..352c356
--- /dev/null
+++ b/frontend/src/components/login/login.js
@@ -0,0 +1,109 @@
+import React from 'react';
+import { Link } from "react-router-dom";
+import { makeStyles, withStyles } from '@material-ui/core/styles';
+import Card from '@material-ui/core/Card';
+import CardContent from '@material-ui/core/CardContent';
+import Typography from '@material-ui/core/Typography';
+import Box from '@material-ui/core/Box';
+import Button from '@material-ui/core/Button';
+import Logo from "../../img/logo.png";
+import TextField from '@material-ui/core/TextField';
+import Grid from '@material-ui/core/Grid';
+
+
+const useStyles = makeStyles(theme => ({
+ card: {
+ backgroundColor: "#0B1929",
+ display: "flex"
+ },
+ logo: {
+ maxWidth: "50%",
+ height: "auto"
+ },
+ input: {
+ color: "#9daac1"
+ },
+ grid: {
+ display: "flex"
+ }
+}));
+
+const CssTextField = withStyles({
+ root: {
+ '& label.Mui-focused': {
+ color: 'white',
+ },
+ '&:hover label': {
+ color: '#FFC800',
+ },
+ '& label': {
+ color: 'white',
+ },
+ '& .MuiOutlinedInput-root': {
+ '& input': {
+ color: "white"
+ },
+ '& fieldset': {
+ borderColor: 'white',
+ color: "white"
+ },
+ '&:hover fieldset': {
+ borderColor: "#FFC800",
+ },
+ '&.Mui-focused fieldset': {
+ borderColor: 'white',
+ },
+ },
+ },
+})(TextField);
+
+export default function Login() {
+ const classes = useStyles();
+ return (
+
+
+
+
+
+
+
+
+
+
+ )
+
+}
diff --git a/frontend/src/img/loginBackground.png b/frontend/src/img/loginBackground.png
new file mode 100644
index 0000000..6c8a852
Binary files /dev/null and b/frontend/src/img/loginBackground.png differ