mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 20:16:39 -04:00
35 lines
No EOL
681 B
JavaScript
35 lines
No EOL
681 B
JavaScript
import { Components, registerComponent } from 'meteor/vulcan:core';
|
|
import React, { PropTypes, Component } from 'react';
|
|
|
|
class Layout extends Component {
|
|
|
|
render() {
|
|
return (
|
|
<div className="wrapper" id="wrapper">
|
|
|
|
<Components.HeadTags />
|
|
|
|
<Components.UsersProfileCheck {...this.props} />
|
|
|
|
<Components.Header {...this.props}/>
|
|
|
|
<div className="main">
|
|
|
|
<Components.FlashMessages />
|
|
|
|
<Components.Newsletter />
|
|
|
|
{this.props.children}
|
|
|
|
</div>
|
|
|
|
<Components.Footer {...this.props}/>
|
|
|
|
</div>
|
|
)
|
|
}
|
|
}
|
|
|
|
Layout.displayName = "Layout";
|
|
|
|
registerComponent('Layout', Layout); |