audible-tools.github.io/src/index.js

34 lines
978 B
JavaScript
Raw Normal View History

2020-08-06 00:06:17 +02:00
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import * as serviceWorker from './serviceWorker';
import ChecksumResolver from './ChecksumResolver';
import ReactNotification from 'react-notifications-component'
2021-05-17 22:24:14 +02:00
import ForkMeOnGithub from 'fork-me-on-github';
2020-08-06 00:06:17 +02:00
2020-08-06 10:54:49 +02:00
import ReactGA from 'react-ga';
ReactGA.initialize('UA-174657678-1');
ReactGA.pageview(window.location.pathname + window.location.search);
2020-08-06 00:06:17 +02:00
ReactDOM.render(
<div>
<div style={{display:'flex'}}>
<ReactNotification />
</div>
2021-05-17 22:24:14 +02:00
<ForkMeOnGithub
repo="https://github.com/audible-tools/audible-tools.github.io"
colorOctocat="black"
isPride
/>
<ChecksumResolver />
</div>,
2020-08-06 00:06:17 +02:00
document.getElementById('root')
);
// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA
serviceWorker.unregister();