1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-24 18:36:10 +01:00
onion/js/components/whitelabel/prize/app.js
Tim Daubenschütz ff64734545 styling
2015-07-14 17:41:57 +02:00

35 lines
773 B
JavaScript

'use strict';
import React from 'react';
import Router from 'react-router';
import Hero from './components/hero';
import Header from '../../header';
// import Footer from '../../footer';
import GlobalNotification from '../../global_notification';
let RouteHandler = Router.RouteHandler;
let PrizeApp = React.createClass({
mixins: [Router.State],
render() {
let header = null;
if (this.isActive('pieces')) {
header = null;
}
return (
<div className="wp">
<Hero />
{header}
<RouteHandler />
<GlobalNotification />
<div id="modal" className="container"></div>
</div>
);
}
});
export default PrizeApp;