2015-05-13 16:26:12 +02:00
|
|
|
import React from 'react';
|
2015-05-15 15:38:25 +02:00
|
|
|
import Router from 'react-router';
|
2015-05-20 16:19:40 +02:00
|
|
|
import Header from '../components/header';
|
2015-05-15 15:38:25 +02:00
|
|
|
|
2015-05-19 17:16:01 +02:00
|
|
|
let Link = Router.Link;
|
|
|
|
let RouteHandler = Router.RouteHandler;
|
2015-05-13 16:26:12 +02:00
|
|
|
|
2015-05-18 18:00:12 +02:00
|
|
|
|
2015-05-20 12:00:16 +02:00
|
|
|
let AscribeApp = React.createClass({
|
2015-05-18 18:00:12 +02:00
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<div>
|
2015-05-20 16:19:40 +02:00
|
|
|
<Header />
|
2015-05-20 17:35:52 +02:00
|
|
|
<nav>
|
2015-05-19 17:13:09 +02:00
|
|
|
<Link to="pieces">pieces</Link>
|
2015-05-20 17:35:52 +02:00
|
|
|
</nav>
|
2015-05-18 18:00:12 +02:00
|
|
|
<RouteHandler />
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
2015-05-20 12:00:16 +02:00
|
|
|
});
|
2015-05-13 16:26:12 +02:00
|
|
|
|
2015-05-18 09:31:22 +02:00
|
|
|
export default AscribeApp;
|