Thanks to visit codestin.com
Credit goes to github.com

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

Sean/conditionally displays eu regulatory content #1978

Merged
2 commits merged into from Aug 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions src/components/layout/footer/disclaimer.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const DisclaimerSection = () => {
</DisclaimerParagraph>
<DisclaimerParagraph>
<Localize
translate_text="Outside the EU, financial products are offered by the following companies: Deriv (FX) Ltd, F16, Level 1, Paragon Labuan, Jalan Tun Mustapha, 87000 Labuan, Malaysia, licensed by Labuan Financial Services Authority (<0>licence no. MB/18/0024</0>); Deriv (BVI) Ltd, Kingston Chambers, P.O. Box 173, Road Town, Tortola, British Virgin Islands, licensed by the British Virgin Islands Financial Services Commission (<1>licence no. SIBA/L/18/1114</1>); Deriv (V) Ltd (<2>view licence</2>), 1276, Kumul Highway, Port Vila, Vanuatu, licensed and regulated by the Vanuatu Financial Services Commission; Champion Group Ltd (<3>view licence</3>), 1276, Kumul Highway, Port Vila, Vanuatu, Republic of Vanuatu, licensed by the Vanuatu Financial Services Commission; and Deriv (SVG) LLC, Hinds Buildings, Kingstown, St. Vincent and the Grenadines."
translate_text="Outside the EU, financial products are offered by the following companies: Deriv (FX) Ltd, F16, Level 1, Paragon Labuan, Jalan Tun Mustapha, 87000 Labuan, Malaysia, licensed by Labuan Financial Services Authority (<0>licence no. MB/18/0024</0>); Deriv (BVI) Ltd, Kingston Chambers, P.O. Box 173, Road Town, Tortola, British Virgin Islands, licensed by the British Virgin Islands Financial Services Commission (<1>licence no. SIBA/L/18/1114</1>); Deriv (V) Ltd (<2>view licence</2>), 1276, Kumul Highway, Port Vila, Vanuatu, licensed and regulated by the Vanuatu Financial Services Commission; and Deriv (SVG) LLC, Hinds Buildings, Kingstown, St. Vincent and the Grenadines."
components={[
<StaticAsset
key={0}
Expand All @@ -50,12 +50,6 @@ const DisclaimerSection = () => {
href="/regulatory/Deriv_(V)_Ltd.pdf"
rel="noopener noreferrer"
/>,
<StaticAsset
key={3}
target="_blank"
href="/regulatory/Champion_Group_Ltd.pdf"
rel="noopener noreferrer"
/>,
]}
/>
</DisclaimerParagraph>
Expand Down
196 changes: 97 additions & 99 deletions src/pages/regulatory/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
Show,
} from 'components/containers'
import { localize, WithIntl, Localize, LocalizedLink } from 'components/localization'
import { DerivStore } from 'store'
// Icons
import EU from 'images/svg/europe-map.svg'
import Vanuatu from 'images/common/regulatory/vanuatu.png'
Expand Down Expand Up @@ -106,6 +107,8 @@ const Content = styled.div`
display: contents;
`
const Regulatory = (locale) => {
const { is_eu_country } = React.useContext(DerivStore)

return (
<Layout>
<SEO
Expand Down Expand Up @@ -215,94 +218,96 @@ const Regulatory = (locale) => {
tablet_columns="1fr 5fr"
mobile_columns="1fr"
>
<Content>
<ResponsiveGrid align="flex-start">
<Mobile>
<StyledHeader as="h4" type="sub-section-title" mb="1.6rem">
{localize('Deriv (Europe) Limited')}
</StyledHeader>
</Mobile>
<Img src={MGA} alt="MGA" />
</ResponsiveGrid>
<CssGridColumn>
<Desktop>
<StyledHeader as="h4" type="sub-section-title">
{localize('Deriv (Europe) Limited')}
</StyledHeader>
</Desktop>
<Text mt="0.8rem" mb="1.6rem" max_width="58.8rem">
<Localize
translate_text="Deriv (Europe) Limited, W Business Centre, Level 3, Triq Dun Karm, Birkirkara BKR 9033, Malta, is licensed and regulated for synthetic indices by the Malta Gaming Authority (<0>licence no. MGA/B2C/102/2000</0>), by the Gambling Commission for clients in Great Britain under <1>account no. 39495</1>, and by the Revenue Commissioners for clients in Ireland (licence no. 1010285)."
components={[
<LinkText
key={0}
weight="bold"
target="_blank"
href="/regulatory/Deriv_(Europe)_Limited.pdf"
rel="noopener noreferrer"
/>,
<ExternalBoldLink
external="true"
key={1}
weight="bold"
color="black-3"
target="_blank"
to="https://www.gamblingcommission.gov.uk/public-register/business/detail/39495"
rel="noopener noreferrer"
/>,
]}
/>
</Text>
<Text max_width="58.8rem">
{localize(
'Clients in the European Union who wish to trade gambling products can have accounts under Deriv (Europe) Limited.',
)}
</Text>
</CssGridColumn>
<ResponsiveGrid align="flex-start">
<Mobile>
<StyledHeader as="h4" type="sub-section-title" mb="1.6rem">
{localize('Deriv (MX) Ltd')}
</StyledHeader>
</Mobile>
<Img src={IOM} alt="Isle Of Man" />
</ResponsiveGrid>
<CssGridColumn>
<Desktop>
<StyledHeader as="h4" type="sub-section-title">
{localize('Deriv (MX) Ltd')}
</StyledHeader>
</Desktop>
<Text mt="0.8rem" mb="1.6rem" max_width="58.8rem">
<Localize
translate_text="Deriv (MX) Ltd, Millennium House, Level 1, Victoria Road, Douglas IM2 4RW, Isle of Man, is licensed and regulated in Great Britain by the Gambling Commission under <1>account no. 39172</1> and by the Gambling Supervision Commission in the Isle of Man (<0>view licence</0>)."
components={[
<LinkText
key={0}
weight="bold"
target="_blank"
href="/regulatory/Deriv_(MX)_Ltd.pdf"
rel="noopener noreferrer"
/>,
<ExternalBoldLink
external="true"
key={1}
weight="bold"
color="black-3"
target="_blank"
to="https://www.gamblingcommission.gov.uk/public-register/business/detail/39172"
rel="noopener noreferrer"
/>,
]}
/>
</Text>
<Text max_width="58.8rem">
{localize(
'Clients in the Isle of Man and the UK who wish to trade gambling products can have accounts under Deriv (MX) Ltd.',
)}
</Text>
</CssGridColumn>
</Content>
{is_eu_country && (
<Content>
<ResponsiveGrid align="flex-start">
<Mobile>
<StyledHeader as="h4" type="sub-section-title" mb="1.6rem">
{localize('Deriv (Europe) Limited')}
</StyledHeader>
</Mobile>
<Img src={MGA} alt="MGA" />
</ResponsiveGrid>
<CssGridColumn>
<Desktop>
<StyledHeader as="h4" type="sub-section-title">
{localize('Deriv (Europe) Limited')}
</StyledHeader>
</Desktop>
<Text mt="0.8rem" mb="1.6rem" max_width="58.8rem">
<Localize
translate_text="Deriv (Europe) Limited, W Business Centre, Level 3, Triq Dun Karm, Birkirkara BKR 9033, Malta, is licensed and regulated for synthetic indices by the Malta Gaming Authority (<0>licence no. MGA/B2C/102/2000</0>), by the Gambling Commission for clients in Great Britain under <1>account no. 39495</1>, and by the Revenue Commissioners for clients in Ireland (licence no. 1010285)."
components={[
<LinkText
key={0}
weight="bold"
target="_blank"
href="/regulatory/Deriv_(Europe)_Limited.pdf"
rel="noopener noreferrer"
/>,
<ExternalBoldLink
external="true"
key={1}
weight="bold"
color="black-3"
target="_blank"
to="https://www.gamblingcommission.gov.uk/public-register/business/detail/39495"
rel="noopener noreferrer"
/>,
]}
/>
</Text>
<Text max_width="58.8rem">
{localize(
'Clients in the European Union who wish to trade gambling products can have accounts under Deriv (Europe) Limited.',
)}
</Text>
</CssGridColumn>
<ResponsiveGrid align="flex-start">
<Mobile>
<StyledHeader as="h4" type="sub-section-title" mb="1.6rem">
{localize('Deriv (MX) Ltd')}
</StyledHeader>
</Mobile>
<Img src={IOM} alt="Isle Of Man" />
</ResponsiveGrid>
<CssGridColumn>
<Desktop>
<StyledHeader as="h4" type="sub-section-title">
{localize('Deriv (MX) Ltd')}
</StyledHeader>
</Desktop>
<Text mt="0.8rem" mb="1.6rem" max_width="58.8rem">
<Localize
translate_text="Deriv (MX) Ltd, Millennium House, Level 1, Victoria Road, Douglas IM2 4RW, Isle of Man, is licensed and regulated in Great Britain by the Gambling Commission under <1>account no. 39172</1> and by the Gambling Supervision Commission in the Isle of Man (<0>view licence</0>)."
components={[
<LinkText
key={0}
weight="bold"
target="_blank"
href="/regulatory/Deriv_(MX)_Ltd.pdf"
rel="noopener noreferrer"
/>,
<ExternalBoldLink
external="true"
key={1}
weight="bold"
color="black-3"
target="_blank"
to="https://www.gamblingcommission.gov.uk/public-register/business/detail/39172"
rel="noopener noreferrer"
/>,
]}
/>
</Text>
<Text max_width="58.8rem">
{localize(
'Clients in the Isle of Man and the UK who wish to trade gambling products can have accounts under Deriv (MX) Ltd.',
)}
</Text>
</CssGridColumn>
</Content>
)}

<ResponsiveGrid align="flex-start">
<Mobile>
Expand Down Expand Up @@ -377,7 +382,7 @@ const Regulatory = (locale) => {
<ResponsiveGrid align="flex-start">
<Mobile>
<StyledHeader as="h4" type="sub-section-title" mb="1.6rem">
{localize('Deriv (V) Ltd and Champion Group Ltd')}
{localize('Deriv (V) Ltd')}
</StyledHeader>
</Mobile>
<Img src={Vanuatu} alt="Vanuatu" />
Expand All @@ -390,12 +395,12 @@ const Regulatory = (locale) => {
<CssGridColumn>
<Desktop>
<StyledHeader as="h4" type="sub-section-title">
{localize('Deriv (V) Ltd and Champion Group Ltd')}
{localize('Deriv (V) Ltd')}
</StyledHeader>
</Desktop>
<Text mt="0.8rem" mb="1.6rem" max_width="58.8rem">
<Localize
translate_text="Deriv (V) Ltd (<0>view licence</0>) and Champion Group Ltd (<1>view licence</1>), 1276, Kumul Highway, Port Vila, Vanuatu are licensed by Vanuatu Financial Services Commission, and are members of the <2>Financial Markets Association<2/>."
translate_text="Deriv (V) Ltd (<0>view licence</0>), 1276, Kumul Highway, Port Vila, Vanuatu are licensed by Vanuatu Financial Services Commission, and are members of the <1>Financial Markets Association<1/>."
components={[
<LinkText
key={0}
Expand All @@ -408,13 +413,6 @@ const Regulatory = (locale) => {
key={1}
weight="bold"
target="_blank"
href="/regulatory/Champion_Group_Ltd.pdf"
rel="noopener noreferrer"
/>,
<LinkText
key={2}
weight="bold"
target="_blank"
href="/regulatory/Financial_Markets_Association_Cert.pdf"
rel="noopener noreferrer"
/>,
Expand All @@ -423,7 +421,7 @@ const Regulatory = (locale) => {
</Text>
<Text max_width="58.8rem">
{localize(
'Clients in the rest of the world (except for restricted countries such as the USA, Canada, and Hong Kong) who wish to trade CFDs on financial instruments can have DMT5 Financial accounts and Deriv X Financial accounts under Deriv (V) Ltd and Champion Group Ltd. These companies do not offer CFDs on cryptocurrencies.',
'Clients in the rest of the world (except for restricted countries such as the USA, Canada, and Hong Kong) who wish to trade CFDs on financial instruments can have DMT5 Financial accounts and Deriv X Financial accounts under Deriv (V) Ltd. These companies do not offer CFDs on cryptocurrencies.',
)}
</Text>
</CssGridColumn>
Expand Down
Binary file removed static/regulatory/Champion_Group_Ltd.pdf
Binary file not shown.