You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
492 B
23 lines
492 B
import React from 'react'
|
|
import GalleryHeader from './gallery-header.js'
|
|
import Footer from './footer.js'
|
|
|
|
export default class extends React.Component {
|
|
render () {
|
|
const { tab, children } = this.props
|
|
return (
|
|
<div>
|
|
<GalleryHeader current={tab} />
|
|
<div className='content'>
|
|
{children}
|
|
</div>
|
|
<Footer />
|
|
<style jsx>{`
|
|
.content {
|
|
padding: 5rem 0;
|
|
}
|
|
`}</style>
|
|
</div>
|
|
)
|
|
}
|
|
}
|
|
|