mirror of https://github.com/sgoudham/carbon.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
567 B
JavaScript
28 lines
567 B
JavaScript
import React from 'react'
|
|
import Meta from './Meta'
|
|
import Header from './Header'
|
|
import Footer from './Footer'
|
|
|
|
export default ({ children, enableHeroText }) => (
|
|
<div className="main mt4 mb4">
|
|
<Meta />
|
|
<Header enableHeroText={enableHeroText} />
|
|
<div className="page">
|
|
{ children }
|
|
</div>
|
|
|
|
<Footer />
|
|
|
|
<style jsx>{`
|
|
.main {
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
min-width: 848px;
|
|
min-height: 704px;
|
|
}
|
|
`}</style>
|
|
</div>
|
|
)
|