MyCrypto/common/components/Footer/index.jsx

203 lines
6.6 KiB
React
Raw Normal View History

import React, { Component } from 'react';
import translate, { getTranslators } from 'translations';
import { DONATION_ADDRESSES_MAP } from 'config/data';
2017-04-12 05:04:27 +00:00
export default class Footer extends Component {
render() {
const translators = getTranslators();
return (
<footer role="contentinfo" aria-label="footer">
<div className="container">
<section className="row">
<section className="row">
<div className="col-sm-3 footer-1">
<p aria-hidden="true">
<a href="/">
{/* TODO - don't hardcode image path*/}
<img
src={
'https://www.myetherwallet.com/images/logo-myetherwallet.svg'
}
height="55px"
width="auto"
alt="Ether Wallet"
/>
</a>
</p>
<p>
<span>{translate('FOOTER_1')}</span>
<span>{translate('FOOTER_1b')}</span>
<a
aria-label="kvhnuke's github"
href="https://github.com/kvhnuke"
target="_blank"
>
kvhnuke
</a>
{' & '}
<a
aria-label="tayvano's github"
href="https://github.com/tayvano"
target="_blank"
>
tayvano
</a>.
</p>
<br />
</div>
<div className="col-sm-6 footer-2">
<h5><i aria-hidden="true">💝</i>{translate('FOOTER_2')}</h5>
<ul>
<li>
{' '}ETH:{' '}
<span className="mono wrap">
{DONATION_ADDRESSES_MAP.ETH}
</span>
</li>
<li>
{' '}BTC:{' '}
<span className="mono wrap">
{DONATION_ADDRESSES_MAP.BTC}
</span>
</li>
</ul>
2017-04-12 05:04:27 +00:00
<h5>
<i aria-hidden="true">👫</i>{translate('ADD_Warning_1')}
</h5>
<p>Consider using our affiliate links to...</p>
<ul>
<li>
<a
aria-label="Swap Ether or Bitcoin via Bity.com"
href="https://bity.com/af/jshkb37v"
target="_blank"
>
Swap ETH/BTC/EUR/CHF via
Bity.com
</a>
</li>
<li>
<a
href="https://www.ledgerwallet.com/r/fa4b?path=/products/"
target="_blank"
>
Buy
a
Ledger Nano S
</a>
</li>
<li>
<a
href="https://trezor.io/?a=myetherwallet.com"
target="_blank"
>
Buy a
TREZOR
</a>
</li>
</ul>
2017-06-01 20:45:00 +00:00
{!!translators.length &&
<h5>
{' '}<i>🏅</i> <span>{translate('Translator_Desc')}</span>
</h5>}
{!!translators.length &&
<ul>
<li>
{translators.map(key =>
<span key={key}>{translate(key)}</span>
)}
</li>
</ul>}
</div>
<div className="col-sm-3 footer-3">
<h5><i aria-hidden="true">🌎</i> On the Web</h5>
<ul>
<li>
<a
aria-label="my ether wallet.com"
href="https://www.MyEtherWallet.com"
target="_blank"
>
www.MyEtherWallet.com
</a>
</li>
<li>
<a
aria-label="my ether wallet github"
href="https://github.com/kvhnuke/etherwallet"
target="_blank"
>
Github: MyEtherWallet.com & CX
</a>
</li>
<li>
<a
aria-label="our organization on github"
href="https://github.com/MyEtherWallet"
target="_blank"
>
Github: MyEtherWallet (Org)
</a>
</li>
<li>
<a
aria-label="join our slack"
href="https://myetherwallet.herokuapp.com/"
target="_blank"
>
Join Our Slack
</a>
</li>
<li>
<a
aria-label="twitter"
href="https://twitter.com/myetherwallet"
target="_blank"
>
Twitter
</a>
</li>
<li>
<a
aria-label="facebook"
href="https://www.facebook.com/MyEtherWallet/"
target="_blank"
>
Facebook
</a>
</li>
</ul>
2017-04-12 05:04:27 +00:00
<h5><i aria-hidden="true">🙏</i> Support</h5>
<ul>
<li>
<a
aria-label="email support at myetherwallet.com"
href="mailto:support@myetherwallet.com"
target="_blank"
>
Email
</a>
</li>
<li>
<a
aria-label="open a github issue"
href="https://github.com/kvhnuke/etherwallet/issues"
target="_blank"
>
Github
Issue
</a>
</li>
</ul>
</div>
</section>
</section>
</div>
</footer>
);
}
2017-04-12 05:04:27 +00:00
}