2020-01-07 20:23:53 +00:00
|
|
|
import React from 'react';
|
|
|
|
|
import PropTypes from 'prop-types';
|
|
|
|
|
import Header from './header';
|
|
|
|
|
import 'normalize.css';
|
|
|
|
|
|
2023-02-20 20:41:29 +00:00
|
|
|
export default function Layout({ children }) {
|
2020-01-07 20:23:53 +00:00
|
|
|
return (
|
2023-02-21 19:34:15 +00:00
|
|
|
<main className="Main">
|
|
|
|
|
<Header />
|
|
|
|
|
{children}
|
|
|
|
|
<footer>
|
|
|
|
|
<center ya-i-used-a-center-tag="sue me">
|
|
|
|
|
<p>
|
|
|
|
|
Made by <a href="https://wesbos.com">Wes Bos</a> with{" "}
|
|
|
|
|
<a href="https://www.remix.run">Remix</a> ©{" "}
|
|
|
|
|
{new Date().getFullYear()}
|
|
|
|
|
</p>
|
|
|
|
|
<p>
|
|
|
|
|
Source on{" "}
|
|
|
|
|
<a href="https://github.com/wesbos/awesome-uses/">GitHub</a>. Add
|
|
|
|
|
yourself!
|
|
|
|
|
</p>
|
|
|
|
|
<p>
|
|
|
|
|
Icons from <a href="https://icons8.com">icons8.com</a>
|
|
|
|
|
</p>
|
|
|
|
|
<p>
|
|
|
|
|
Domain provided by <a href="https://get.tech/">.Tech</a>
|
|
|
|
|
</p>
|
|
|
|
|
<p>
|
|
|
|
|
Hosted on <a href="https://netlify.com">Netlify</a>
|
|
|
|
|
</p>
|
|
|
|
|
<p suppressHydrationWarning>Rendered Fresh</p>
|
|
|
|
|
</center>
|
|
|
|
|
</footer>
|
|
|
|
|
</main>
|
2020-01-07 20:23:53 +00:00
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
Layout.propTypes = {
|
|
|
|
|
children: PropTypes.node.isRequired,
|
|
|
|
|
};
|