mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
39 lines
No EOL
721 B
JavaScript
39 lines
No EOL
721 B
JavaScript
import React, { PropTypes, Component } from 'react';
|
|
|
|
import Core from "meteor/nova:core";
|
|
const FlashContainer = Core.FlashContainer;
|
|
|
|
class Layout extends Component {
|
|
|
|
render() {
|
|
|
|
({Header, Footer, FlashMessages, Newsletter, HeadTags, UsersProfileCheck} = Telescope.components);
|
|
|
|
return (
|
|
<div className="wrapper" id="wrapper">
|
|
|
|
<HeadTags />
|
|
|
|
<UsersProfileCheck {...this.props} />
|
|
|
|
<Header {...this.props}/>
|
|
|
|
<div className="main">
|
|
|
|
<FlashContainer component={FlashMessages}/>
|
|
|
|
<Newsletter />
|
|
|
|
{this.props.children}
|
|
|
|
</div>
|
|
|
|
<Footer {...this.props}/>
|
|
|
|
</div>
|
|
)
|
|
|
|
}
|
|
}
|
|
|
|
module.exports = Layout; |