-
-
Save brigand/ee9db389090bb0211944 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import { IndexRoute, Route } from 'react-router' | |
import RootComponent from './containers/RootComponent' | |
import BaseLayout from './components/BaseLayout' | |
import AuthenticatedLayout from './components/AuthenticatedLayout' | |
import Auth from './containers/Auth' | |
import Dashboard from './containers/Dashboard' | |
import Inbox from './containers/Inbox' | |
import Schedule from './containers/Schedule' | |
import NotFound from './components/NotFound' | |
export default ( | |
<Route component={BaseLayout}> | |
<Route path='/auth' component={Auth} /> | |
<Route component={AuthenticatedLayout}> | |
<Route path="/" component={Dashboard} /> | |
<Route path='/inbox' component={Inbox} /> | |
</Route> | |
<Route path='*' component={NotFound} /> | |
</Route> | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment