2016-02-16 15:08:30 +09:00
|
|
|
const Layout = props => {
|
|
|
|
|
2016-03-07 18:01:39 +01:00
|
|
|
const HeadTags = Telescope.getComponent("HeadTags");
|
2016-02-16 15:08:30 +09:00
|
|
|
const Header = Telescope.getComponent("Header");
|
|
|
|
const Footer = Telescope.getComponent("Footer");
|
|
|
|
|
|
|
|
return (
|
2016-02-18 16:26:52 +09:00
|
|
|
<div className="wrapper" id="wrapper">
|
2016-03-07 18:01:39 +01:00
|
|
|
<HeadTags/>
|
2016-02-23 11:34:40 +09:00
|
|
|
<Header {...props}/>
|
2016-02-19 09:54:13 +09:00
|
|
|
<div className="main">
|
|
|
|
{props.children}
|
|
|
|
</div>
|
2016-02-23 11:34:40 +09:00
|
|
|
<Footer {...props}/>
|
2016-02-16 15:08:30 +09:00
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = Layout;
|