Created
February 9, 2019 23:43
-
-
Save ldco2016/dffe3fe1537b7313fafc44b44dac2772 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| <Grid item xs={11}> | |
| <img src="/images/brand.png" height="75px" width="75px" alt="application icon" /> | |
| <h2 className={classes.headerText}> | |
| Welcome to Birdseye! | |
| </h2> | |
| <InputLabel shrink htmlFor="bootstrap-input" className={classes.bootstrapFormLabel}> | |
| Email Address | |
| </InputLabel> | |
| <InputBase | |
| id="bootstrap-input" | |
| defaultValue="" | |
| classes={{ | |
| root: classes.bootstrapRoot, | |
| input: classes.bootstrapInput | |
| }} | |
| onChange={evt => this.setState({ username: evt.target.value })} | |
| onKeyPress={(evt) => { | |
| if (evt.key === 'Enter') { | |
| this.setState({ username: evt.target.value }) | |
| authenticate({ variables: { username, password } }) | |
| } | |
| }} | |
| /> | |
| <InputLabel shrink htmlFor="bootstrap-input" className={classes.bootstrapFormLabel}> | |
| Password | |
| </InputLabel> | |
| <InputBase | |
| id="bootstrap-input" | |
| defaultValue="" | |
| classes={{ | |
| root: classes.bootstrapRoot, | |
| input: classes.bootstrapInput, | |
| }} | |
| onChange={evt => this.setState({ password: evt.target.value })} | |
| onKeyPress={(evt) => { | |
| if (evt.key === 'Enter') { | |
| this.setState({ password: evt.target.value }) | |
| authenticate({ variables: { username, password } }) | |
| } | |
| }} | |
| /> | |
| <Button | |
| size="large" | |
| color="primary" | |
| onClick={() => authenticate({ variables: { username, password } })} | |
| className={classNames(classes.button, classes.mT10)} | |
| > | |
| Sign in | |
| </Button> | |
| <Link href="#" className={classes.link}>Forgot Password</Link> | |
| </Grid> |
Author
ldco2016
commented
Feb 9, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment