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.

Commit f3d43e0

Browse files
nikolaiberestevich-derivNikolai Berestevich
andauthored
nikolai.berestevich/fix/links update for DMX and DEL (#1934)
Co-authored-by: Nikolai Berestevich <[email protected]>
1 parent ed90553 commit f3d43e0

File tree

2 files changed

+23
-30
lines changed

2 files changed

+23
-30
lines changed

src/components/layout/footer/disclaimer.js

Lines changed: 21 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
import React from 'react'
2-
import { DisclaimerWrapper, DisclaimerParagraph, StaticAsset, StaticAssetLink, RiskWarning, BoldLink } from './common/style.js'
2+
import {
3+
DisclaimerWrapper,
4+
DisclaimerParagraph,
5+
StaticAsset,
6+
StaticAssetLink,
7+
RiskWarning,
8+
BoldLink,
9+
} from './common/style.js'
310
import { Show } from 'components/containers'
411
import { Localize, localize } from 'components/localization'
512

@@ -81,7 +88,7 @@ const DisclaimerSection = () => {
8188
external="true"
8289
key={1}
8390
target="_blank"
84-
to="https://beta.gamblingcommission.gov.uk/public-register/business/detail/39172"
91+
to="https://www.gamblingcommission.gov.uk/public-register/business/detail/39172"
8592
rel="noopener noreferrer"
8693
/>,
8794
]}
@@ -101,7 +108,7 @@ const DisclaimerSection = () => {
101108
external="true"
102109
key={1}
103110
target="_blank"
104-
to="https://beta.gamblingcommission.gov.uk/public-register/business/detail/39495"
111+
to="https://www.gamblingcommission.gov.uk/public-register/business/detail/39495"
105112
rel="noopener noreferrer"
106113
/>,
107114
]}
@@ -123,11 +130,7 @@ const DisclaimerSection = () => {
123130
<Localize
124131
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>."
125132
components={[
126-
<BoldLink
127-
key={0}
128-
target="_blank"
129-
to="/responsible/"
130-
/>,
133+
<BoldLink key={0} target="_blank" to="/responsible/" />,
131134
]}
132135
/>
133136
</DisclaimerParagraph>
@@ -137,8 +140,9 @@ const DisclaimerSection = () => {
137140
<Localize translate_text="CFDs are considered complex derivatives and may not be suitable for retail clients." />
138141
</DisclaimerParagraph>
139142
<DisclaimerParagraph>
140-
<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."
141-
values={{ loss_percent: 63 }}
143+
<Localize
144+
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."
145+
values={{ loss_percent: 63 }}
142146
/>
143147
</DisclaimerParagraph>
144148
<DisclaimerParagraph>
@@ -148,11 +152,7 @@ const DisclaimerSection = () => {
148152
<Localize
149153
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."
150154
components={[
151-
<BoldLink
152-
key={0}
153-
target="_blank"
154-
to="/responsible/"
155-
/>,
155+
<BoldLink key={0} target="_blank" to="/responsible/" />,
156156
<BoldLink
157157
external="true"
158158
key={1}
@@ -170,8 +170,9 @@ const DisclaimerSection = () => {
170170
<Localize translate_text="CFDs are considered complex derivatives and may not be suitable for retail clients." />
171171
</DisclaimerParagraph>
172172
<DisclaimerParagraph>
173-
<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."
174-
values={{ loss_percent: 63 }}
173+
<Localize
174+
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."
175+
values={{ loss_percent: 63 }}
175176
/>
176177
</DisclaimerParagraph>
177178
<DisclaimerParagraph>
@@ -181,11 +182,7 @@ const DisclaimerSection = () => {
181182
<Localize
182183
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."
183184
components={[
184-
<BoldLink
185-
key={0}
186-
target="_blank"
187-
to="/responsible/"
188-
/>,
185+
<BoldLink key={0} target="_blank" to="/responsible/" />,
189186
<BoldLink
190187
external="true"
191188
key={1}
@@ -204,11 +201,7 @@ const DisclaimerSection = () => {
204201
<Localize
205202
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>."
206203
components={[
207-
<BoldLink
208-
key={0}
209-
target="_blank"
210-
to="/responsible/"
211-
/>,
204+
<BoldLink key={0} target="_blank" to="/responsible/" />,
212205
]}
213206
/>
214207
</DisclaimerParagraph>
@@ -220,4 +213,4 @@ const DisclaimerSection = () => {
220213
)
221214
}
222215

223-
export default DisclaimerSection;
216+
export default DisclaimerSection

src/pages/regulatory/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ const Regulatory = (locale) => {
247247
weight="bold"
248248
color="black-3"
249249
target="_blank"
250-
to="https://beta.gamblingcommission.gov.uk/public-register/business/detail/39495"
250+
to="https://www.gamblingcommission.gov.uk/public-register/business/detail/39495"
251251
rel="noopener noreferrer"
252252
/>,
253253
]}
@@ -290,7 +290,7 @@ const Regulatory = (locale) => {
290290
weight="bold"
291291
color="black-3"
292292
target="_blank"
293-
to="https://beta.gamblingcommission.gov.uk/public-register/business/detail/39172"
293+
to="https://www.gamblingcommission.gov.uk/public-register/business/detail/39172"
294294
rel="noopener noreferrer"
295295
/>,
296296
]}

0 commit comments

Comments
 (0)