content: import './../styles/main.scss';
  import React from 'react';
  import ReactDOM from 'react-dom';
  import { Router, Route, useRouterHistory, IndexRoute } from 'react-router';
  import { createHashHistory } from 'history';
  import Projects from './components/Projects';
  import App from './components/App';
  import ProjectDetails from './components/ProjectDetails';
  import Blog from './components/Blog';
  
  const appHistory = useRouterHistory(createHashHistory)({queryKey: false});
  
  ReactDOM.render((
  	<Router history={appHistory} onUpdate={() => {
  		window.scrollTo(0, 0);
  	}}>
  		<Route path="/" component={App}>
  			<IndexRoute component={Projects} />
  			<Route path="/:projectId/details" component={ProjectDetails} />
  			<Route path="/blog" component={Blog} />
  		</Route>
  	</Router>
  ), document.querySelector('main'));