2017-03-23 16:27:59 +09:00
|
|
|
import { Components, registerComponent } from 'meteor/vulcan:core';
|
2016-04-25 17:02:41 +09:00
|
|
|
import React, { PropTypes, Component } from 'react';
|
2016-03-30 10:52:40 +09:00
|
|
|
|
2016-04-25 17:02:41 +09:00
|
|
|
class Layout extends Component {
|
2016-02-16 15:08:30 +09:00
|
|
|
|
2016-04-25 17:02:41 +09:00
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<div className="wrapper" id="wrapper">
|
2016-03-25 10:45:28 +09:00
|
|
|
|
2016-12-06 18:06:29 +01:00
|
|
|
<Components.HeadTags />
|
2016-04-13 08:43:43 +02:00
|
|
|
|
2016-12-06 18:06:29 +01:00
|
|
|
<Components.UsersProfileCheck {...this.props} />
|
2016-04-15 11:09:19 +02:00
|
|
|
|
2016-12-06 18:06:29 +01:00
|
|
|
<Components.Header {...this.props}/>
|
2016-04-25 17:02:41 +09:00
|
|
|
|
|
|
|
<div className="main">
|
2016-03-25 10:45:28 +09:00
|
|
|
|
2016-12-08 09:42:50 +01:00
|
|
|
<Components.FlashMessages />
|
2016-03-25 11:30:01 +09:00
|
|
|
|
2016-12-06 18:06:29 +01:00
|
|
|
<Components.Newsletter />
|
2016-03-25 10:45:28 +09:00
|
|
|
|
2016-04-25 17:02:41 +09:00
|
|
|
{this.props.children}
|
2016-03-25 10:45:28 +09:00
|
|
|
|
2016-04-25 17:02:41 +09:00
|
|
|
</div>
|
|
|
|
|
2016-12-06 18:06:29 +01:00
|
|
|
<Components.Footer {...this.props}/>
|
2016-04-25 17:02:41 +09:00
|
|
|
|
2016-02-19 09:54:13 +09:00
|
|
|
</div>
|
2016-04-25 17:02:41 +09:00
|
|
|
)
|
|
|
|
}
|
2016-02-16 15:08:30 +09:00
|
|
|
}
|
|
|
|
|
2016-05-22 16:42:24 +09:00
|
|
|
Layout.displayName = "Layout";
|
|
|
|
|
2016-12-06 18:06:29 +01:00
|
|
|
registerComponent('Layout', Layout);
|