weddingsite/components/Layout.js

21 lines
351 B
JavaScript
Raw Normal View History

2021-06-04 00:58:40 +00:00
import React from 'react';
import Head from 'next/head';
import PropTypes from 'prop-types';
const Layout = ({ children }) => (
<>
<Head>
<title>NN By the Sea</title>
</Head>
<main>
<div className="container">{children}</div>
</main>
</>
);
export default Layout;
Layout.propTypes = {
children: PropTypes.node,
};