parent
6edfd8400e
commit
ed254547db
|
|
@ -9,6 +9,7 @@ import Chat from '@material-ui/icons/Chat';
|
|||
import DevicesOther from '@material-ui/icons/DevicesOther';
|
||||
import ExitToApp from '@material-ui/icons/ExitToApp';
|
||||
import Highlight from '@material-ui/icons/Highlight';
|
||||
import GitHubIcon from '@material-ui/icons/GitHub';
|
||||
import Apps from '@material-ui/icons/Apps';
|
||||
import SupervisorAccount from '@material-ui/icons/SupervisorAccount';
|
||||
import React, {Component, CSSProperties} from 'react';
|
||||
|
|
@ -55,11 +56,11 @@ class Header extends Component<IProps> {
|
|||
<AppBar position="absolute" style={style} className={classes.appBar}>
|
||||
<Toolbar>
|
||||
<div className={classes.title}>
|
||||
<a href="https://github.com/gotify/server" className={classes.link}>
|
||||
<Link to="/" className={classes.link}>
|
||||
<Typography variant="h5" className={classes.titleName} color="inherit">
|
||||
Gotify
|
||||
</Typography>
|
||||
</a>
|
||||
</Link>
|
||||
<a
|
||||
href={'https://github.com/gotify/server/releases/tag/v' + version}
|
||||
className={classes.link}>
|
||||
|
|
@ -72,6 +73,12 @@ class Header extends Component<IProps> {
|
|||
<IconButton onClick={toggleTheme} color="inherit">
|
||||
<Highlight />
|
||||
</IconButton>
|
||||
|
||||
<a href="https://github.com/gotify/server" className={classes.link}>
|
||||
<IconButton color="inherit">
|
||||
<GitHubIcon />
|
||||
</IconButton>
|
||||
</a>
|
||||
</Toolbar>
|
||||
</AppBar>
|
||||
);
|
||||
|
|
|
|||
15
ui/yarn.lock
15
ui/yarn.lock
|
|
@ -763,13 +763,20 @@
|
|||
dependencies:
|
||||
regenerator-runtime "^0.13.2"
|
||||
|
||||
"@babel/runtime@^7.1.2", "@babel/runtime@^7.3.1", "@babel/runtime@^7.4.4", "@babel/runtime@^7.5.5":
|
||||
"@babel/runtime@^7.1.2", "@babel/runtime@^7.3.1", "@babel/runtime@^7.5.5":
|
||||
version "7.6.2"
|
||||
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.6.2.tgz#c3d6e41b304ef10dcf13777a33e7694ec4a9a6dd"
|
||||
integrity sha512-EXxN64agfUqqIGeEjI5dL5z0Sw0ZwWo1mLTi4mQowCZ42O59b7DRpZAnTC6OqdF28wMBMFKNb/4uFGrVaigSpg==
|
||||
dependencies:
|
||||
regenerator-runtime "^0.13.2"
|
||||
|
||||
"@babel/runtime@^7.4.4":
|
||||
version "7.6.3"
|
||||
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.6.3.tgz#935122c74c73d2240cafd32ddb5fc2a6cd35cf1f"
|
||||
integrity sha512-kq6anf9JGjW8Nt5rYfEuGRaEAaH1mkv3Bbu6rYvLOpPh/RusSJXuKPEAoZ7L7gybZkchE8+NV5g9vKF4AGAtsA==
|
||||
dependencies:
|
||||
regenerator-runtime "^0.13.2"
|
||||
|
||||
"@babel/template@^7.1.0", "@babel/template@^7.4.0", "@babel/template@^7.4.4":
|
||||
version "7.4.4"
|
||||
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.4.4.tgz#f4b88d1225689a08f5bc3a17483545be9e4ed237"
|
||||
|
|
@ -1028,9 +1035,9 @@
|
|||
react-transition-group "^4.3.0"
|
||||
|
||||
"@material-ui/icons@^4.4.3":
|
||||
version "4.4.3"
|
||||
resolved "https://registry.yarnpkg.com/@material-ui/icons/-/icons-4.4.3.tgz#5d4346ddbb2673a1b57ebc78fd6d50bcd88711db"
|
||||
integrity sha512-HVVvUyc/78kmaBd93LkfWyGkXMM+zOMKzUfulWXxaV/fFAZ3N0pD0oHjWUd94zrOoF3tZP9JC7EPlIpIcZSNow==
|
||||
version "4.5.1"
|
||||
resolved "https://registry.yarnpkg.com/@material-ui/icons/-/icons-4.5.1.tgz#6963bad139e938702ece85ca43067688018f04f8"
|
||||
integrity sha512-YZ/BgJbXX4a0gOuKWb30mBaHaoXRqPanlePam83JQPZ/y4kl+3aW0Wv9tlR70hB5EGAkEJGW5m4ktJwMgxQAeA==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.4.4"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue