mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-01-09 05:22:41 +01:00
16 lines
358 B
JavaScript
16 lines
358 B
JavaScript
|
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>
|
||
|
<title>{title}</title>
|
||
|
<meta name="description" content={description} />
|
||
|
</Helmet>
|
||
|
{children}
|
||
|
</div>
|
||
|
);
|
||
|
|
||
|
export default Layout;
|