From 1cab0fbcd158ead14100b53d173a7ef071da4871 Mon Sep 17 00:00:00 2001 From: meriadec Date: Mon, 13 Aug 2018 18:34:00 +0200 Subject: [PATCH] Add 3 exchanges, update PayBis url, update main sidebar wording closes #1414 --- src/components/ExchangePage/index.js | 19 ++++ src/config/urls.js | 5 +- static/i18n/en/app.json | 7 +- static/images/logos/exchanges/genesis.svg | 6 ++ static/images/logos/exchanges/luno.svg | 14 +++ static/images/logos/exchanges/shapeshift.svg | 93 ++++++++++++++++++++ 6 files changed, 141 insertions(+), 3 deletions(-) create mode 100644 static/images/logos/exchanges/genesis.svg create mode 100644 static/images/logos/exchanges/luno.svg create mode 100644 static/images/logos/exchanges/shapeshift.svg diff --git a/src/components/ExchangePage/index.js b/src/components/ExchangePage/index.js index 6f40ae6c..9e612a78 100644 --- a/src/components/ExchangePage/index.js +++ b/src/components/ExchangePage/index.js @@ -5,6 +5,7 @@ import { translate } from 'react-i18next' import type { T } from 'types/common' import { urls } from 'config/urls' +import { i } from 'helpers/staticPath' import TrackPage from 'analytics/TrackPage' import Box from 'components/base/Box' @@ -51,6 +52,24 @@ const cards = [ url: urls.paybis, logo: , }, + { + key: 'luno', + id: 'luno', + url: urls.luno, + logo: Luno, + }, + { + key: 'shapeshift', + id: 'shapeshift', + url: urls.shapeshift, + logo: Shapeshift, + }, + { + key: 'genesis', + id: 'genesis', + url: urls.genesis, + logo: Genesis, + }, ] class ExchangePage extends PureComponent { diff --git a/src/config/urls.js b/src/config/urls.js index d3635b7a..7ee5caeb 100644 --- a/src/config/urls.js +++ b/src/config/urls.js @@ -26,7 +26,10 @@ export const urls = { changelly: 'https://changelly.com/?ref_id=aac789605a01', coinmama: 'http://go.coinmama.com/visit/?bta=51801&nci=5343', simplex: 'https://partners.simplex.com/?partner=ledger', - paybis: 'https://paybis.idevaffiliate.com/idevaffiliate.php?id=4064', + paybis: 'https://aff-tracking.paybis.com/click?pid=22&offer_id=1', + luno: 'http://luno.go2cloud.org/aff_c?offer_id=4&aff_id=1001&source=ledger', + shapeshift: 'https://shapeshift.io/#/coins?affiliate=ledger', + genesis: 'https://genesistrading.com/ledger-live/', // Errors errors: { diff --git a/static/i18n/en/app.json b/static/i18n/en/app.json index af321c9b..4861f0a8 100644 --- a/static/i18n/en/app.json +++ b/static/i18n/en/app.json @@ -78,7 +78,7 @@ "menu": "Menu", "accounts": "Accounts ({{count}})", "manager": "Manager", - "exchange": "Trade" + "exchange": "Buy/Trade" }, "account": { "lastOperations": "Last operations", @@ -165,7 +165,10 @@ "changelly": "Changelly is a popular instant crypto asset exchange with 100+ coins and tokens listed.", "coinmama": "Coinmama is a financial service that makes it fast, safe and fun to buy digital assets, anywhere in the world.", "simplex": "Simplex is a EU licensed financial institution, providing a fraudless credit card payment solution.", - "paybis": "it is safe and easy to Buy Bitcoin with credit card from PayBis. Service operates in US, Canada, Germany, Russia and Saudi Arabia." + "paybis": "it is safe and easy to Buy Bitcoin with credit card from PayBis. Service operates in US, Canada, Germany, Russia and Saudi Arabia.", + "luno": "Luno makes it safe and easy to buy, store and learn about digital currencies like Bitcoin and Ethreum", + "shapeshift": "ShapeShift is an online marketplace where users can buy and sell digital assets. It is a fast and secure way for the world to buy and sell digital assets, with no lengthy signup process, no counterparty risk, and no friction.", + "genesis": "Genesis is an institutional trading firm offering liquidity and borrow for digital currencies, including bitcoin, bitcoin cash, ethereum, ethereum classic, litecoin, and XRP." }, "genuinecheck": { "modal": { diff --git a/static/images/logos/exchanges/genesis.svg b/static/images/logos/exchanges/genesis.svg new file mode 100644 index 00000000..6aa3ea56 --- /dev/null +++ b/static/images/logos/exchanges/genesis.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/static/images/logos/exchanges/luno.svg b/static/images/logos/exchanges/luno.svg new file mode 100644 index 00000000..e2ee1781 --- /dev/null +++ b/static/images/logos/exchanges/luno.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/static/images/logos/exchanges/shapeshift.svg b/static/images/logos/exchanges/shapeshift.svg new file mode 100644 index 00000000..5efd76eb --- /dev/null +++ b/static/images/logos/exchanges/shapeshift.svg @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +