import logo from 'assets/images/logo-mycrypto.svg'; import { donationAddressMap, VERSION, knowledgeBaseURL, socialMediaLinks, productLinks, affiliateLinks, partnerLinks } from 'config'; import React from 'react'; import PreFooter from './PreFooter'; import DisclaimerModal from 'components/DisclaimerModal'; import { NewTabLink } from 'components/ui'; import OnboardModal from 'containers/OnboardModal'; import './index.scss'; import { translateRaw } from 'translations'; const SocialMediaLink = ({ link, text }: { link: string; text: string }) => { return ( ); }; interface Props { latestBlock: string; } interface State { isDisclaimerOpen: boolean; } export default class Footer extends React.PureComponent { public state: State = { isDisclaimerOpen: false }; public render() { return (
{socialMediaLinks.map((socialMediaItem, idx) => ( ))}
{productLinks.map(link => ( {link.text} ))} {translateRaw('FOOTER_PRESS')}
MyCrypto logo
MyCrypto.com {translateRaw('FOOTER_SUPPORT')} {translateRaw('FOOTER_TEAM')}

{translateRaw('FOOTER_ABOUT')}

© {new Date().getFullYear()} MyCrypto, Inc.
v{VERSION}
{translateRaw('FOOTER_AFFILIATE_TITLE')}
{affiliateLinks.map((link, i) => ( {link.text} ))}
{translateRaw('DONATE_CURRENCY', { $currency: 'ETH' })}
{donationAddressMap.ETH}
{translateRaw('DONATE_CURRENCY', { $currency: 'BTC' })}
{donationAddressMap.BTC}
{partnerLinks.map((link, i) => ( {link.text} ))}
); } private toggleModal = () => { this.setState(state => { this.setState({ isDisclaimerOpen: !state.isDisclaimerOpen }); }); }; }