Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 17c699d

Browse files
agrim-derivAgrim Jain
andauthored
Agrim/Pr 4228 eu business partners (#7864)
* fix: tnc * fix: tnc --------- Co-authored-by: Agrim Jain <agrimjain@Agrim-Jains-Mac-FQ22G9XXP9-Standard.local>
1 parent f0ac7f4 commit 17c699d

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

crowdin/messages.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,6 +1587,7 @@
15871587
"1548745350": "Deriv Prime is the institutional arm of Deriv Group, and staying true to its guiding principles, effectively democratises liquidity provision to financial institutions. No matter if you are large, small, or have just started, Deriv Prime will provide top-of-book liquidity solutions with very fast execution at unmatched fair pricing and conditions.",
15881588
"1549352292": "With turbo options, you need to define a barrier before opening a contract. If the spot price touches or breaches this barrier at any time throughout the contract duration, your contract will expire worthless. This means that you will not receive a payout and will lose your initial stake amount. To compensate for this risk, turbo options will have a higher payout per point and potential payout, depending on how far the selected barrier is from the opening spot price. Another difference to note is that trading turbo options carries more risk than trading vanilla options.",
15891589
"1549497379": "High leverage, tight forex spreads",
1590+
"1549777785": "Affiliates & introduction brokers (IBs)",
15901591
"1550413103": "checklist",
15911592
"1550574351": "Let’s say you want to keep two lots of EUR/USD with a point value of 0.00001 and swap rate of -0.12 open for one night.",
15921593
"1551172020": "AUD Basket",

themes/gatsby-theme-deriv/src/pages/terms-and-conditions/_business-grid.tsx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,13 @@ import BugBountyRow from 'images/svg/terms/bug-bounty-row.svg'
1515
import IG from 'images/svg/terms/important-guidelines.svg'
1616
import PDF from 'images/svg/regulatory/pdf-icon-black.svg'
1717
import useBuildVariant from 'features/hooks/use-build-variant'
18-
1918
type ColProps = {
2019
Icon: string
2120
content: TString
22-
title: TString
23-
link_title: TString
21+
title: TString | string
22+
link_title: TString | string
2423
url: string
2524
}
26-
2725
const Col = ({ Icon, content, link_title, title, url }: ColProps) => (
2826
<GridCol>
2927
<IconWrapper>
@@ -43,13 +41,11 @@ const Col = ({ Icon, content, link_title, title, url }: ColProps) => (
4341
</Cta>
4442
</GridCol>
4543
)
46-
4744
const PartnersGuidePdf = () => {
4845
// const language = getLanguage()
4946
// const supported_languages = ['fr', 'ru', 'es', 'vi', 'pt']
5047
// const pdf_lang = supported_languages.includes(language) ? language : 'english'
5148
const url = `/tnc/business-partners-guide-english.pdf`
52-
5349
return (
5450
<Col
5551
Icon={IG}
@@ -60,11 +56,16 @@ const PartnersGuidePdf = () => {
6056
/>
6157
)
6258
}
63-
6459
const BusinessGrid = () => {
6560

6661
const { region } = useBuildVariant();
6762
const language = getLanguage();
63+
const title = region === "row"
64+
? "_t_Affiliates & introduction brokers (IBs)_t_"
65+
: "Affiliates";
66+
const link_title = region === "row"
67+
? "_t_Affiliates & introduction brokers (IBs)_t_"
68+
: "Affiliates";
6869

6970
let general_terms_url_region, affiliate_brokers_url_region, api_user_url_region, bug_bounty_url_region;
7071

@@ -87,7 +88,6 @@ const BusinessGrid = () => {
8788
? '/tnc/business-partners-bug-bounty.pdf'
8889
: '/tnc/business-partners-bug-bounty-eu.pdf';
8990
}
90-
9191
return (
9292
<StyledContainer>
9393
<StyledGrid
@@ -105,13 +105,13 @@ const BusinessGrid = () => {
105105
url={general_terms_url_region}
106106
link_title="_t_General terms of use_t_"
107107
/>
108-
<Col
109-
Icon={Partners}
110-
title="_t_Affiliates & introducing brokers (IBs)_t_"
111-
content="_t_Additional terms for our affiliates and introducing brokers_t_"
112-
url={affiliate_brokers_url_region}
113-
link_title="_t_Affiliates & introducing brokers (IBs)_t_"
114-
/>
108+
<Col
109+
Icon={Partners}
110+
title={region === "row" ? "_t_Affiliates & introducing brokers (IBs)_t_" : "_t_Affiliates_t_"}
111+
content="_t_Additional terms for our affiliates and introducing brokers_t_"
112+
url={affiliate_brokers_url_region}
113+
link_title={link_title}
114+
/>
115115

116116
<PartnersGuidePdf />
117117
{region === "row" && (

0 commit comments

Comments
 (0)