1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00
onion/js/components/footer.js
2016-02-05 10:38:59 +01:00

36 lines
1.8 KiB
JavaScript

'use strict';
import React from 'react';
import { getLangText } from '../utils/lang_utils';
let Footer = React.createClass({
propTypes: {
activeRoute: React.PropTypes.object.isRequired
},
render() {
return !this.props.activeRoute.hideFooter ? (
<div className="ascribe-footer hidden-print">
<p className="ascribe-sub-sub-statement">
<br />
<a href="http://docs.ascribe.apiary.io/" target="_blank">api</a> |
<a href="https://www.ascribe.io/faq/" target="_blank"> {getLangText('faq')}</a> |
<a href="https://www.ascribe.io/imprint/" target="_blank"> {getLangText('imprint')}</a> |
<a href="https://www.ascribe.io/terms/" target="_blank"> {getLangText('terms of service')}</a> |
<a href="https://www.ascribe.io/privacy/" target="_blank"> {getLangText('privacy')}</a>
</p>
<p className="social-icons-wrapper">
<a href="https://twitter.com/ascribeIO" className="social social-twitter" target="_blank"></a>
<a href="https://www.facebook.com/ascribeio" className="social social-facebook" target="_blank"></a>
<a href="https://github.com/ascribe" className="social social-github" target="_blank"></a>
<a href="http://ascribe-io.tumblr.com/" className="social social-tumblr" target="_blank"></a>
<a href="https://www.linkedin.com/company/4816284?trk=vsrp_companies_res_name&trkInfo=VSRPsearchId%3A122827941425632318075%2CVSRPtargetId%3A4816284%2CVSRPcmpt%3Aprimary" className="social social-linked-in" target="_blank"></a>
</p>
</div>
) : null;
}
});
export default Footer;