William O'Beirne ae2ac4f2c6 Production Release Changes (#1673)
* Remove beta agreement, move modals to Root, and initial work on welcome modal.

* Local storage detection for welcome modal

* Remove announcement from header. Allow tooltips to point in non-top directions.

* Show modal fade at bottom on non-footer modals

* Update README

* Update all links back to old mycrypto to classic.mycrypto, add footer link too.

* Localize welcome modal

* Remove release candidate version text, change to legacy.mycrypto instead of classic.mycrypto.

* update banner; add hackerone link
2018-05-11 10:15:32 -05:00

119 lines
2.3 KiB
TypeScript

import { translateRaw } from 'translations';
import {
discordURL,
ledgerReferralURL,
trezorReferralURL,
ethercardReferralURL,
keepkeyReferralURL,
steelyReferralURL
} from './data';
interface Link {
link: string;
text: string;
}
export const DOWNLOAD_MYCRYPTO_LINK = 'https://download.mycrypto.com/';
export const socialMediaLinks: Link[] = [
{
link: 'https://twitter.com/mycrypto',
text: 'twitter'
},
{
link: 'https://www.facebook.com/mycryptoHQ/',
text: 'facebook'
},
{
link: 'https://medium.com/@mycrypto',
text: 'medium'
},
{
link: 'https://www.linkedin.com/company/mycrypto',
text: 'linkedin'
},
{
link: 'https://github.com/MyCryptoHQ',
text: 'github'
},
{
link: 'https://www.reddit.com/r/mycrypto/',
text: 'reddit'
},
{
link: discordURL,
text: 'discord'
}
];
export const productLinks: Link[] = [
{
link: 'https://legacy.mycrypto.com/',
text: translateRaw('OLD_MYCRYPTO')
},
{
link:
'https://chrome.google.com/webstore/detail/etheraddresslookup/pdknmigbbbhmllnmgdfalmedcmcefdfn',
text: translateRaw('ETHER_ADDRESS_LOOKUP')
},
{
link:
'https://chrome.google.com/webstore/detail/ethersecuritylookup/bhhfhgpgmifehjdghlbbijjaimhmcgnf',
text: translateRaw('ETHER_SECURITY_LOOKUP')
},
{
link: 'https://etherscamdb.info/',
text: translateRaw('ETHERSCAMDB')
},
{
link: 'https://legacy.mycrypto.com/helpers.html',
text: translateRaw('FOOTER_HELP_AND_DEBUGGING')
},
{
link: 'https://hackerone.com/mycrypto',
text: translateRaw('FOOTER_HACKERONE')
}
];
export const affiliateLinks: Link[] = [
{
link: ledgerReferralURL,
text: translateRaw('LEDGER_REFERRAL_1')
},
{
link: trezorReferralURL,
text: translateRaw('TREZOR_REFERAL')
},
{
link: keepkeyReferralURL,
text: translateRaw('KEEPKEY_REFERRAL')
},
{
link: steelyReferralURL,
text: translateRaw('STEELY_REFERRAL')
},
{
link: ethercardReferralURL,
text: translateRaw('ETHERCARD_REFERAL')
}
];
export const partnerLinks: Link[] = [
{
link: 'https://metamask.io/',
text: 'MetaMask'
},
{
link: 'https://infura.io/',
text: 'Infura'
},
{
link: 'https://etherscan.io/',
text: 'Etherscan'
},
{
link: 'https://etherchain.org/',
text: 'Etherchain'
}
];