2016-03-30 09:24:52 +09:00
|
|
|
import React from 'react';
|
|
|
|
|
2016-03-30 10:52:40 +09:00
|
|
|
import Core from "meteor/nova:core";
|
|
|
|
const FlashContainer = Core.FlashContainer;
|
|
|
|
|
2016-02-16 15:08:30 +09:00
|
|
|
const Layout = props => {
|
|
|
|
|
2016-04-19 15:45:36 +09:00
|
|
|
({Header, Footer, FlashMessages, Newsletter, HeadTags, UserProfileCheck} = Telescope.components);
|
2016-02-16 15:08:30 +09:00
|
|
|
|
|
|
|
return (
|
2016-02-18 16:26:52 +09:00
|
|
|
<div className="wrapper" id="wrapper">
|
2016-03-25 10:45:28 +09:00
|
|
|
|
2016-04-13 08:43:43 +02:00
|
|
|
<HeadTags />
|
|
|
|
|
2016-04-15 11:09:19 +02:00
|
|
|
<UserProfileCheck {...props} />
|
|
|
|
|
2016-02-23 11:34:40 +09:00
|
|
|
<Header {...props}/>
|
2016-03-25 10:45:28 +09:00
|
|
|
|
2016-02-19 09:54:13 +09:00
|
|
|
<div className="main">
|
2016-03-25 10:45:28 +09:00
|
|
|
|
2016-03-25 11:30:01 +09:00
|
|
|
<FlashContainer component={FlashMessages}/>
|
|
|
|
|
2016-04-19 15:45:36 +09:00
|
|
|
<Newsletter />
|
2016-03-25 10:45:28 +09:00
|
|
|
|
2016-02-19 09:54:13 +09:00
|
|
|
{props.children}
|
2016-03-25 10:45:28 +09:00
|
|
|
|
2016-02-19 09:54:13 +09:00
|
|
|
</div>
|
2016-03-25 10:45:28 +09:00
|
|
|
|
2016-02-23 11:34:40 +09:00
|
|
|
<Footer {...props}/>
|
2016-03-25 10:45:28 +09:00
|
|
|
|
2016-02-16 15:08:30 +09:00
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = Layout;
|