Skip to content

Commit

Permalink
Use logo on login page. Closes #247
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed Oct 4, 2020
1 parent 180f135 commit 38c1999
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Binary file added ui/src/icons/android-icon-72x72.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions ui/src/layout/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import TextField from '@material-ui/core/TextField'
import { createMuiTheme, makeStyles } from '@material-ui/core/styles'
import { ThemeProvider } from '@material-ui/styles'
import LockIcon from '@material-ui/icons/Lock'
import Logo from '../icons/android-icon-72x72.png'

import { Notification, useLogin, useNotify, useTranslate } from 'react-admin'

Expand Down Expand Up @@ -42,7 +43,8 @@ const useStyles = makeStyles((theme) => ({
justifyContent: 'center',
},
icon: {
backgroundColor: theme.palette.secondary.main,
backgroundColor: 'white',
width: '40px',
},
systemName: {
marginTop: '1em',
Expand Down Expand Up @@ -95,9 +97,7 @@ const FormLogin = ({ loading, handleSubmit, validate }) => {
<div className={classes.main}>
<Card className={classes.card}>
<div className={classes.avatar}>
<Avatar className={classes.icon}>
<LockIcon />
</Avatar>
<img src={Logo} className={classes.icon} alt={'logo'} />
</div>
<div className={classes.systemName}>
<a
Expand Down

0 comments on commit 38c1999

Please sign in to comment.