Compare commits

..

1 Commits

Author SHA1 Message Date
shobhitm23
1846165c85 Improving Login Page 2019-11-01 15:59:24 -04:00
2 changed files with 8 additions and 8 deletions

View File

@@ -24,7 +24,8 @@ const styles = {
textAlign: "center" textAlign: "center"
}, },
textField: { textField: {
marginBottom: 20 marginBottom: 20,
border: ""
}, },
pageTitle: { pageTitle: {
// marginTop: 20, // marginTop: 20,
@@ -39,9 +40,12 @@ const styles = {
}, },
p: { p: {
fontFamily: "cursive", fontFamily: "cursive",
backgroundColor: "lightgrey",
}, },
div: { div: {
backgroundColor: "lightgrey", borderRadius: "5px",
backgroundColor: "#f2f2f2",
padding: "20px",
} }
}; };
@@ -112,14 +116,12 @@ export class Login extends Component {
<Grid item sm /> <Grid item sm />
<Grid item sm> <Grid item sm>
<img src={logo} className="app-logo" alt="logo" /> <img src={logo} className="app-logo" alt="logo" />
<br></br>
<br></br> <br></br>
<Typography variant="p" className={classes.pageTitle} fontFamily = "Georgia, serif"> <Typography variant="p" className={classes.pageTitle} fontFamily = "Georgia, serif">
<b><font face="Segoe UI">Log in to Twistter</font></b> <b>Log in to Twistter</b>
<br></br> <br></br>
</Typography> </Typography>
<br></br> <br></br>
<div>
<form noValidate onSubmit={this.handleSubmit}> <form noValidate onSubmit={this.handleSubmit}>
<TextField <TextField
id="email" id="email"
@@ -162,7 +164,6 @@ export class Login extends Component {
<Typography color="error">Invalid username/email or password</Typography> <Typography color="error">Invalid username/email or password</Typography>
)} )}
</form> </form>
</div>
</Grid> </Grid>
<Grid item sm /> <Grid item sm />
</Grid> </Grid>

View File

@@ -104,10 +104,9 @@ export class Signup extends Component {
<Grid item sm /> <Grid item sm />
<Grid item sm> <Grid item sm>
<img src={logo} className="app-logo" alt="logo" /> <img src={logo} className="app-logo" alt="logo" />
<br></br>
<br></br> <br></br>
<Typography variant="p" className={classes.pageTitle}> <Typography variant="p" className={classes.pageTitle}>
<b><font face="Segoe UI">Create a new account</font></b> <b>Create a new account</b>
<br></br> <br></br>
</Typography> </Typography>
<br></br> <br></br>