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