placeholder search page
This commit is contained in:
parent
b41bdf23cd
commit
b2740feef7
12
src/containers/SearchPage.js
Normal file
12
src/containers/SearchPage.js
Normal 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);
|
@ -3,6 +3,7 @@ import { Router, Route, IndexRoute, browserHistory } from 'react-router';
|
|||||||
import App from '../containers/App';
|
import App from '../containers/App';
|
||||||
import CollectionPage from '../containers/CollectionPage';
|
import CollectionPage from '../containers/CollectionPage';
|
||||||
import EntryPage from '../containers/EntryPage';
|
import EntryPage from '../containers/EntryPage';
|
||||||
|
import SearchPage from '../containers/SearchPage';
|
||||||
import NotFoundPage from '../containers/NotFoundPage';
|
import NotFoundPage from '../containers/NotFoundPage';
|
||||||
|
|
||||||
export default () => (
|
export default () => (
|
||||||
@ -11,6 +12,7 @@ export default () => (
|
|||||||
<IndexRoute component={CollectionPage}/>
|
<IndexRoute component={CollectionPage}/>
|
||||||
<Route path="/collections/:name" component={CollectionPage}/>
|
<Route path="/collections/:name" component={CollectionPage}/>
|
||||||
<Route path="/collections/:name/entries/:slug" component={EntryPage}/>
|
<Route path="/collections/:name/entries/:slug" component={EntryPage}/>
|
||||||
|
<Route path="/search" component={SearchPage}/>
|
||||||
<Route path="*" component={NotFoundPage}/>
|
<Route path="*" component={NotFoundPage}/>
|
||||||
</Route>
|
</Route>
|
||||||
</Router>
|
</Router>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user