forked from DebaucheryLibrarian/traxxx
31 lines
578 B
JavaScript
31 lines
578 B
JavaScript
'use strict';
|
|
|
|
const React = require('react');
|
|
const PropTypes = require('prop-types');
|
|
|
|
const Layout = ({ children }) => (
|
|
<html lang="en">
|
|
<head>
|
|
<title>Porn Radar</title>
|
|
|
|
<link href="/css/style.css" rel="stylesheet" />
|
|
</head>
|
|
|
|
<body>
|
|
<header>
|
|
<h1>Porn Radar</h1>
|
|
</header>
|
|
|
|
<div className="content">
|
|
{children}
|
|
</div>
|
|
</body>
|
|
</html>
|
|
);
|
|
|
|
Layout.propTypes = {
|
|
children: PropTypes.node.isRequired,
|
|
};
|
|
|
|
module.exports = Layout;
|