2020-04-27 17:42:40 +00:00
|
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
|
|
function Footer({ siteConfig }) {
|
2020-08-16 23:41:33 +00:00
|
|
|
|
const { customFields, organizationName } = siteConfig;
|
2020-04-27 17:42:40 +00:00
|
|
|
|
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.
|
2020-04-27 17:42:40 +00:00
|
|
|
|
</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>
|
2020-04-27 17:42:40 +00:00
|
|
|
|
<li><a href="https://hackerone.com/yahoo/">Security Contact Info</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<p className="legal-copyright">
|
|
|
|
|
© 2014 - Present Yahoo! Inc. All rights reserved.
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default Footer;
|