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.

nikolai.berestevich/fix/links update for DMX and DEL #1934

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
49 changes: 21 additions & 28 deletions src/components/layout/footer/disclaimer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
import React from 'react'
import { DisclaimerWrapper, DisclaimerParagraph, StaticAsset, StaticAssetLink, RiskWarning, BoldLink } from './common/style.js'
import {
DisclaimerWrapper,
DisclaimerParagraph,
StaticAsset,
StaticAssetLink,
RiskWarning,
BoldLink,
} from './common/style.js'
import { Show } from 'components/containers'
import { Localize, localize } from 'components/localization'

Expand Down Expand Up @@ -81,7 +88,7 @@ const DisclaimerSection = () => {
external="true"
key={1}
target="_blank"
to="https://beta.gamblingcommission.gov.uk/public-register/business/detail/39172"
to="https://www.gamblingcommission.gov.uk/public-register/business/detail/39172"
rel="noopener noreferrer"
/>,
]}
Expand All @@ -101,7 +108,7 @@ const DisclaimerSection = () => {
external="true"
key={1}
target="_blank"
to="https://beta.gamblingcommission.gov.uk/public-register/business/detail/39495"
to="https://www.gamblingcommission.gov.uk/public-register/business/detail/39495"
rel="noopener noreferrer"
/>,
]}
Expand All @@ -123,11 +130,7 @@ const DisclaimerSection = () => {
<Localize
translate_text="Before trading in the complex financial products offered, please be sure to understand the risks involved and learn about <0>Secure and responsible trading</0>."
components={[
<BoldLink
key={0}
target="_blank"
to="/responsible/"
/>,
<BoldLink key={0} target="_blank" to="/responsible/" />,
]}
/>
</DisclaimerParagraph>
Expand All @@ -137,8 +140,9 @@ const DisclaimerSection = () => {
<Localize translate_text="CFDs are considered complex derivatives and may not be suitable for retail clients." />
</DisclaimerParagraph>
<DisclaimerParagraph>
<Localize translate_text="CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. {{loss_percent}}% of retail investor accounts lose money when trading CFDs with this provider. You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money."
values={{ loss_percent: 63 }}
<Localize
translate_text="CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. {{loss_percent}}% of retail investor accounts lose money when trading CFDs with this provider. You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money."
values={{ loss_percent: 63 }}
/>
</DisclaimerParagraph>
<DisclaimerParagraph>
Expand All @@ -148,11 +152,7 @@ const DisclaimerSection = () => {
<Localize
translate_text="Gambling can be addictive, so please play responsibly. Visit <0>Secure and responsible trading</0> and <1>begambleaware.org</1> for more information."
components={[
<BoldLink
key={0}
target="_blank"
to="/responsible/"
/>,
<BoldLink key={0} target="_blank" to="/responsible/" />,
<BoldLink
external="true"
key={1}
Expand All @@ -170,8 +170,9 @@ const DisclaimerSection = () => {
<Localize translate_text="CFDs are considered complex derivatives and may not be suitable for retail clients." />
</DisclaimerParagraph>
<DisclaimerParagraph>
<Localize translate_text="CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. {{loss_percent}}% of retail investor accounts lose money when trading CFDs with this provider. You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money."
values={{ loss_percent: 63 }}
<Localize
translate_text="CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. {{loss_percent}}% of retail investor accounts lose money when trading CFDs with this provider. You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money."
values={{ loss_percent: 63 }}
/>
</DisclaimerParagraph>
<DisclaimerParagraph>
Expand All @@ -181,11 +182,7 @@ const DisclaimerSection = () => {
<Localize
translate_text="Gambling can be addictive, so please play responsibly. Visit <0>Secure and responsible trading</0> and <1>begambleaware.org</1> if you need further information."
components={[
<BoldLink
key={0}
target="_blank"
to="/responsible/"
/>,
<BoldLink key={0} target="_blank" to="/responsible/" />,
<BoldLink
external="true"
key={1}
Expand All @@ -204,11 +201,7 @@ const DisclaimerSection = () => {
<Localize
translate_text="Before trading in the complex financial products offered, please be sure to understand the risks involved and learn about <0>Secure and responsible trading</0>."
components={[
<BoldLink
key={0}
target="_blank"
to="/responsible/"
/>,
<BoldLink key={0} target="_blank" to="/responsible/" />,
]}
/>
</DisclaimerParagraph>
Expand All @@ -220,4 +213,4 @@ const DisclaimerSection = () => {
)
}

export default DisclaimerSection;
export default DisclaimerSection
4 changes: 2 additions & 2 deletions src/pages/regulatory/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ const Regulatory = (locale) => {
weight="bold"
color="black-3"
target="_blank"
to="https://beta.gamblingcommission.gov.uk/public-register/business/detail/39495"
to="https://www.gamblingcommission.gov.uk/public-register/business/detail/39495"
rel="noopener noreferrer"
/>,
]}
Expand Down Expand Up @@ -290,7 +290,7 @@ const Regulatory = (locale) => {
weight="bold"
color="black-3"
target="_blank"
to="https://beta.gamblingcommission.gov.uk/public-register/business/detail/39172"
to="https://www.gamblingcommission.gov.uk/public-register/business/detail/39172"
rel="noopener noreferrer"
/>,
]}
Expand Down