import React from 'react'
import { Router, Route, IndexRoute, browserHistory } from 'react-router'

import App from '../containers/App'
import Article from '../containers/Article'
import Blank from '../containers/Blank'
import Category from '../containers/Category'
import Home from '../containers/Home'
import Photography from '../containers/Photography'
import Search from '../containers/Search'
import Tag from '../containers/Tag'
import Topic from '../containers/Topic'

export default function (history = browserHistory) {
  return (
    <Router history={history} onUpdate={() => window.scrollTo(0, 0)}>
      <Route path="/" component={App}>
        <IndexRoute component={Home} />
        <Route path="category/:category" component={Category}/>
        <Route path="topic/:topicId" component={Topic} />
        <Route path="tag/:tagId" component={Tag} />
        <Route path="photography" component={Photography}/>
        <Route path="search" component={Search}/>
        <Route path="check" component={Blank}/>
        <Route path="a/:slug" component={Article}/>
      </Route>
    </Router>
  )
}

@@ -466,16 +466,78 @@
 s/Topic'
+%0Aimport TopicLandingPage from '../containers/TopicLandingPage'
 %0A%0Aexport
@@ -664,16 +664,82 @@
 0, 0)%7D%3E%0A
+      %3CRoute path=%22/topics/:slug%22 component=%7BTopicLandingPage%7D /%3E%0A
       %3CR

Add Topic landing page route