import React, { Component } from 'react';
import { HashRouter, Route, Switch } from "react-router-dom";

import BrowserWindow from './Windows/BrowserWindow';
import AuthenticationWindow from './Windows/AuthenticationWindow';

class App extends Component {
	render() {
		return (
			<HashRouter>
				<div>
					<Route exact path='/window/:windowId' component={BrowserWindow} />
					<Route path='/authentication' component={AuthenticationWindow} />
				</div>
			</HashRouter>
		);
	}
}

export default App;