pure/site/components/Footer.js

29 lines
1.2 KiB
JavaScript
Raw Normal View History

import React from 'react';
function Footer({ siteConfig }) {
2020-08-16 23:41:33 +00:00
const { customFields, organizationName } = siteConfig;
return (
<div className="footer">
<div className="legal pure-g">
<div className="pure-u-1 u-sm-1-2">
<p className="legal-license">
This site is built with using Pure v{customFields.pureVersion}<br />
2020-08-16 23:41:33 +00:00
All code on this site is licensed under the <a href={`https://github.com/${organizationName}/${customFields.repoName}/blob/master/LICENSE`}>Yahoo BSD License</a> unless otherwise stated.
</p>
</div>
<div className="pure-u-1 u-sm-1-2">
<ul className="legal-links">
2020-08-16 23:41:33 +00:00
<li><a href={`https://github.com/${organizationName}/${customFields.repoName}/`}>GitHub Project</a></li>
<li><a href="https://hackerone.com/yahoo/">Security Contact Info</a></li>
</ul>
<p className="legal-copyright">
2022-01-27 17:10:41 +00:00
&copy; 2014 - Present Yahoo Inc. All rights reserved.
</p>
</div>
</div>
</div>
);
}
export default Footer;