awesome-uses/src/components/layout.js

42 lines
1.1 KiB
JavaScript
Raw Normal View History

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-20 20:41:29 +00:00
<main className="Main">
<Header />
2020-01-07 20:23:53 +00:00
{children}
<footer>
2020-01-08 18:32:10 +00:00
<center ya-i-used-a-center-tag="sue me">
<p>
Made by <a href="https://wesbos.com">Wes Bos</a> with{' '}
2023-02-20 20:41:29 +00:00
<a href="https://www.remix.run">Remix</a> ©{' '}
{new Date().getFullYear()}
2020-01-08 18:32:10 +00:00
</p>
<p>
Source on{' '}
<a href="https://github.com/wesbos/awesome-uses/">GitHub</a>. Add
yourself!
</p>
<p>
2020-01-09 15:56:06 +00:00
Icons from <a href="https://icons8.com">icons8.com</a>
2020-01-08 18:32:10 +00:00
</p>
<p>
Domain provided by <a href="https://get.tech/">.Tech</a>
</p>
2020-01-09 15:54:54 +00:00
<p>
Hosted on <a href="https://netlify.com">Netlify</a>
</p>
2023-02-21 19:23:59 +00:00
<p>Rendered Fresh</p>
2020-01-08 18:32:10 +00:00
</center>
2020-01-07 20:23:53 +00:00
</footer>
2023-02-20 20:41:29 +00:00
</main>
2020-01-07 20:23:53 +00:00
);
};
Layout.propTypes = {
children: PropTypes.node.isRequired,
};