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-18 18:00:12 +02:00
|
|
|
|
|
|
|
var Link = Router.Link;
|
2015-05-15 15:38:25 +02:00
|
|
|
var RouteHandler = Router.RouteHandler;
|
2015-05-13 16:26:12 +02:00
|
|
|
|
2015-05-18 18:00:12 +02:00
|
|
|
|
2015-05-18 09:31:22 +02:00
|
|
|
class AscribeApp extends React.Component {
|
2015-05-18 18:00:12 +02:00
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
<h1>ascribe all the things!</h1>
|
|
|
|
<Link to="artworks">artworks</Link>
|
|
|
|
<RouteHandler />
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
2015-05-13 16:26:12 +02:00
|
|
|
};
|
|
|
|
|
2015-05-18 09:31:22 +02:00
|
|
|
export default AscribeApp;
|