rickvanlieshout.com/src/components/Layout/Layout.js

17 lines
383 B
JavaScript
Raw Normal View History

2018-11-09 18:08:48 +01:00
import React from 'react';
import Helmet from 'react-helmet';
import styles from './Layout.module.scss';
const Layout = ({ children, title, description }) => (
<div className={styles.layout}>
<Helmet>
2019-02-09 23:50:54 +01:00
<html lang="en" />
2018-11-09 18:08:48 +01:00
<title>{title}</title>
<meta name="description" content={description} />
</Helmet>
{children}
</div>
);
export default Layout;