Merge pull request #9 from turniere/ticket/TURNIERE-134

Add the favicon to all pages
This commit is contained in:
betanummeric 2019-04-09 11:01:09 +02:00 committed by GitHub
commit ae56a4d58c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 0 deletions

View File

@ -20,6 +20,7 @@
"next": "^7.0.2",
"react": "^16.6.1",
"react-dom": "^16.6.1",
"react-favicon": "^0.0.14",
"react-notify-toast": "^0.5.0",
"react-redux": "^5.1.1",
"reactstrap": "^6.5.0",

View File

@ -2,6 +2,7 @@ import App, { Container } from 'next/app';
import React from 'react';
import { Provider } from 'react-redux';
import Notifications from 'react-notify-toast';
import Favicon from 'react-favicon';
import withReduxStore from '../js/redux/reduxStoreBinder';
@ -12,6 +13,7 @@ class TurniereApp extends App {
return (
<Container>
<Notifications />
<Favicon url="../static/icons/favicon.ico"/>
<Provider store={reduxStore}>
<Component {...pageProps} />
</Provider>

BIN
static/icons/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -6431,6 +6431,11 @@ react-error-overlay@4.0.0:
resolved "https://registry.yarnpkg.com/react-error-overlay/-/react-error-overlay-4.0.0.tgz#d198408a85b4070937a98667f500c832f86bd5d4"
integrity sha512-FlsPxavEyMuR6TjVbSSywovXSEyOg6ZDj5+Z8nbsRl9EkOzAhEIcS+GLoQDC5fz/t9suhUXWmUrOBrgeUvrMxw==
react-favicon@^0.0.14:
version "0.0.14"
resolved "https://registry.yarnpkg.com/react-favicon/-/react-favicon-0.0.14.tgz#3c9c7b999d106e6e112f729ab929b8dbec05b280"
integrity sha512-dE1Q13jgc5/Z49G3O3LSdJ87XGK6I4sIYmx3+ROYOEkt0wcrdP9J5wf2oDLtq7D9bOm0j62HAWP+DoofjsHNJQ==
react-is@^16.6.0, react-is@^16.7.0, react-is@^16.8.1:
version "16.8.6"
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.6.tgz#5bbc1e2d29141c9fbdfed456343fe2bc430a6a16"