import logo from 'assets/images/logo-myetherwallet.svg'; import { bityReferralURL, donationAddressMap } from 'config/data'; import React, { Component } from 'react'; import translate from 'translations'; import './index.scss'; import PreFooter from './PreFooter'; import Modal, { IButton } from 'components/ui/Modal'; const LINKS_LEFT = [ { text: 'Knowledge Base', href: 'https://myetherwallet.groovehq.com/help_center' }, { text: 'Helpers & ENS Debugging', href: 'https://www.myetherwallet.com/helpers.html' }, { text: 'Sign Message', href: 'https://www.myetherwallet.com/signmsg.html' } ]; const LINKS_SUPPORT = [ { href: bityReferralURL, text: 'Swap ETH/BTC/EUR/CHF via Bity.com' }, { href: 'https://www.ledgerwallet.com/r/fa4b?path=/products/', text: 'Buy a Ledger Nano S' }, { href: 'https://trezor.io/?a=myetherwallet.com', text: 'Buy a TREZOR' }, { href: 'https://digitalbitbox.com/?ref=mew', text: 'Buy a Digital Bitbox' } ]; const LINKS_RIGHT = [ { href: 'https://www.MyEtherWallet.com', text: 'MyEtherWallet.com' }, { href: 'https://github.com/MyEtherWallet/MyEtherWallet', text: 'Github: Current Site' }, { href: 'https://github.com/MyEtherWallet', text: 'Github: MEW Org' }, { href: 'https://github.com/MyEtherWallet/MyEtherWallet/releases/latest', text: 'Github: Latest Release' }, { href: 'https://chrome.google.com/webstore/detail/myetherwallet-cx/nlbmnnijcnlegkjjpcfjclmcfggfefdm?hl=en', text: 'MyEtherWallet CX' }, { href: 'https://chrome.google.com/webstore/detail/etheraddresslookup/pdknmigbbbhmllnmgdfalmedcmcefdfn', text: 'Anti-Phishing CX' } ]; const LINKS_SOCIAL = [ { href: 'https://myetherwallet.herokuapp.com/', text: 'Slack' }, { href: 'https://www.reddit.com/r/MyEtherWallet/', text: 'Reddit' }, { href: 'https://twitter.com/myetherwallet', text: 'Twitter' }, { href: 'https://www.facebook.com/MyEtherWallet/', text: 'Facebook' }, { href: 'https://medium.com/@myetherwallet', text: 'Medium' } ]; interface ComponentState { isOpen: boolean; } export default class Footer extends React.Component<{}, ComponentState> { constructor(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 (
); } }