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