content: import React from 'react';
  import Router from 'react-router';
  import { DefaultRoute, Link, Route, RouteHandler } from 'react-router';
  
  import LoginForm from './components/LoginForm.js';
  
  let App = React.createClass({
    render() {
      return (
        <div className="nav">
          <Link to="app">Home</Link> |&nbsp;
          <Link to="login">Login</Link>
  
          <RouteHandler/>
        </div>
      );
    }
  });
  
  let routes = (
    <Route name="app" path="/" handler={App}>
      <Route name="login" path="/login" handler={LoginForm}/>
    </Route>
  );
  
  Router.run(routes, function (Handler) {
    React.render(<Handler/>, document.body);
  });
  