From 7663f452c8e95880766570ad30eea5bf46d78b72 Mon Sep 17 00:00:00 2001 From: pierregee Date: Tue, 19 Dec 2023 10:19:50 +0800 Subject: [PATCH] feat(ui-ux): add changenow exchange --- .../icons/assets/exchanges/ChangeNow.tsx | 20 +++++++++++++++++++ .../icons/assets/exchanges/index.ts | 2 ++ .../_components/GetDFISectionExchanges.tsx | 5 +++++ 3 files changed, 27 insertions(+) create mode 100644 src/components/icons/assets/exchanges/ChangeNow.tsx diff --git a/src/components/icons/assets/exchanges/ChangeNow.tsx b/src/components/icons/assets/exchanges/ChangeNow.tsx new file mode 100644 index 000000000..17eb884f7 --- /dev/null +++ b/src/components/icons/assets/exchanges/ChangeNow.tsx @@ -0,0 +1,20 @@ +export default function ChangeNow(): JSX.Element { + return ( + + + + + ); +} diff --git a/src/components/icons/assets/exchanges/index.ts b/src/components/icons/assets/exchanges/index.ts index 7f57493e0..dc66fe180 100644 --- a/src/components/icons/assets/exchanges/index.ts +++ b/src/components/icons/assets/exchanges/index.ts @@ -14,6 +14,7 @@ import EasycryptoAu from "./EasycryptoAu"; import EasycryptoNz from "./EasycryptoNz"; import Bake from "./Bake"; import Lock from "./Lock"; +import ChangeNow from "./ChangeNow"; const mapping: Record) => JSX.Element> = { @@ -32,6 +33,7 @@ const mapping: Record) => JSX.Element> = EasycryptoNz, Bake, Lock, + ChangeNow, }; export function getExchangeLogo( diff --git a/src/pages/explore/dfi/_components/GetDFISectionExchanges.tsx b/src/pages/explore/dfi/_components/GetDFISectionExchanges.tsx index dc6f243d9..c799f210d 100644 --- a/src/pages/explore/dfi/_components/GetDFISectionExchanges.tsx +++ b/src/pages/explore/dfi/_components/GetDFISectionExchanges.tsx @@ -76,6 +76,11 @@ export default function GetDFISectionExchanges() { name: "EasycryptoNz", url: "https://easycrypto.com/nz/buy-sell/dfi-defichain", }, + { + id: "GetDFISection.Exchange.ChangeNow", + name: "ChangeNow", + url: "https://changenow.io/?_branch_match_id=1164181675870671265&_branch_referrer=H4sIAAAAAAAAAxXHWQqAIBAA0Nv46YK0EEhHiSHHlNyYRrp%2B9P5eZO7PptQZoV5Y2yuhd5lTvRVhQCLI%2B78jeWfXBXAGAxa0mQSUNio7o7UI1IrDQYKb8yF9nHrl9FUAAAA%3D&amount=100&from=eur&to=dfi", + }, ]; const staking: ExchangeItem[] = [