/* Routing Urls */

import React from 'react'
import { render } from 'react-dom'
import { HashRouter, Match } from 'react-router'
import Landing from './7B'
import '../normalize.css'
import '../style.css'

const App = React.createClass({
  render () {
    return (
      <HashRouter>
        <div className='app'>
          <Match exactly pattern='/' component={Landing} />
        </div>
      </HashRouter>
    )
  }
})

// <App /> short for react.createElement
render(<App />, document.getElementById('app'))

/* Routing Urls */

import React from 'react'
import { render } from 'react-dom'
import { HashRouter, Match } from 'react-router'
import Landing from './7B'
import '../normalize.css'
import '../style.css'

//this view will be available on all pages.. consider this the layout view
// see nav and footer below which will available on all pages
//any pattern matches will load that page
const App = React.createClass({
  render () {
    return (
      <HashRouter>
        <div className='app'>
          // <nav></nav> 
          <Match exactly pattern='/' component={Landing} />
          // <footer></footer>
        </div>
      </HashRouter>
    )
  }
})

// <App /> short for react.createElement
render(<App />, document.getElementById('app'))

Add comments explaining entry file containing the routing
Add comments explaining entry file containing the routing
