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.

suthesh/fix-seo-description #1216

Merged
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
18 changes: 6 additions & 12 deletions src/components/containers/seo.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import PropTypes from 'prop-types'
import { Helmet } from 'react-helmet'
import { useStaticQuery, graphql } from 'gatsby'
import { LocaleContext, localize } from '../localization'
import { LocaleContext } from '../localization'
import language_config from '../../../i18n-config'
import TradingImage from 'images/common/practice.png'

Expand Down Expand Up @@ -82,12 +82,6 @@ const SEO = ({ description, meta, title, no_index, has_organization_schema }) =>
name: 'description',
content: metaDescription,
},
{
name: 'keywords',
content: localize(
'digital options, forex, forex trading, online trading, financial trading, digitals trading, index trading, trading indices, forex trades, trading commodities, digital options strategy, binary broker, binary bet, digital options trading platform, binary strategy, finance, investment, trading',
),
},
{
name: 'google',
content: 'notranslate',
Expand Down Expand Up @@ -154,11 +148,11 @@ const SEO = ({ description, meta, title, no_index, has_organization_schema }) =>
},
...(no_index || no_index_staging || is_ach_page
? [
{
name: 'robots',
content: 'noindex',
},
]
{
name: 'robots',
content: 'noindex',
},
]
: []),
].concat(meta)}
>
Expand Down
6 changes: 4 additions & 2 deletions src/pages/help-centre/_article.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ const TabWrapper = styled.div`
const ContactContainer = styled.div`
margin-top: 8rem;
`
export const Article = ({ children, header }) => {
export const Article = ({ children, header, title, description }) => {
return (
<Layout>
<SEO title={localize('Help Center | ' + header)} />
<SEO title={title} description={description} />
<Container align="left" justify="flex-start" direction="column">
<StyledLink
to="/help-centre/"
Expand Down Expand Up @@ -64,5 +64,7 @@ export const Article = ({ children, header }) => {

Article.propTypes = {
children: PropTypes.node,
description: PropTypes.string,
header: PropTypes.string,
title: PropTypes.string,
}
60 changes: 31 additions & 29 deletions src/pages/help-centre/account.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,35 +145,37 @@ const DormantFee = () => (

const AccountArticle = () => {
return (
<Article header={localize('Account')}>
<WhoCanOpenAnAccount
text={localize("Why can't I create an account?")}
label="who-can-open-an-account"
/>
<ChangingPersonalDetails
text={localize('How can I change my personal details?')}
label="changing-your-personal-details"
/>
<ChangeAccountCurrency
text={localize("How can I change my account's currency?")}
label="change-account-currency"
/>
<RecoveringPassword
text={localize(
'I forgot my Google/Facebook account password. How can I log in to my Deriv account?',
)}
label="recovering-your-password"
/>
<CloseAccount
text={localize('How can I close my account?')}
label="close-your-account"
/>
<UnsubscribeEmail
text={localize('How do I unsubscribe from marketing emails?')}
label="unsubscribe-marketing-emails"
/>
<DormantFee text={localize('What is a dormant fee?')} label="what-is-dormant-fee" />
</Article>
<div>
<Article header={localize('Account')} title={localize('Help centre | Frequently asked questions | Account | Deriv')} description={localize('Frequently asked questions - Account')}>
<WhoCanOpenAnAccount
text={localize("Why can't I create an account?")}
label="who-can-open-an-account"
/>
<ChangingPersonalDetails
text={localize('How can I change my personal details?')}
label="changing-your-personal-details"
/>
<ChangeAccountCurrency
text={localize("How can I change my account's currency?")}
label="change-account-currency"
/>
<RecoveringPassword
text={localize(
'I forgot my Google/Facebook account password. How can I log in to my Deriv account?',
)}
label="recovering-your-password"
/>
<CloseAccount
text={localize('How can I close my account?')}
label="close-your-account"
/>
<UnsubscribeEmail
text={localize('How do I unsubscribe from marketing emails?')}
label="unsubscribe-marketing-emails"
/>
<DormantFee text={localize('What is a dormant fee?')} label="what-is-dormant-fee" />
</Article>
</div>
)
}

Expand Down
102 changes: 52 additions & 50 deletions src/pages/help-centre/dbot.js
Original file line number Diff line number Diff line change
Expand Up @@ -702,56 +702,58 @@ const ViewChart = () => (

const DBotArticle = () => {
return (
<Article header="DBot">
<WhatIsDBot text={localize('What is DBot?')} label="what-is-dbot" />
<FindBlocks text={localize('How do I find the blocks I need?')} label="find-blocks" />
<RemoveBlocks
text={localize('How do I remove blocks from the workspace?')}
label="remove-blocks"
/>
<CreateVariables
text={localize('How do I create variables?')}
label="create-variables"
/>
<QuickStrategy
text={localize('What is a quick strategy and how do I use it?')}
label="quick-strategy"
/>
<MartingaleStrategy
text={localize('What is the Martingale strategy?')}
label="martingale-strategy"
/>
<AlembertStrategy
text={localize('What is the D’Alembert strategy?')}
label="dalembert-strategy"
/>
<OskarStrategy
text={localize("What is the Oscar's Grind strategy?")}
label="oscars-grind-strategy"
/>
<SaveStrategy text={localize('How do I save my strategy?')} label="save-strategy" />
<ImportStrategy
text={localize('How do I import my strategies into DBot?')}
label="import-strategy"
/>
<ResetWorkspace
text={localize('How do I reset the workspace?')}
label="reset-workspace"
/>
<TransactionLog
text={localize('How do I clear my transaction log?')}
label="clear-transaction-log"
/>
<ControlLosses
text={localize('How do I control my losses with DBot?')}
label="control-loss"
/>
<TradeStatus
text={localize('Where can I see the status of my trades in DBot?')}
label="status-of-trades"
/>
<ViewChart text={localize('How do I view the chart in DBot?')} label="view-chart" />
</Article>
<div>
<Article header="DBot" title={localize('Help centre | Frequently asked questions | DBot | Deriv')} description={localize('Frequently asked questions - DBot')}>
<WhatIsDBot text={localize('What is DBot?')} label="what-is-dbot" />
<FindBlocks text={localize('How do I find the blocks I need?')} label="find-blocks" />
<RemoveBlocks
text={localize('How do I remove blocks from the workspace?')}
label="remove-blocks"
/>
<CreateVariables
text={localize('How do I create variables?')}
label="create-variables"
/>
<QuickStrategy
text={localize('What is a quick strategy and how do I use it?')}
label="quick-strategy"
/>
<MartingaleStrategy
text={localize('What is the Martingale strategy?')}
label="martingale-strategy"
/>
<AlembertStrategy
text={localize('What is the D’Alembert strategy?')}
label="dalembert-strategy"
/>
<OskarStrategy
text={localize("What is the Oscar's Grind strategy?")}
label="oscars-grind-strategy"
/>
<SaveStrategy text={localize('How do I save my strategy?')} label="save-strategy" />
<ImportStrategy
text={localize('How do I import my strategies into DBot?')}
label="import-strategy"
/>
<ResetWorkspace
text={localize('How do I reset the workspace?')}
label="reset-workspace"
/>
<TransactionLog
text={localize('How do I clear my transaction log?')}
label="clear-transaction-log"
/>
<ControlLosses
text={localize('How do I control my losses with DBot?')}
label="control-loss"
/>
<TradeStatus
text={localize('Where can I see the status of my trades in DBot?')}
label="status-of-trades"
/>
<ViewChart text={localize('How do I view the chart in DBot?')} label="view-chart" />
</Article>
</div>
)
}

Expand Down
70 changes: 36 additions & 34 deletions src/pages/help-centre/deposits-and-withdrawals.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,40 +123,42 @@ const WithdrawMaestroMastercard = () => (

const DepositsAndWithdrawalArticle = () => {
return (
<Article header={localize('Deposits and withdrawals')}>
<PaymentMethods
text={localize('What payment methods do you support?')}
label="payment-methods"
/>
<WithdrawalProcessingTime
text={localize('How long does it take to process deposits and withdrawals?')}
label="deposit-withdrawal-processing-time"
/>
<MinimumDepositWithdrawal
text={localize('What is the minimum deposit or withdrawal amount?')}
label="minimum-deposit-or-withdrawal"
/>
<ExpiredVerificationLink
text={localize('My withdrawal verification link expired. What should I do?')}
label="expired-verification-link"
/>
<LiftWithdrawalLimits
text={localize('How can I lift my withdrawal limits?')}
label="lift-withdrawal-limits"
/>
<CreditCardDepositDeclined
text={localize('Why does my credit card deposit keep getting declined?')}
label="credit-card-deposit-declined"
/>
<WithdrawDepositBonus
text={localize('Can I withdraw my deposit bonus?')}
label="withdraw-deposit-bonus"
/>
<WithdrawMaestroMastercard
text={localize("Why can't I withdraw funds to my Maestro/Mastercard?")}
label="withdraw-to-maestro-mastercard"
/>
</Article>
<div>
<Article header={localize('Deposits and withdrawals')} title={localize('Help centre | Frequently asked questions | Deposits and withdrawals | Deriv')} description={localize('Frequently asked questions - Deposits and withdrawals')}>
<PaymentMethods
text={localize('What payment methods do you support?')}
label="payment-methods"
/>
<WithdrawalProcessingTime
text={localize('How long does it take to process deposits and withdrawals?')}
label="deposit-withdrawal-processing-time"
/>
<MinimumDepositWithdrawal
text={localize('What is the minimum deposit or withdrawal amount?')}
label="minimum-deposit-or-withdrawal"
/>
<ExpiredVerificationLink
text={localize('My withdrawal verification link expired. What should I do?')}
label="expired-verification-link"
/>
<LiftWithdrawalLimits
text={localize('How can I lift my withdrawal limits?')}
label="lift-withdrawal-limits"
/>
<CreditCardDepositDeclined
text={localize('Why does my credit card deposit keep getting declined?')}
label="credit-card-deposit-declined"
/>
<WithdrawDepositBonus
text={localize('Can I withdraw my deposit bonus?')}
label="withdraw-deposit-bonus"
/>
<WithdrawMaestroMastercard
text={localize("Why can't I withdraw funds to my Maestro/Mastercard?")}
label="withdraw-to-maestro-mastercard"
/>
</Article>
</div>
)
}

Expand Down
65 changes: 34 additions & 31 deletions src/pages/help-centre/dmt5.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,37 +142,40 @@ const ResetDMT5Password = () => (

const DMT5Article = () => {
return (
<Article header="DMT5">
<WhatIsDMT5 text={localize('What is DMT5?')} label="what-is-dmt5" />
<DifferenceDMT5DTrader
text={localize('What are the major differences between DTrader and DMT5?')}
label="differences-of-dtrader-and-dmt5"
/>
<DifferentAccounts
text={localize(
'What are the differences between the DMT5 Synthetic Indices, Financial and Financial STP accounts?',
)}
label="differences-of-dmt5-accounts"
/>
<WithdrawDMT5
text={localize('How can I withdraw funds from my DMT5 real money account?')}
label="withdraw-funds-from-DMT5"
/>
<LoginCredentials
text={localize(
'Why are my DMT5 login details different from my Deriv login details?',
)}
label="login-credentials"
/>
<ResetDMT5Password
text={localize('How can I reset my DMT5 account password?')}
label="reset-dmt5-password"
/>
<DepositDMT5
text={localize('How can I deposit funds into my DMT5 real money account?')}
label="deposit-to-dmt5"
/>
</Article>
<div>
<Article header="DMT5" title={localize('Help centre | Frequently asked questions | DMT5 | Deriv')} description={localize(
'Frequently asked questions - DMT5',
)}>
<WhatIsDMT5 text={localize('What is DMT5?')} label="what-is-dmt5" />
<DifferenceDMT5DTrader
text={localize('What are the major differences between DTrader and DMT5?')}
label="differences-of-dtrader-and-dmt5"
/>
<DifferentAccounts
text={localize(
'What are the differences between the DMT5 Synthetic Indices, Financial and Financial STP accounts?',
)}
label="differences-of-dmt5-accounts"
/>
<WithdrawDMT5
text={localize('How can I withdraw funds from my DMT5 real money account?')}
label="withdraw-funds-from-DMT5"
/>
<LoginCredentials
text={localize(
'Why are my DMT5 login details different from my Deriv login details?',
)}
/>
<ResetDMT5Password
text={localize('How can I reset my DMT5 account password?')}
label="reset-dmt5-password"
/>
<DepositDMT5
text={localize('How can I deposit funds into my DMT5 real money account?')}
label="deposit-to-dmt5"
/>
</Article >
</div>
)
}

Expand Down
Loading