Files
shields/frontend/components/footer.js
T
DanialandThaddée Tyl 9aafe86247 Show logos by default on social badges (regression fix) (#1456)
* Show logos on social badges

* Revert "Showcase logos in social badges on the front page"

This reverts commit 61fa22b7e4.

* Update footer badges to all be social style

as per reverted commit https://github.com/badges/shields/commit/61fa22b7e4d7986e94b826e39db95f1f6910c2a7
2018-01-21 23:57:58 +01:00

42 lines
1.5 KiB
JavaScript

import React from 'react';
import PropTypes from 'prop-types';
import resolveUrl from '../lib/resolve-url';
const Footer = ({ baseUri }) => (
<section>
<h2 id="like-this">Like This?</h2>
<p>
What is your favorite badge service to use?<br />
<a href="https://github.com/badges/shields/blob/master/CONTRIBUTING.md">Tell us</a> and we might bring it to you!
</p>
<p>
<object
data={resolveUrl('/twitter/follow/shields_io.svg?style=social&label=Follow', baseUri)}
alt="Follow @shields_io" /> {}
<a href="https://opencollective.com/shields" alt="Donate to us!">
<img src="https://opencollective.com/shields/backers/badge.svg?style=social" />
</a> {}
<a href="https://opencollective.com/shields" alt="Donate to us!">
<img src="https://opencollective.com/shields/sponsors/badge.svg?style=social" />
</a> {}
<object
data={resolveUrl('/github/forks/badges/shields.svg?style=social&label=Fork', baseUri)}
alt="Fork on GitHub" /> {}
<object
data={resolveUrl('/discord/308323056592486420.svg?style=social&label=Chat&link=https://discord.gg/HjJCwm5', baseUri)}
alt="chat on Discord" />
</p>
<p>
<a href="https://github.com/h5bp/lazyweb-requests/issues/150">This</a> is
where the current server got started.
</p>
<p><small>:wq</small></p>
</section>
);
export default Footer;
Footer.propTypes = {
baseUri: PropTypes.string.isRequired,
};