2018-02-07 04:28:28 +00:00
|
|
|
import logo from 'assets/images/logo-mycrypto.svg';
|
2017-11-28 05:43:30 +00:00
|
|
|
import {
|
|
|
|
ledgerReferralURL,
|
|
|
|
trezorReferralURL,
|
2018-02-10 18:56:05 +00:00
|
|
|
ethercardReferralURL,
|
2017-12-05 19:51:21 +00:00
|
|
|
donationAddressMap,
|
2017-12-06 23:04:57 +00:00
|
|
|
VERSION,
|
2018-02-27 21:35:32 +00:00
|
|
|
knowledgeBaseURL,
|
|
|
|
discordURL
|
2018-01-20 20:06:28 +00:00
|
|
|
} from 'config';
|
2017-10-19 02:29:49 +00:00
|
|
|
import React from 'react';
|
2017-09-25 02:06:28 +00:00
|
|
|
import PreFooter from './PreFooter';
|
2018-02-10 18:56:05 +00:00
|
|
|
import DisclaimerModal from './DisclaimerModal';
|
2017-11-28 05:43:30 +00:00
|
|
|
import { NewTabLink } from 'components/ui';
|
2018-01-11 18:13:14 +00:00
|
|
|
import OnboardModal from 'containers/OnboardModal';
|
2018-02-10 18:56:05 +00:00
|
|
|
import './index.scss';
|
2018-03-22 03:50:25 +00:00
|
|
|
import { translateRaw } from 'translations';
|
2017-11-28 05:43:30 +00:00
|
|
|
|
2017-12-19 22:46:34 +00:00
|
|
|
const SocialMediaLink = ({ link, text }: Link) => {
|
2017-11-28 05:43:30 +00:00
|
|
|
return (
|
2018-02-10 18:56:05 +00:00
|
|
|
<NewTabLink className="SocialMediaLink" key={link} href={link} aria-label={text}>
|
|
|
|
<i className={`sm-icon sm-logo-${text}`} />
|
2017-11-28 05:43:30 +00:00
|
|
|
</NewTabLink>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
const SOCIAL_MEDIA: Link[] = [
|
v3 Style Import (#151)
* Convert bootstrap to sass instead of checked in and less
* Darken body, adjust header.
* First pass at tab styles, each tab will need a lot of individual love tho.
* Update footer to main site content, improve responsiveness.
* Missing key added.
* Fix dropdowns.
* Convert GenerateWallet HTML over, still needs styling.
* Send form.
* Current rates styled.
* CurrencySwap form styles.
* SwapInfoHeader styled.
* Finish up swap restyling, minor usability improvements for mobile.
* Fix up notifications / alert customizations
* Import v3 variables.
* Fix notification spacing.
* Align input height base with buttons.
* Revert height base, add additional bootstrap overrides.
* Grid overrides.
* Move overrides to their own folder. Adjust naming.
* Fix inconsistencies.
* Style generate wallet pt 1.
* Style generate wallet pt 2
* Style generate wallet pt 3
* Fix swap
* Added some missing overries, fixed the fallout.
* Remove header text, indicate alpha version.
* Fix radio / checkbox weights.
* Bind => arrow
* Convert simpledropdown to proper form select, instead of weirdly implemented nonfuncitoning dropdown.
* Fix token balances buttons, footr icons.
2017-09-05 19:52:01 +00:00
|
|
|
{
|
2018-02-07 04:28:28 +00:00
|
|
|
link: 'https://twitter.com/mycrypto',
|
2017-11-28 05:43:30 +00:00
|
|
|
text: 'twitter'
|
|
|
|
},
|
v3 Style Import (#151)
* Convert bootstrap to sass instead of checked in and less
* Darken body, adjust header.
* First pass at tab styles, each tab will need a lot of individual love tho.
* Update footer to main site content, improve responsiveness.
* Missing key added.
* Fix dropdowns.
* Convert GenerateWallet HTML over, still needs styling.
* Send form.
* Current rates styled.
* CurrencySwap form styles.
* SwapInfoHeader styled.
* Finish up swap restyling, minor usability improvements for mobile.
* Fix up notifications / alert customizations
* Import v3 variables.
* Fix notification spacing.
* Align input height base with buttons.
* Revert height base, add additional bootstrap overrides.
* Grid overrides.
* Move overrides to their own folder. Adjust naming.
* Fix inconsistencies.
* Style generate wallet pt 1.
* Style generate wallet pt 2
* Style generate wallet pt 3
* Fix swap
* Added some missing overries, fixed the fallout.
* Remove header text, indicate alpha version.
* Fix radio / checkbox weights.
* Bind => arrow
* Convert simpledropdown to proper form select, instead of weirdly implemented nonfuncitoning dropdown.
* Fix token balances buttons, footr icons.
2017-09-05 19:52:01 +00:00
|
|
|
{
|
2018-02-07 04:28:28 +00:00
|
|
|
link: 'https://www.facebook.com/MyCrypto/',
|
2017-11-28 05:43:30 +00:00
|
|
|
text: 'facebook'
|
v3 Style Import (#151)
* Convert bootstrap to sass instead of checked in and less
* Darken body, adjust header.
* First pass at tab styles, each tab will need a lot of individual love tho.
* Update footer to main site content, improve responsiveness.
* Missing key added.
* Fix dropdowns.
* Convert GenerateWallet HTML over, still needs styling.
* Send form.
* Current rates styled.
* CurrencySwap form styles.
* SwapInfoHeader styled.
* Finish up swap restyling, minor usability improvements for mobile.
* Fix up notifications / alert customizations
* Import v3 variables.
* Fix notification spacing.
* Align input height base with buttons.
* Revert height base, add additional bootstrap overrides.
* Grid overrides.
* Move overrides to their own folder. Adjust naming.
* Fix inconsistencies.
* Style generate wallet pt 1.
* Style generate wallet pt 2
* Style generate wallet pt 3
* Fix swap
* Added some missing overries, fixed the fallout.
* Remove header text, indicate alpha version.
* Fix radio / checkbox weights.
* Bind => arrow
* Convert simpledropdown to proper form select, instead of weirdly implemented nonfuncitoning dropdown.
* Fix token balances buttons, footr icons.
2017-09-05 19:52:01 +00:00
|
|
|
},
|
|
|
|
{
|
2018-02-07 04:28:28 +00:00
|
|
|
link: 'https://medium.com/@mycrypto',
|
2017-11-28 05:43:30 +00:00
|
|
|
text: 'medium'
|
v3 Style Import (#151)
* Convert bootstrap to sass instead of checked in and less
* Darken body, adjust header.
* First pass at tab styles, each tab will need a lot of individual love tho.
* Update footer to main site content, improve responsiveness.
* Missing key added.
* Fix dropdowns.
* Convert GenerateWallet HTML over, still needs styling.
* Send form.
* Current rates styled.
* CurrencySwap form styles.
* SwapInfoHeader styled.
* Finish up swap restyling, minor usability improvements for mobile.
* Fix up notifications / alert customizations
* Import v3 variables.
* Fix notification spacing.
* Align input height base with buttons.
* Revert height base, add additional bootstrap overrides.
* Grid overrides.
* Move overrides to their own folder. Adjust naming.
* Fix inconsistencies.
* Style generate wallet pt 1.
* Style generate wallet pt 2
* Style generate wallet pt 3
* Fix swap
* Added some missing overries, fixed the fallout.
* Remove header text, indicate alpha version.
* Fix radio / checkbox weights.
* Bind => arrow
* Convert simpledropdown to proper form select, instead of weirdly implemented nonfuncitoning dropdown.
* Fix token balances buttons, footr icons.
2017-09-05 19:52:01 +00:00
|
|
|
},
|
|
|
|
{
|
2018-02-07 04:28:28 +00:00
|
|
|
link: 'https://www.linkedin.com/company/mycrypto',
|
2017-11-28 05:43:30 +00:00
|
|
|
text: 'linkedin'
|
v3 Style Import (#151)
* Convert bootstrap to sass instead of checked in and less
* Darken body, adjust header.
* First pass at tab styles, each tab will need a lot of individual love tho.
* Update footer to main site content, improve responsiveness.
* Missing key added.
* Fix dropdowns.
* Convert GenerateWallet HTML over, still needs styling.
* Send form.
* Current rates styled.
* CurrencySwap form styles.
* SwapInfoHeader styled.
* Finish up swap restyling, minor usability improvements for mobile.
* Fix up notifications / alert customizations
* Import v3 variables.
* Fix notification spacing.
* Align input height base with buttons.
* Revert height base, add additional bootstrap overrides.
* Grid overrides.
* Move overrides to their own folder. Adjust naming.
* Fix inconsistencies.
* Style generate wallet pt 1.
* Style generate wallet pt 2
* Style generate wallet pt 3
* Fix swap
* Added some missing overries, fixed the fallout.
* Remove header text, indicate alpha version.
* Fix radio / checkbox weights.
* Bind => arrow
* Convert simpledropdown to proper form select, instead of weirdly implemented nonfuncitoning dropdown.
* Fix token balances buttons, footr icons.
2017-09-05 19:52:01 +00:00
|
|
|
},
|
|
|
|
{
|
2018-02-07 04:28:28 +00:00
|
|
|
link: 'https://github.com/MyCryptoHQ',
|
2017-11-28 05:43:30 +00:00
|
|
|
text: 'github'
|
2018-02-10 18:56:05 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
link: 'https://www.reddit.com/r/mycrypto/',
|
|
|
|
text: 'reddit'
|
2018-02-27 21:35:32 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
link: discordURL,
|
|
|
|
text: 'discord'
|
v3 Style Import (#151)
* Convert bootstrap to sass instead of checked in and less
* Darken body, adjust header.
* First pass at tab styles, each tab will need a lot of individual love tho.
* Update footer to main site content, improve responsiveness.
* Missing key added.
* Fix dropdowns.
* Convert GenerateWallet HTML over, still needs styling.
* Send form.
* Current rates styled.
* CurrencySwap form styles.
* SwapInfoHeader styled.
* Finish up swap restyling, minor usability improvements for mobile.
* Fix up notifications / alert customizations
* Import v3 variables.
* Fix notification spacing.
* Align input height base with buttons.
* Revert height base, add additional bootstrap overrides.
* Grid overrides.
* Move overrides to their own folder. Adjust naming.
* Fix inconsistencies.
* Style generate wallet pt 1.
* Style generate wallet pt 2
* Style generate wallet pt 3
* Fix swap
* Added some missing overries, fixed the fallout.
* Remove header text, indicate alpha version.
* Fix radio / checkbox weights.
* Bind => arrow
* Convert simpledropdown to proper form select, instead of weirdly implemented nonfuncitoning dropdown.
* Fix token balances buttons, footr icons.
2017-09-05 19:52:01 +00:00
|
|
|
}
|
|
|
|
];
|
|
|
|
|
2017-11-28 05:43:30 +00:00
|
|
|
const PRODUCT_INFO: Link[] = [
|
2018-02-07 23:22:31 +00:00
|
|
|
{
|
2018-02-10 18:56:05 +00:00
|
|
|
link:
|
|
|
|
'https://chrome.google.com/webstore/detail/etheraddresslookup/pdknmigbbbhmllnmgdfalmedcmcefdfn',
|
2018-03-22 03:50:25 +00:00
|
|
|
text: translateRaw('ETHER_ADDRESS_LOOKUP')
|
2018-02-10 18:56:05 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
link:
|
|
|
|
'https://chrome.google.com/webstore/detail/ethersecuritylookup/bhhfhgpgmifehjdghlbbijjaimhmcgnf',
|
2018-03-22 03:50:25 +00:00
|
|
|
text: translateRaw('ETHER_SECURITY_LOOKUP')
|
2018-02-10 18:56:05 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
link: 'https://etherscamdb.info/',
|
2018-03-22 03:50:25 +00:00
|
|
|
text: translateRaw('ETHERSCAMDB')
|
2018-02-07 23:22:31 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
link: 'https://www.mycrypto.com/helpers.html',
|
2018-03-22 03:50:25 +00:00
|
|
|
text: translateRaw('FOOTER_HELP_AND_DEBUGGING')
|
2018-02-07 23:22:31 +00:00
|
|
|
},
|
2018-02-10 18:56:05 +00:00
|
|
|
{
|
|
|
|
link: 'mailto:press@mycrypto.com',
|
2018-03-22 03:50:25 +00:00
|
|
|
text: translateRaw('FOOTER_PRESS')
|
2018-02-10 18:56:05 +00:00
|
|
|
}
|
|
|
|
];
|
2018-02-07 23:22:31 +00:00
|
|
|
|
2018-02-10 18:56:05 +00:00
|
|
|
const AFFILIATES: Link[] = [
|
v3 Style Import (#151)
* Convert bootstrap to sass instead of checked in and less
* Darken body, adjust header.
* First pass at tab styles, each tab will need a lot of individual love tho.
* Update footer to main site content, improve responsiveness.
* Missing key added.
* Fix dropdowns.
* Convert GenerateWallet HTML over, still needs styling.
* Send form.
* Current rates styled.
* CurrencySwap form styles.
* SwapInfoHeader styled.
* Finish up swap restyling, minor usability improvements for mobile.
* Fix up notifications / alert customizations
* Import v3 variables.
* Fix notification spacing.
* Align input height base with buttons.
* Revert height base, add additional bootstrap overrides.
* Grid overrides.
* Move overrides to their own folder. Adjust naming.
* Fix inconsistencies.
* Style generate wallet pt 1.
* Style generate wallet pt 2
* Style generate wallet pt 3
* Fix swap
* Added some missing overries, fixed the fallout.
* Remove header text, indicate alpha version.
* Fix radio / checkbox weights.
* Bind => arrow
* Convert simpledropdown to proper form select, instead of weirdly implemented nonfuncitoning dropdown.
* Fix token balances buttons, footr icons.
2017-09-05 19:52:01 +00:00
|
|
|
{
|
2018-02-10 18:56:05 +00:00
|
|
|
link: ledgerReferralURL,
|
2018-03-26 17:48:41 +00:00
|
|
|
text: translateRaw('LEDGER_REFERRAL_1')
|
v3 Style Import (#151)
* Convert bootstrap to sass instead of checked in and less
* Darken body, adjust header.
* First pass at tab styles, each tab will need a lot of individual love tho.
* Update footer to main site content, improve responsiveness.
* Missing key added.
* Fix dropdowns.
* Convert GenerateWallet HTML over, still needs styling.
* Send form.
* Current rates styled.
* CurrencySwap form styles.
* SwapInfoHeader styled.
* Finish up swap restyling, minor usability improvements for mobile.
* Fix up notifications / alert customizations
* Import v3 variables.
* Fix notification spacing.
* Align input height base with buttons.
* Revert height base, add additional bootstrap overrides.
* Grid overrides.
* Move overrides to their own folder. Adjust naming.
* Fix inconsistencies.
* Style generate wallet pt 1.
* Style generate wallet pt 2
* Style generate wallet pt 3
* Fix swap
* Added some missing overries, fixed the fallout.
* Remove header text, indicate alpha version.
* Fix radio / checkbox weights.
* Bind => arrow
* Convert simpledropdown to proper form select, instead of weirdly implemented nonfuncitoning dropdown.
* Fix token balances buttons, footr icons.
2017-09-05 19:52:01 +00:00
|
|
|
},
|
|
|
|
{
|
2018-02-10 18:56:05 +00:00
|
|
|
link: trezorReferralURL,
|
2018-03-22 03:50:25 +00:00
|
|
|
text: translateRaw('TREZOR_REFERAL')
|
v3 Style Import (#151)
* Convert bootstrap to sass instead of checked in and less
* Darken body, adjust header.
* First pass at tab styles, each tab will need a lot of individual love tho.
* Update footer to main site content, improve responsiveness.
* Missing key added.
* Fix dropdowns.
* Convert GenerateWallet HTML over, still needs styling.
* Send form.
* Current rates styled.
* CurrencySwap form styles.
* SwapInfoHeader styled.
* Finish up swap restyling, minor usability improvements for mobile.
* Fix up notifications / alert customizations
* Import v3 variables.
* Fix notification spacing.
* Align input height base with buttons.
* Revert height base, add additional bootstrap overrides.
* Grid overrides.
* Move overrides to their own folder. Adjust naming.
* Fix inconsistencies.
* Style generate wallet pt 1.
* Style generate wallet pt 2
* Style generate wallet pt 3
* Fix swap
* Added some missing overries, fixed the fallout.
* Remove header text, indicate alpha version.
* Fix radio / checkbox weights.
* Bind => arrow
* Convert simpledropdown to proper form select, instead of weirdly implemented nonfuncitoning dropdown.
* Fix token balances buttons, footr icons.
2017-09-05 19:52:01 +00:00
|
|
|
},
|
|
|
|
{
|
2018-02-10 18:56:05 +00:00
|
|
|
link: ethercardReferralURL,
|
2018-03-22 03:50:25 +00:00
|
|
|
text: translateRaw('ETHERCARD_REFERAL')
|
2018-02-10 18:56:05 +00:00
|
|
|
}
|
|
|
|
];
|
2017-11-28 05:43:30 +00:00
|
|
|
|
2018-02-10 18:56:05 +00:00
|
|
|
const FRIENDS: Link[] = [
|
v3 Style Import (#151)
* Convert bootstrap to sass instead of checked in and less
* Darken body, adjust header.
* First pass at tab styles, each tab will need a lot of individual love tho.
* Update footer to main site content, improve responsiveness.
* Missing key added.
* Fix dropdowns.
* Convert GenerateWallet HTML over, still needs styling.
* Send form.
* Current rates styled.
* CurrencySwap form styles.
* SwapInfoHeader styled.
* Finish up swap restyling, minor usability improvements for mobile.
* Fix up notifications / alert customizations
* Import v3 variables.
* Fix notification spacing.
* Align input height base with buttons.
* Revert height base, add additional bootstrap overrides.
* Grid overrides.
* Move overrides to their own folder. Adjust naming.
* Fix inconsistencies.
* Style generate wallet pt 1.
* Style generate wallet pt 2
* Style generate wallet pt 3
* Fix swap
* Added some missing overries, fixed the fallout.
* Remove header text, indicate alpha version.
* Fix radio / checkbox weights.
* Bind => arrow
* Convert simpledropdown to proper form select, instead of weirdly implemented nonfuncitoning dropdown.
* Fix token balances buttons, footr icons.
2017-09-05 19:52:01 +00:00
|
|
|
{
|
2018-02-10 18:56:05 +00:00
|
|
|
link: 'https://metamask.io/',
|
|
|
|
text: 'MetaMask'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
link: 'https://infura.io/',
|
|
|
|
text: 'Infura'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
link: 'https://etherscan.io/',
|
|
|
|
text: 'Etherscan'
|
2018-04-06 21:08:28 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
link: 'https://etherchain.org/',
|
|
|
|
text: 'Etherchain'
|
v3 Style Import (#151)
* Convert bootstrap to sass instead of checked in and less
* Darken body, adjust header.
* First pass at tab styles, each tab will need a lot of individual love tho.
* Update footer to main site content, improve responsiveness.
* Missing key added.
* Fix dropdowns.
* Convert GenerateWallet HTML over, still needs styling.
* Send form.
* Current rates styled.
* CurrencySwap form styles.
* SwapInfoHeader styled.
* Finish up swap restyling, minor usability improvements for mobile.
* Fix up notifications / alert customizations
* Import v3 variables.
* Fix notification spacing.
* Align input height base with buttons.
* Revert height base, add additional bootstrap overrides.
* Grid overrides.
* Move overrides to their own folder. Adjust naming.
* Fix inconsistencies.
* Style generate wallet pt 1.
* Style generate wallet pt 2
* Style generate wallet pt 3
* Fix swap
* Added some missing overries, fixed the fallout.
* Remove header text, indicate alpha version.
* Fix radio / checkbox weights.
* Bind => arrow
* Convert simpledropdown to proper form select, instead of weirdly implemented nonfuncitoning dropdown.
* Fix token balances buttons, footr icons.
2017-09-05 19:52:01 +00:00
|
|
|
}
|
|
|
|
];
|
|
|
|
|
2017-11-28 05:43:30 +00:00
|
|
|
interface Link {
|
|
|
|
link: string;
|
|
|
|
text: string;
|
|
|
|
}
|
v3 Style Import (#151)
* Convert bootstrap to sass instead of checked in and less
* Darken body, adjust header.
* First pass at tab styles, each tab will need a lot of individual love tho.
* Update footer to main site content, improve responsiveness.
* Missing key added.
* Fix dropdowns.
* Convert GenerateWallet HTML over, still needs styling.
* Send form.
* Current rates styled.
* CurrencySwap form styles.
* SwapInfoHeader styled.
* Finish up swap restyling, minor usability improvements for mobile.
* Fix up notifications / alert customizations
* Import v3 variables.
* Fix notification spacing.
* Align input height base with buttons.
* Revert height base, add additional bootstrap overrides.
* Grid overrides.
* Move overrides to their own folder. Adjust naming.
* Fix inconsistencies.
* Style generate wallet pt 1.
* Style generate wallet pt 2
* Style generate wallet pt 3
* Fix swap
* Added some missing overries, fixed the fallout.
* Remove header text, indicate alpha version.
* Fix radio / checkbox weights.
* Bind => arrow
* Convert simpledropdown to proper form select, instead of weirdly implemented nonfuncitoning dropdown.
* Fix token balances buttons, footr icons.
2017-09-05 19:52:01 +00:00
|
|
|
|
2017-11-18 20:33:53 +00:00
|
|
|
interface Props {
|
|
|
|
latestBlock: string;
|
2017-11-28 05:43:30 +00:00
|
|
|
}
|
2017-11-18 20:33:53 +00:00
|
|
|
|
2018-02-10 18:56:05 +00:00
|
|
|
interface State {
|
|
|
|
isDisclaimerOpen: boolean;
|
|
|
|
}
|
|
|
|
|
|
|
|
export default class Footer extends React.PureComponent<Props, State> {
|
|
|
|
public state: State = {
|
|
|
|
isDisclaimerOpen: false
|
|
|
|
};
|
|
|
|
|
2017-09-25 02:06:28 +00:00
|
|
|
public render() {
|
2017-06-24 01:27:17 +00:00
|
|
|
return (
|
2017-09-15 21:38:11 +00:00
|
|
|
<div>
|
2018-02-10 18:56:05 +00:00
|
|
|
<PreFooter openModal={this.toggleModal} />
|
2017-09-15 21:38:11 +00:00
|
|
|
<footer className="Footer" role="contentinfo" aria-label="footer">
|
2018-02-10 18:56:05 +00:00
|
|
|
<div className="Footer-links Footer-section">
|
|
|
|
<div className="Footer-links-social">
|
|
|
|
{SOCIAL_MEDIA.map((socialMediaItem, idx) => (
|
|
|
|
<SocialMediaLink
|
|
|
|
link={socialMediaItem.link}
|
|
|
|
key={idx}
|
|
|
|
text={socialMediaItem.text}
|
2017-09-15 21:38:11 +00:00
|
|
|
/>
|
2018-02-10 18:56:05 +00:00
|
|
|
))}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div className="Footer-links-links">
|
|
|
|
{PRODUCT_INFO.map((productInfoItem, idx) => (
|
|
|
|
<NewTabLink key={idx} href={productInfoItem.link}>
|
|
|
|
{productInfoItem.text}
|
|
|
|
</NewTabLink>
|
|
|
|
))}
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-02-07 23:22:31 +00:00
|
|
|
|
2018-02-10 18:56:05 +00:00
|
|
|
<div className="Footer-about Footer-section">
|
|
|
|
<NewTabLink className="Footer-about-logo" href="/">
|
|
|
|
<img
|
|
|
|
className="Footer-about-logo-img"
|
|
|
|
src={logo}
|
|
|
|
height="55px"
|
|
|
|
width="auto"
|
|
|
|
alt="MyCrypto logo"
|
|
|
|
/>
|
|
|
|
</NewTabLink>
|
|
|
|
|
|
|
|
<div className="Footer-about-links">
|
2018-04-13 04:36:51 +00:00
|
|
|
<NewTabLink href="https://mycrypto.com">MyCrypto.com</NewTabLink>
|
2018-03-22 03:50:25 +00:00
|
|
|
<NewTabLink href={knowledgeBaseURL}>{translateRaw('FOOTER_SUPPORT')}</NewTabLink>
|
|
|
|
<NewTabLink href="https://about.mycrypto.com">
|
|
|
|
{translateRaw('FOOTER_TEAM')}
|
|
|
|
</NewTabLink>
|
2018-02-10 18:56:05 +00:00
|
|
|
</div>
|
|
|
|
|
2018-03-22 03:50:25 +00:00
|
|
|
<p className="Footer-about-text">{translateRaw('FOOTER_ABOUT')}</p>
|
2018-02-07 23:22:31 +00:00
|
|
|
|
2018-02-10 18:56:05 +00:00
|
|
|
<div className="Footer-about-legal">
|
|
|
|
<div className="Footer-about-legal-text">
|
|
|
|
© {new Date().getFullYear()} MyCrypto, Inc.
|
|
|
|
</div>
|
|
|
|
<div className="Footer-about-legal-text">
|
2018-03-22 03:50:25 +00:00
|
|
|
<a onClick={this.toggleModal}>{translateRaw('DISCLAIMER')}</a>
|
2018-02-10 18:56:05 +00:00
|
|
|
</div>
|
|
|
|
<div className="Footer-about-legal-text">v{VERSION}</div>
|
|
|
|
</div>
|
2017-09-15 21:38:11 +00:00
|
|
|
</div>
|
v3 Style Import (#151)
* Convert bootstrap to sass instead of checked in and less
* Darken body, adjust header.
* First pass at tab styles, each tab will need a lot of individual love tho.
* Update footer to main site content, improve responsiveness.
* Missing key added.
* Fix dropdowns.
* Convert GenerateWallet HTML over, still needs styling.
* Send form.
* Current rates styled.
* CurrencySwap form styles.
* SwapInfoHeader styled.
* Finish up swap restyling, minor usability improvements for mobile.
* Fix up notifications / alert customizations
* Import v3 variables.
* Fix notification spacing.
* Align input height base with buttons.
* Revert height base, add additional bootstrap overrides.
* Grid overrides.
* Move overrides to their own folder. Adjust naming.
* Fix inconsistencies.
* Style generate wallet pt 1.
* Style generate wallet pt 2
* Style generate wallet pt 3
* Fix swap
* Added some missing overries, fixed the fallout.
* Remove header text, indicate alpha version.
* Fix radio / checkbox weights.
* Bind => arrow
* Convert simpledropdown to proper form select, instead of weirdly implemented nonfuncitoning dropdown.
* Fix token balances buttons, footr icons.
2017-09-05 19:52:01 +00:00
|
|
|
|
2018-02-10 18:56:05 +00:00
|
|
|
<div className="Footer-support Footer-section">
|
2018-03-22 03:50:25 +00:00
|
|
|
<h5 className="Footer-support-title">{translateRaw('FOOTER_AFFILIATE_TITLE')}</h5>
|
2018-02-10 18:56:05 +00:00
|
|
|
<div className="Footer-support-affiliates">
|
2018-03-22 03:50:25 +00:00
|
|
|
{AFFILIATES.map((link, i) => (
|
|
|
|
<NewTabLink key={i} href={link.link}>
|
2018-02-10 18:56:05 +00:00
|
|
|
{link.text}
|
|
|
|
</NewTabLink>
|
|
|
|
))}
|
|
|
|
</div>
|
2017-09-15 21:38:11 +00:00
|
|
|
|
2018-02-10 18:56:05 +00:00
|
|
|
<div className="Footer-support-donate">
|
2018-03-22 03:50:25 +00:00
|
|
|
<div className="Footer-support-donate-currency">
|
|
|
|
{translateRaw('DONATE_CURRENCY', { $currency: 'ETH' })}
|
|
|
|
</div>
|
2018-02-10 18:56:05 +00:00
|
|
|
<div className="Footer-support-donate-address">{donationAddressMap.ETH}</div>
|
|
|
|
</div>
|
2017-11-28 05:43:30 +00:00
|
|
|
|
2018-02-10 18:56:05 +00:00
|
|
|
<div className="Footer-support-donate">
|
2018-03-22 03:50:25 +00:00
|
|
|
<div className="Footer-support-donate-currency">
|
|
|
|
{translateRaw('DONATE_CURRENCY', { $currency: 'BTC' })}
|
|
|
|
</div>
|
2018-02-10 18:56:05 +00:00
|
|
|
<div className="Footer-support-donate-address">{donationAddressMap.BTC}</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div className="Footer-support-friends">
|
2018-03-22 03:50:25 +00:00
|
|
|
{FRIENDS.map((link, i) => (
|
|
|
|
<NewTabLink key={i} href={link.link}>
|
2018-02-10 18:56:05 +00:00
|
|
|
{link.text}
|
|
|
|
</NewTabLink>
|
2017-11-28 05:43:30 +00:00
|
|
|
))}
|
|
|
|
</div>
|
2017-09-15 21:38:11 +00:00
|
|
|
</div>
|
|
|
|
</footer>
|
2018-02-10 18:56:05 +00:00
|
|
|
|
|
|
|
<OnboardModal />
|
|
|
|
<DisclaimerModal isOpen={this.state.isDisclaimerOpen} handleClose={this.toggleModal} />
|
2017-09-15 21:38:11 +00:00
|
|
|
</div>
|
2017-06-24 01:27:17 +00:00
|
|
|
);
|
|
|
|
}
|
2018-02-10 18:56:05 +00:00
|
|
|
|
|
|
|
private toggleModal = () => {
|
|
|
|
this.setState(state => {
|
|
|
|
this.setState({ isDisclaimerOpen: !state.isDisclaimerOpen });
|
|
|
|
});
|
|
|
|
};
|
2017-04-12 05:04:27 +00:00
|
|
|
}
|