diff options
Diffstat (limited to 'modern/src/login/LoginLayout.js')
-rw-r--r-- | modern/src/login/LoginLayout.js | 38 |
1 files changed, 13 insertions, 25 deletions
diff --git a/modern/src/login/LoginLayout.js b/modern/src/login/LoginLayout.js index dff187c4..83a87500 100644 --- a/modern/src/login/LoginLayout.js +++ b/modern/src/login/LoginLayout.js @@ -40,12 +40,6 @@ const useStyles = makeStyles((theme) => ({ padding: theme.spacing(5), width: '100%', }, - attribution: { - position: 'fixed', - bottom: theme.spacing(1), - right: theme.spacing(1.5), - fontSize: 'x-small', - }, })); const LoginLayout = ({ children }) => { @@ -53,26 +47,20 @@ const LoginLayout = ({ children }) => { const theme = useTheme(); return ( - <> - <main className={classes.root}> - <div className={classes.sidebar}> - {!useMediaQuery(theme.breakpoints.down('lg')) && ( - <svg height="64" width="240"> - <use xlinkHref={`${logoSvg}#img`} /> - </svg> - )} - </div> - <Paper className={classes.paper}> - <form className={classes.form}> - {children} - </form> - </Paper> - </main> - <div className={classes.attribution}> - Powered by - <a href="https://www.traccar.org/">Traccar GPS Tracking System</a> + <main className={classes.root}> + <div className={classes.sidebar}> + {!useMediaQuery(theme.breakpoints.down('lg')) && ( + <svg height="64" width="240"> + <use xlinkHref={`${logoSvg}#img`} /> + </svg> + )} </div> - </> + <Paper className={classes.paper}> + <form className={classes.form}> + {children} + </form> + </Paper> + </main> ); }; |