diff options
author | ludovicm67 <ludovicmuller1@gmail.com> | 2020-01-24 00:28:18 +0100 |
---|---|---|
committer | ludovicm67 <ludovicmuller1@gmail.com> | 2020-01-24 00:28:18 +0100 |
commit | 7de5a25ffa0b2c45db9cb2da0e142b5b5b6d5b7d (patch) | |
tree | e748ffc1f22b4cface12a3e5d58b746a8382035c /webui/src/App.js | |
parent | def48e53f4ae206a10d0973439efdd7769e91100 (diff) | |
download | git-bug-7de5a25ffa0b2c45db9cb2da0e142b5b5b6d5b7d.tar.gz |
webui: add logo
Diffstat (limited to 'webui/src/App.js')
-rw-r--r-- | webui/src/App.js | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/webui/src/App.js b/webui/src/App.js index 35778268..b9c57327 100644 --- a/webui/src/App.js +++ b/webui/src/App.js @@ -21,13 +21,19 @@ const theme = createMuiTheme({ const useStyles = makeStyles(theme => ({ offset: theme.mixins.toolbar, + filler: { + flexGrow: 1, + }, appTitle: { ...theme.typography.h6, color: 'white', textDecoration: 'none', + display: 'flex', + alignItems: 'center', }, - headerLeft: { - flexGrow: 1, + logo: { + height: '42px', + marginRight: theme.spacing(2), }, })); @@ -39,11 +45,11 @@ export default function App() { <CssBaseline /> <AppBar position="fixed" color="primary"> <Toolbar> - <div className={classes.headerLeft}> - <Link to="/" className={classes.appTitle}> - git-bug webui - </Link> - </div> + <Link to="/" className={classes.appTitle}> + <img src="logo.svg" className={classes.logo} alt="git-bug" /> + git-bug + </Link> + <div className={classes.filler}></div> <CurrentIdentity /> </Toolbar> </AppBar> |