🔖 Upgrade to Gatsby 1.8.12

This commit is contained in:
wpioneer
2017-08-20 14:43:49 +03:00
parent 88481e75f0
commit a2f8738ea6
115 changed files with 4734 additions and 5018 deletions

24
src/layouts/index.jsx Normal file
View File

@@ -0,0 +1,24 @@
import React from 'react';
import PropTypes from 'prop-types';
import Helmet from 'react-helmet';
import 'typeface-roboto';
import '../assets/scss/init.scss';
class Layout extends React.Component {
render() {
const { children } = this.props;
return (
<div className="layout">
<Helmet defaultTitle="Blog by John Doe" />
{children()}
</div>
);
}
}
Layout.propTypes = {
children: PropTypes.func
};
export default Layout;