mirror of
https://github.com/kingomarnajjar/innovationdrive.git
synced 2026-07-26 06:37:28 +10:00
20 lines
409 B
JavaScript
Executable file
20 lines
409 B
JavaScript
Executable file
import React from 'react'
|
|
import PropTypes from 'prop-types'
|
|
import Helmet from 'react-helmet'
|
|
|
|
import Navbar from '../components/Navbar'
|
|
import './all.sass'
|
|
|
|
const TemplateWrapper = ({ children }) => (
|
|
<div>
|
|
<Helmet title="Home | Gatsby + Netlify CMS" />
|
|
<Navbar />
|
|
<div>{children()}</div>
|
|
</div>
|
|
)
|
|
|
|
TemplateWrapper.propTypes = {
|
|
children: PropTypes.func,
|
|
}
|
|
|
|
export default TemplateWrapper
|