From ed254547db1672c475293cc84281d4ee87a193d8 Mon Sep 17 00:00:00 2001 From: foxbit19 Date: Sun, 20 Oct 2019 19:40:09 +0200 Subject: [PATCH] Set main page link and add GitHub icon (#234) Fixes #159 --- ui/src/layout/Header.tsx | 11 +++++++++-- ui/yarn.lock | 15 +++++++++++---- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/ui/src/layout/Header.tsx b/ui/src/layout/Header.tsx index 025be66..c1988d2 100644 --- a/ui/src/layout/Header.tsx +++ b/ui/src/layout/Header.tsx @@ -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 {
- + Gotify - + @@ -72,6 +73,12 @@ class Header extends Component { + + + + + + ); diff --git a/ui/yarn.lock b/ui/yarn.lock index 2043f7c..28c9a28 100644 --- a/ui/yarn.lock +++ b/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"