import React from 'react'; import { donationAddressMap, socialMediaLinks, productLinks, affiliateLinks, VERSION } from 'config'; import translate from 'translations'; import TabSection from 'containers/TabSection'; import DisclaimerModal from 'components/DisclaimerModal'; import { NewTabLink } from 'components/ui'; import './index.scss'; interface State { isDisclaimerOpen: boolean; } export default class SupportPage extends React.Component<{}, State> { public state: State = { isDisclaimerOpen: false }; public render() { const donationCurrencies: ['ETH', 'BTC'] = ['ETH', 'BTC']; return (

{translate('FOOTER_ABOUT')}

{socialMediaLinks.map(link => ( ))}
© {new Date().getFullYear()} MyCrypto, Inc.
v{VERSION}

{translate('FOOTER_OTHER_APPS')}

{productLinks.map(link => ( {link.text} ))}

{translate('FOOTER_AFFILIATE_TITLE')}

{affiliateLinks.map(link => ( {link.text} ))}

{translate('FOOTER_DONATIONS')}

{donationCurrencies.map(currency => (
{`${currency} `} {translate('TOKEN_ADDR')}
{donationAddressMap[currency]}
))}
); } private openDisclaimer = () => this.setState({ isDisclaimerOpen: true }); private closeDisclaimer = () => this.setState({ isDisclaimerOpen: false }); }