diff --git a/src/images/common/dmt5-signals/provider-step1.png b/src/images/common/dmt5-signals/provider-step1.png index e8d1234ad4f..c66759f4666 100644 Binary files a/src/images/common/dmt5-signals/provider-step1.png and b/src/images/common/dmt5-signals/provider-step1.png differ diff --git a/src/pages/dmt5-trading-signals/_signal-steps.js b/src/pages/dmt5-trading-signals/_signal-steps.js index d84fbc9592a..0b8121bd368 100644 --- a/src/pages/dmt5-trading-signals/_signal-steps.js +++ b/src/pages/dmt5-trading-signals/_signal-steps.js @@ -3,6 +3,7 @@ import { graphql, useStaticQuery } from 'gatsby' import styled from 'styled-components' import Tabs from '../trade-types/components/_side-tab' import { Show } from '../../components/containers' +import { usePageLoaded } from 'components/hooks/use-page-loaded' import { Localize } from 'components/localization' import { QueryImage, LocalizedLinkText } from 'components/elements' import device from 'themes/device.js' @@ -39,7 +40,6 @@ const content = { ), notice: ( , , ]} + translate_text="<0>Note: For a wider selection of signal providers for Deriv, go to <1>MQL5 showcase page and search for <0>Deriv under the <0>Broker server field." /> ), }, provider: { header: , - step_one_header: , + step_one_header: , step_one_text: ( , step_two_text: ( ]} + translate_text="Complete the form with your Deriv MT5 account credentials. In the <0>Broker field, enter your account server name: <1/> <0>- Deriv-Demo if your signal is for demo accounts only <1/> <0>- Deriv-Server or <0>Deriv-Server-02 if your signal is for real accounts only <1/> +(You can find the account server name on your <2>Deriv MT5 dashboard.)" + components={[ + , +
, + , + ]} /> ), - step_three_header: , + step_three_header: , step_three_text: ( - + ), notice: ( , , + , ]} /> ), @@ -199,131 +213,139 @@ const query = graphql` const SignalSteps = (active_tab) => { const data = useStaticQuery(query) - + const [is_mounted] = usePageLoaded(false) // needed to fix tab highlighting not being rerendered during first load return ( <> {active_tab.active_tab === 'signal-subscriber' && ( - - - - - - - - - - - - - - - - - - - - - - - - - - + {is_mounted && ( + <> + + + + + + + + + + + + + + + + + + + + + + + + + + + + )} )} {active_tab.active_tab === 'signal-provider' && ( - - - - - - - - - - - - - - - - - - - - - - - - - - + {is_mounted && ( + <> + + + + + + + + + + + + + + + + + + + + + + + + + + + + )} )}