MyCrypto/common/config/links.ts

119 lines
2.3 KiB
TypeScript
Raw Permalink Normal View History

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')
},
{
2018-05-11 04:35:10 +00:00
link: 'https://legacy.mycrypto.com/helpers.html',
text: translateRaw('FOOTER_HELP_AND_DEBUGGING')
2018-05-11 04:35:10 +00:00
},
{
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'
}
];