2018-04-03 14:13:16 -04:00
|
|
|
import { Route, Switch } from 'inferno-router';
|
|
|
|
|
|
|
|
import * as V from './views';
|
|
|
|
|
|
|
|
export const Routes = (props) => (
|
|
|
|
<Switch>
|
2018-04-04 21:28:47 -04:00
|
|
|
<Route exact path="/" component={V.HomeView} />
|
2018-04-19 14:46:20 -04:00
|
|
|
<Route path="/camera" component={V.CameraAddView} />
|
2018-04-03 15:19:45 -04:00
|
|
|
<Route path="/film" component={V.FilmAddView} />
|
|
|
|
<Route component={V.OopsView} />
|
2018-04-03 14:13:16 -04:00
|
|
|
</Switch>
|
|
|
|
);
|