import logo from 'assets/images/logo-myetherwallet.svg'; import { bityReferralURL, ledgerReferralURL, trezorReferralURL, bitboxReferralURL, donationAddressMap, VERSION, knowledgeBaseURL } from 'config'; import React from 'react'; import translate from 'translations'; import './index.scss'; import PreFooter from './PreFooter'; import Modal, { IButton } from 'components/ui/Modal'; import { NewTabLink } from 'components/ui'; import OnboardModal from 'containers/OnboardModal'; const AffiliateTag = ({ link, text }: Link) => { return (
  • {text}
  • ); }; const SocialMediaLink = ({ link, text }: Link) => { return ( ); }; const SOCIAL_MEDIA: Link[] = [ { link: 'https://myetherwallet.herokuapp.com/', text: 'slack' }, { link: 'https://www.reddit.com/r/MyEtherWallet/', text: 'reddit' }, { link: 'https://twitter.com/myetherwallet', text: 'twitter' }, { link: 'https://www.facebook.com/MyEtherWallet', text: 'facebook' }, { link: 'https://medium.com/@myetherwallet', text: 'medium' }, { link: 'https://www.linkedin.com/company/myetherwallet/', text: 'linkedin' }, { link: 'https://github.com/MyEtherWallet', text: 'github' } ]; const PRODUCT_INFO: Link[] = [ { link: 'https://github.com/MyEtherWallet/MyEtherWallet', text: 'Github: Current Site' }, { link: 'https://github.com/MyEtherWallet', text: 'Github: MEW Org' }, { link: 'https://github.com/MyEtherWallet/MyEtherWallet/releases/latest', text: 'Github: Latest Release' }, { link: 'https://chrome.google.com/webstore/detail/myetherwallet-cx/nlbmnnijcnlegkjjpcfjclmcfggfefdm?hl=en', text: 'MyEtherWallet Extension' }, { link: 'https://chrome.google.com/webstore/detail/etheraddresslookup/pdknmigbbbhmllnmgdfalmedcmcefdfn', text: 'Anti - Phishing Extension' } ]; interface Link { link: string; text: string; } interface Props { latestBlock: string; } interface State { isOpen: boolean; } export default class Footer extends React.Component { constructor(props: Props) { super(props); this.state = { isOpen: false }; } public openModal = () => { this.setState({ isOpen: true }); }; public closeModal = () => { this.setState({ isOpen: false }); }; public render() { const buttons: IButton[] = [{ text: 'Okay', type: 'default', onClick: this.closeModal }]; return (
    ); } }