diff --git a/Frontend/src/components/Login.js b/Frontend/src/components/Login.js index 76bdfd0..424b51c 100644 --- a/Frontend/src/components/Login.js +++ b/Frontend/src/components/Login.js @@ -1,36 +1,80 @@ import React, { Component } from "react"; -import TextField from "@material-ui/core/TextField"; +import { TextField, Typography, Grid, Fab, Container } from "@material-ui/core"; +import SendIcon from "@material-ui/icons/Send"; +import { withStyles, createStyles } from "@material-ui/styles"; + +const useStyles = createStyles(theme => ({ + textField: { + margingLeft: theme.spacing(1), + marginRight: theme.spacing(1) + }, + fab: { + margin: theme.spacing(1) + }, + form: { + backgroundColor: "#f5f5f5", + borderRadius: "5px", + margin: "20px", + padding: "20px", + boxShadow: "0px 0px 5px 0px lightgrey", + border: "1px solid lightgrey" + } +})); class Login extends Component { - state = {}; + state = { username: "", password: "" }; + + handleChange = name => event => { + this.setState({ [name]: event.target.value }); + }; + render() { + const classes = this.props.classes; + return ( -
+