content: import './admin.css';
  
  import initOpbeat, { wrapRouter } from 'opbeat-react';
  import React, { Component } from 'react';
  import ReactDOM from 'react-dom';
  import { Route, Switch, HashRouter } from 'react-router-dom';
  import createBrowserHistory from 'history/createBrowserHistory';
  
  import AdminPanel from './AdminPanel.react';
  import Blog from './blog/Blog.react';
  import Content from './content/Content.react';
  import Metrics from './metrics/Metrics.react';
  
  initOpbeat({
    orgId: '3d480c5736f24cd5b22edc2b73b74cd7',
    appId: 'd0513a1914',
  });
  
  const OpbeatRouter = wrapRouter(Router);
  const history = createBrowserHistory();
  
  ReactDOM.render(
    <div className="col-8 content">
      <OpbeatRouter>
        <HashRouter history={history}>
          <AdminPanel location={location}>
            <Switch>
              <Route exact path="/" component={Content} />
              <Route path="/blog" component={Blog} />
              <Route path="/metrics" component={Metrics} />
            </Switch>
          </AdminPanel>
        </HashRouter>
      </OpbeatRouter>
    </div>,
    document.getElementById('admin-app')
  );
  