mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
29 lines
703 B
JavaScript
29 lines
703 B
JavaScript
'use strict';
|
|
|
|
import React from 'react';
|
|
import Router from 'react-router';
|
|
import Header from '../components/header';
|
|
import Footer from '../components/footer';
|
|
import GlobalNotification from './global_notification';
|
|
|
|
import getRoutes from '../routes';
|
|
|
|
|
|
let RouteHandler = Router.RouteHandler;
|
|
|
|
let AscribeApp = React.createClass({
|
|
render() {
|
|
return (
|
|
<div className="container ascribe-default-app">
|
|
<Header routes={getRoutes()} />
|
|
<RouteHandler />
|
|
<Footer />
|
|
<GlobalNotification />
|
|
<div id="modal" className="container"></div>
|
|
</div>
|
|
);
|
|
}
|
|
});
|
|
|
|
export default AscribeApp;
|