placeholder search page

This commit is contained in:
Cássio Zen 2016-07-08 07:14:00 -03:00
parent b41bdf23cd
commit b2740feef7
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,12 @@
import React from 'react';
import { connect } from 'react-redux';
class SearchPage extends React.Component {
render() {
return <div>
<h1>Search</h1>
</div>;
}
}
export default connect()(SearchPage);

View File

@ -3,6 +3,7 @@ import { Router, Route, IndexRoute, browserHistory } from 'react-router';
import App from '../containers/App';
import CollectionPage from '../containers/CollectionPage';
import EntryPage from '../containers/EntryPage';
import SearchPage from '../containers/SearchPage';
import NotFoundPage from '../containers/NotFoundPage';
export default () => (
@ -11,6 +12,7 @@ export default () => (
<IndexRoute component={CollectionPage}/>
<Route path="/collections/:name" component={CollectionPage}/>
<Route path="/collections/:name/entries/:slug" component={EntryPage}/>
<Route path="/search" component={SearchPage}/>
<Route path="*" component={NotFoundPage}/>
</Route>
</Router>