import React from 'react'; import { translateRaw } from 'translations'; import logo from 'assets/images/logo-mycrypto.svg'; import { donationAddressMap, VERSION, knowledgeBaseURL, socialMediaLinks, productLinks, affiliateLinks, partnerLinks } from 'config'; import DisclaimerModal from 'components/DisclaimerModal'; import { NewTabLink } from 'components/ui'; import PreFooter from './PreFooter'; import ThemeToggle from './ThemeToggle'; import './index.scss'; 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_PRIVACY_POLICY')}

{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 }); }); }; }