Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' of https://github.com/binary-com/deriv-com
Browse files Browse the repository at this point in the history
  • Loading branch information
agrim-deriv committed Jul 1, 2024
2 parents af72695 + 46fdcfb commit ec55197
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 20 deletions.
1 change: 0 additions & 1 deletion crowdin/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,6 @@
"369418918": "<0>Stop loss and/or take profit level = asset price - {stop loss OR take profit amount ÷ (volume × contract size)}</0>",
"370132757": "What is a Deriv X password?",
"372045575": "Verification code was sent to {{email}}. If you have received the code please continue. If you didn't receive the code please make sure you didn't have any account already.",
"372486876": "We’ll typically take 1-3 business days to review your documents and will inform you of the result via email once it’s done.",
"372500096": "Cryptocurrency market | Crypto trading | Deriv",
"373168737": "Can I go to the regulator directly instead of contacting you first?",
"373753849": "Easy to use trading features",
Expand Down
2 changes: 1 addition & 1 deletion themes/gatsby-theme-deriv/src/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const academy_url = `https://academy.deriv.com/`
export const derivx_app_url = `${deriv_app_url}/derivx`
export const smarttrader_url = `https://smarttrader.${getDomainUrl()}`
export const traders_hub = 'https://app.deriv.com/'
export const dtrader_url = 'https://app.deriv.com/dtrader'
export const dtrader_url = `https://app.${getDomainUrl()}/dtrader`
export const binary_bot_url = `https://bot.${getDomainUrl()}`
export const blog_url = `https://blog.${deriv_com_url}`
export const deriv_cookie_domain = getDomainUrl()
Expand Down
6 changes: 4 additions & 2 deletions themes/gatsby-theme-deriv/src/components/custom/_dhero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { useIsRtl } from 'components/hooks/use-isrtl'
import useBuildVariant from 'features/hooks/use-build-variant'
import { breakpoints } from 'themes/theme.breakpoints'
import { dtrader_url } from 'common/constants'
import { getLanguage } from 'common/utility'

type DHeroProps = {
is_live_demo?: boolean
Expand Down Expand Up @@ -204,9 +205,10 @@ const DHero = ({ join_us_for_free, is_live_demo, image_name }: DHeroProps) => {
{is_live_demo && (
<GoToLiveDemo
tertiary
to={dtrader_url}
external
to={`https://app.deriv.com/dtrader?lang=${getLanguage()}`}
target="_blank"
rel="noopener noreferrer nofollow"
rel="noopener noreferrer"
>
<Localize translate_text="_t_Go to live demo_t_" />
</GoToLiveDemo>
Expand Down
10 changes: 6 additions & 4 deletions themes/gatsby-theme-deriv/src/pages/dtrader/_steps_section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import useBreakpoints from 'components/hooks/use-breakpoints'
import { QueryImage } from 'components/elements'
import useBuildVariant from 'features/hooks/use-build-variant'
import { dtrader_url } from 'common/constants'
import { getLanguage } from 'common/utility'

const query = graphql`
query {
Expand Down Expand Up @@ -126,10 +127,11 @@ const DtraderEasySteps = () => {
renderFooter={() => (
<GotoLiveWrapper>
<GoToLiveDemo
secondary
to={dtrader_url}
target="_blank"
rel="noopener noreferrer nofollow"
tertiary
external
to={`https://app.deriv.com/dtrader?lang=${getLanguage()}`}
target="_blank"
rel="noopener noreferrer"
>
<Localize translate_text="_t_Go to live demo_t_" />
</GoToLiveDemo>
Expand Down
12 changes: 0 additions & 12 deletions themes/gatsby-theme-deriv/src/pages/help-centre/data/_security.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,6 @@ const security: TQuestionsData = {
},
],
},
{
question: '_t_How long does verification take?_t_',
category: 'Security',
sub_category: '_t_Verification_t_',
label: 'verification-duration',
answer: [
{
translation_text:
'_t_We’ll typically take 1-3 business days to review your documents and will inform you of the result via email once it’s done._t_',
},
],
},
{
question: '_t_Why were my documents declined?_t_',
category: 'Security',
Expand Down

0 comments on commit ec55197

Please sign in to comment.