import React from 'react';
import { Switch, Route } from 'react-router-dom';
import Home from '../home';
import Page from '../page';
import NoMatch from '../nomatch';
import Navigation from '../../containers/NavigationContainer/index';

export default () => (
  <div>
  <Navigation />
  <Switch>
    <Route exact path='/' component={Home} />
    <Route path='/page' component={Page} />
    <Route component={NoMatch} />
  </Switch>
  </div>
);
