diff --git a/src/components/App.tsx b/src/components/App.tsx deleted file mode 100644 index a772378..0000000 --- a/src/components/App.tsx +++ /dev/null @@ -1,99 +0,0 @@ -import FrozenHead from 'react-frozenhead' -import React from 'react' -import { RouteHandler } from 'react-router' -import ga from 'react-google-analytics' -import SupportStore from '../stores/SupportStore' -import ErrorPage from './ErrorPage' -import Bootstrap from './Bootstrap' - -if (process.env.GA_ACCESS_TOKEN) { - ga('create', process.env.GA_ACCESS_TOKEN, 'auto') - ga('send', 'pageview') -} - -export default class App extends React.Component { - constructor() { - super() - this.state = SupportStore.getState() - - this._onChange = () => { - this.setState(SupportStore.getState()) - } - } - - componentDidMount() { - SupportStore.listen(this._onChange) - } - - componentWillUnmount() { - SupportStore.unlisten(this._onChange) - } - - render() { - return ( - - - - - - - - - - FilePizza - Your files, delivered. - - - - {process.env.GA_ACCESS_TOKEN ? :
} - - - ) - } -} diff --git a/src/components/Bootstrap.tsx b/src/components/Bootstrap.tsx deleted file mode 100644 index 7e48f35..0000000 --- a/src/components/Bootstrap.tsx +++ /dev/null @@ -1,13 +0,0 @@ -import React from 'react' - -export default class Bootstrap extends React.Component { - render() { - return ( -