rickvanlieshout.com/pages/_template.jsx

28 lines
630 B
React
Raw Normal View History

2016-03-11 23:28:19 +01:00
import React from 'react'
import { Link } from 'react-router'
2016-06-03 01:32:38 +02:00
import { prefixLink } from 'gatsby-helpers'
2016-03-11 23:28:19 +01:00
import { config } from 'config'
import '../static/css/reset.css'
2016-06-03 01:32:38 +02:00
import '../static/css/base.css'
2016-03-11 23:28:19 +01:00
import '../static/css/typography.css'
class Template extends React.Component {
2016-03-21 18:03:01 +01:00
render() {
const {location, children} = this.props
return (
<div className='wrapper'>
{ children }
</div>
);
}
2016-03-11 23:28:19 +01:00
}
Template.propTypes = {
2016-03-21 18:03:01 +01:00
children: React.PropTypes.any,
location: React.PropTypes.object,
route: React.PropTypes.object,
2016-03-11 23:28:19 +01:00
}
export default Template