rickvanlieshout.com/pages/_template.jsx
2016-06-03 02:32:38 +03:00

28 lines
630 B
JavaScript

import React from 'react'
import { Link } from 'react-router'
import { prefixLink } from 'gatsby-helpers'
import { config } from 'config'
import '../static/css/reset.css'
import '../static/css/base.css'
import '../static/css/typography.css'
class Template extends React.Component {
render() {
const {location, children} = this.props
return (
<div className='wrapper'>
{ children }
</div>
);
}
}
Template.propTypes = {
children: React.PropTypes.any,
location: React.PropTypes.object,
route: React.PropTypes.object,
}
export default Template