// Application entrypoint.

// Load up the application styles
require("../styles/application.scss");

// Render the top-level React component
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App.jsx';

ReactDOM.render(<App />, document.getElementById('react-root'));

// Application entrypoint.

// Load up the application styles
require("../styles/application.scss");

// Render the top-level React component
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App.jsx';
import Nav from './Nav.jsx'
import Dashboard from './Dashboard.jsx'

import { Router, Route, hashHistory} from 'react-router';


ReactDOM.render((
  <Router history={hashHistory}>
    <Route path="/" component={App} />
    <Route path="/games" component={Nav} />
    <Route path="/dashboard" component={Dashboard} />
  </Router>), document.getElementById('react-root')
);

Create second page // TODO url should be changed later
Create second page // TODO url should be changed later
