content: import Router from 'ampersand-router'
  import {render} from 'react-dom'
  import React from 'react'
  import PublicPage from './pages/public'
  import EbaySearchPage from './pages/ebaySearch'
  import Layout from './layout/layout'
  import NavigationHelper from './components/navigation-helper'
  
  const mountPoint = document.getElementById('app')
  
  export default Router.extend({
    renderPage (page) {
      render (
          <NavigationHelper>
            <Layout>
              {page}
            </Layout>
          </NavigationHelper>,
          mountPoint
      )
    },
  
    routes: {
      '': 'public',
      'search': 'search'
    },
  
    public () {
      this.renderPage(<PublicPage/>)
    },
  
    search () {
      this.renderPage(<EbaySearchPage/>)
    }
  })
  