-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
80be572
commit 2a02528
Showing
2 changed files
with
166 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
import React, { ReactNode } from "react"; | ||
import { | ||
DerivProductDerivTraderBrandLightLogoWordmarkHorizontalIcon, | ||
DerivProductDerivBotBrandLightLogoWordmarkHorizontalIcon, | ||
PartnersProductSmarttraderBrandLightLogoWordmarkIcon, | ||
PartnersProductBinaryBotBrandLightLogoWordmarkHorizontalIcon, | ||
} from "@deriv/quill-icons/Logo"; | ||
|
||
export type PlatformsConfig = { | ||
href: string; | ||
description: string; | ||
icon: ReactNode; | ||
buttonIcon: ReactNode; | ||
active: boolean; | ||
showInEU: boolean; | ||
}; | ||
|
||
export const platformsConfig: PlatformsConfig[] = [ | ||
{ | ||
href: "https://app.deriv.com", | ||
showInEU: true, | ||
active: true, | ||
description: | ||
"A whole new trading experience on a powerful yet easy to use platform.", | ||
icon: ( | ||
<DerivProductDerivTraderBrandLightLogoWordmarkHorizontalIcon | ||
width={148} | ||
height={32} | ||
/> | ||
), | ||
buttonIcon: ( | ||
<DerivProductDerivTraderBrandLightLogoWordmarkHorizontalIcon | ||
width={114.97} | ||
height={25} | ||
/> | ||
), | ||
}, | ||
{ | ||
href: "https://app.deriv.com/bot", | ||
showInEU: false, | ||
active: false, | ||
description: "Automated trading at your fingertips. No coding needed.", | ||
icon: ( | ||
<DerivProductDerivBotBrandLightLogoWordmarkHorizontalIcon | ||
width={121} | ||
height={32} | ||
/> | ||
), | ||
buttonIcon: ( | ||
<DerivProductDerivBotBrandLightLogoWordmarkHorizontalIcon | ||
width={91} | ||
height={24} | ||
/> | ||
), | ||
}, | ||
{ | ||
href: "https://smarttrader.deriv.com", | ||
showInEU: false, | ||
active: false, | ||
description: | ||
"Trade the world’s markets with our popular user-friendly platform.", | ||
icon: ( | ||
<PartnersProductSmarttraderBrandLightLogoWordmarkIcon | ||
width={153} | ||
height={32} | ||
/> | ||
), | ||
buttonIcon: ( | ||
<PartnersProductSmarttraderBrandLightLogoWordmarkIcon | ||
width={115} | ||
height={24} | ||
/> | ||
), | ||
}, | ||
{ | ||
href: "https://bot.deriv.com", | ||
showInEU: false, | ||
active: false, | ||
description: | ||
"Our classic “drag-and-drop” tool for creating trading bots, featuring pop-up trading charts, for advanced users.", | ||
icon: ( | ||
<PartnersProductBinaryBotBrandLightLogoWordmarkHorizontalIcon | ||
width={133} | ||
height={32} | ||
/> | ||
), | ||
buttonIcon: ( | ||
<PartnersProductBinaryBotBrandLightLogoWordmarkHorizontalIcon | ||
width={100} | ||
height={24} | ||
/> | ||
), | ||
}, | ||
{ | ||
href: "https://app.deriv.com", | ||
showInEU: true, | ||
active: false, | ||
description: | ||
"A whole new trading experience on a powerful yet easy to use platform.", | ||
icon: ( | ||
<DerivProductDerivTraderBrandLightLogoWordmarkHorizontalIcon | ||
width={148} | ||
height={32} | ||
/> | ||
), | ||
buttonIcon: ( | ||
<DerivProductDerivTraderBrandLightLogoWordmarkHorizontalIcon | ||
width={111} | ||
height={24} | ||
/> | ||
), | ||
}, | ||
]; |