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 192c758

Browse files
authored
suthesh/fix-seo-description (#1216)
* update seo descriptions, title and remove keywords tag from all pages * fix seo description in help centre
1 parent 77bde1e commit 192c758

File tree

13 files changed

+234
-223
lines changed

13 files changed

+234
-223
lines changed

src/components/containers/seo.js

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react'
22
import PropTypes from 'prop-types'
33
import { Helmet } from 'react-helmet'
44
import { useStaticQuery, graphql } from 'gatsby'
5-
import { LocaleContext, localize } from '../localization'
5+
import { LocaleContext } from '../localization'
66
import language_config from '../../../i18n-config'
77
import TradingImage from 'images/common/practice.png'
88

@@ -82,12 +82,6 @@ const SEO = ({ description, meta, title, no_index, has_organization_schema }) =>
8282
name: 'description',
8383
content: metaDescription,
8484
},
85-
{
86-
name: 'keywords',
87-
content: localize(
88-
'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',
89-
),
90-
},
9185
{
9286
name: 'google',
9387
content: 'notranslate',
@@ -154,11 +148,11 @@ const SEO = ({ description, meta, title, no_index, has_organization_schema }) =>
154148
},
155149
...(no_index || no_index_staging || is_ach_page
156150
? [
157-
{
158-
name: 'robots',
159-
content: 'noindex',
160-
},
161-
]
151+
{
152+
name: 'robots',
153+
content: 'noindex',
154+
},
155+
]
162156
: []),
163157
].concat(meta)}
164158
>

src/pages/help-centre/_article.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ const TabWrapper = styled.div`
2525
const ContactContainer = styled.div`
2626
margin-top: 8rem;
2727
`
28-
export const Article = ({ children, header }) => {
28+
export const Article = ({ children, header, title, description }) => {
2929
return (
3030
<Layout>
31-
<SEO title={localize('Help Center | ' + header)} />
31+
<SEO title={title} description={description} />
3232
<Container align="left" justify="flex-start" direction="column">
3333
<StyledLink
3434
to="/help-centre/"
@@ -64,5 +64,7 @@ export const Article = ({ children, header }) => {
6464

6565
Article.propTypes = {
6666
children: PropTypes.node,
67+
description: PropTypes.string,
6768
header: PropTypes.string,
69+
title: PropTypes.string,
6870
}

src/pages/help-centre/account.js

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -145,35 +145,37 @@ const DormantFee = () => (
145145

146146
const AccountArticle = () => {
147147
return (
148-
<Article header={localize('Account')}>
149-
<WhoCanOpenAnAccount
150-
text={localize("Why can't I create an account?")}
151-
label="who-can-open-an-account"
152-
/>
153-
<ChangingPersonalDetails
154-
text={localize('How can I change my personal details?')}
155-
label="changing-your-personal-details"
156-
/>
157-
<ChangeAccountCurrency
158-
text={localize("How can I change my account's currency?")}
159-
label="change-account-currency"
160-
/>
161-
<RecoveringPassword
162-
text={localize(
163-
'I forgot my Google/Facebook account password. How can I log in to my Deriv account?',
164-
)}
165-
label="recovering-your-password"
166-
/>
167-
<CloseAccount
168-
text={localize('How can I close my account?')}
169-
label="close-your-account"
170-
/>
171-
<UnsubscribeEmail
172-
text={localize('How do I unsubscribe from marketing emails?')}
173-
label="unsubscribe-marketing-emails"
174-
/>
175-
<DormantFee text={localize('What is a dormant fee?')} label="what-is-dormant-fee" />
176-
</Article>
148+
<div>
149+
<Article header={localize('Account')} title={localize('Help centre | Frequently asked questions | Account | Deriv')} description={localize('Frequently asked questions - Account')}>
150+
<WhoCanOpenAnAccount
151+
text={localize("Why can't I create an account?")}
152+
label="who-can-open-an-account"
153+
/>
154+
<ChangingPersonalDetails
155+
text={localize('How can I change my personal details?')}
156+
label="changing-your-personal-details"
157+
/>
158+
<ChangeAccountCurrency
159+
text={localize("How can I change my account's currency?")}
160+
label="change-account-currency"
161+
/>
162+
<RecoveringPassword
163+
text={localize(
164+
'I forgot my Google/Facebook account password. How can I log in to my Deriv account?',
165+
)}
166+
label="recovering-your-password"
167+
/>
168+
<CloseAccount
169+
text={localize('How can I close my account?')}
170+
label="close-your-account"
171+
/>
172+
<UnsubscribeEmail
173+
text={localize('How do I unsubscribe from marketing emails?')}
174+
label="unsubscribe-marketing-emails"
175+
/>
176+
<DormantFee text={localize('What is a dormant fee?')} label="what-is-dormant-fee" />
177+
</Article>
178+
</div>
177179
)
178180
}
179181

src/pages/help-centre/dbot.js

Lines changed: 52 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -702,56 +702,58 @@ const ViewChart = () => (
702702

703703
const DBotArticle = () => {
704704
return (
705-
<Article header="DBot">
706-
<WhatIsDBot text={localize('What is DBot?')} label="what-is-dbot" />
707-
<FindBlocks text={localize('How do I find the blocks I need?')} label="find-blocks" />
708-
<RemoveBlocks
709-
text={localize('How do I remove blocks from the workspace?')}
710-
label="remove-blocks"
711-
/>
712-
<CreateVariables
713-
text={localize('How do I create variables?')}
714-
label="create-variables"
715-
/>
716-
<QuickStrategy
717-
text={localize('What is a quick strategy and how do I use it?')}
718-
label="quick-strategy"
719-
/>
720-
<MartingaleStrategy
721-
text={localize('What is the Martingale strategy?')}
722-
label="martingale-strategy"
723-
/>
724-
<AlembertStrategy
725-
text={localize('What is the D’Alembert strategy?')}
726-
label="dalembert-strategy"
727-
/>
728-
<OskarStrategy
729-
text={localize("What is the Oscar's Grind strategy?")}
730-
label="oscars-grind-strategy"
731-
/>
732-
<SaveStrategy text={localize('How do I save my strategy?')} label="save-strategy" />
733-
<ImportStrategy
734-
text={localize('How do I import my strategies into DBot?')}
735-
label="import-strategy"
736-
/>
737-
<ResetWorkspace
738-
text={localize('How do I reset the workspace?')}
739-
label="reset-workspace"
740-
/>
741-
<TransactionLog
742-
text={localize('How do I clear my transaction log?')}
743-
label="clear-transaction-log"
744-
/>
745-
<ControlLosses
746-
text={localize('How do I control my losses with DBot?')}
747-
label="control-loss"
748-
/>
749-
<TradeStatus
750-
text={localize('Where can I see the status of my trades in DBot?')}
751-
label="status-of-trades"
752-
/>
753-
<ViewChart text={localize('How do I view the chart in DBot?')} label="view-chart" />
754-
</Article>
705+
<div>
706+
<Article header="DBot" title={localize('Help centre | Frequently asked questions | DBot | Deriv')} description={localize('Frequently asked questions - DBot')}>
707+
<WhatIsDBot text={localize('What is DBot?')} label="what-is-dbot" />
708+
<FindBlocks text={localize('How do I find the blocks I need?')} label="find-blocks" />
709+
<RemoveBlocks
710+
text={localize('How do I remove blocks from the workspace?')}
711+
label="remove-blocks"
712+
/>
713+
<CreateVariables
714+
text={localize('How do I create variables?')}
715+
label="create-variables"
716+
/>
717+
<QuickStrategy
718+
text={localize('What is a quick strategy and how do I use it?')}
719+
label="quick-strategy"
720+
/>
721+
<MartingaleStrategy
722+
text={localize('What is the Martingale strategy?')}
723+
label="martingale-strategy"
724+
/>
725+
<AlembertStrategy
726+
text={localize('What is the D’Alembert strategy?')}
727+
label="dalembert-strategy"
728+
/>
729+
<OskarStrategy
730+
text={localize("What is the Oscar's Grind strategy?")}
731+
label="oscars-grind-strategy"
732+
/>
733+
<SaveStrategy text={localize('How do I save my strategy?')} label="save-strategy" />
734+
<ImportStrategy
735+
text={localize('How do I import my strategies into DBot?')}
736+
label="import-strategy"
737+
/>
738+
<ResetWorkspace
739+
text={localize('How do I reset the workspace?')}
740+
label="reset-workspace"
741+
/>
742+
<TransactionLog
743+
text={localize('How do I clear my transaction log?')}
744+
label="clear-transaction-log"
745+
/>
746+
<ControlLosses
747+
text={localize('How do I control my losses with DBot?')}
748+
label="control-loss"
749+
/>
750+
<TradeStatus
751+
text={localize('Where can I see the status of my trades in DBot?')}
752+
label="status-of-trades"
753+
/>
754+
<ViewChart text={localize('How do I view the chart in DBot?')} label="view-chart" />
755+
</Article>
756+
</div>
755757
)
756758
}
757759

src/pages/help-centre/deposits-and-withdrawals.js

Lines changed: 36 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -123,40 +123,42 @@ const WithdrawMaestroMastercard = () => (
123123

124124
const DepositsAndWithdrawalArticle = () => {
125125
return (
126-
<Article header={localize('Deposits and withdrawals')}>
127-
<PaymentMethods
128-
text={localize('What payment methods do you support?')}
129-
label="payment-methods"
130-
/>
131-
<WithdrawalProcessingTime
132-
text={localize('How long does it take to process deposits and withdrawals?')}
133-
label="deposit-withdrawal-processing-time"
134-
/>
135-
<MinimumDepositWithdrawal
136-
text={localize('What is the minimum deposit or withdrawal amount?')}
137-
label="minimum-deposit-or-withdrawal"
138-
/>
139-
<ExpiredVerificationLink
140-
text={localize('My withdrawal verification link expired. What should I do?')}
141-
label="expired-verification-link"
142-
/>
143-
<LiftWithdrawalLimits
144-
text={localize('How can I lift my withdrawal limits?')}
145-
label="lift-withdrawal-limits"
146-
/>
147-
<CreditCardDepositDeclined
148-
text={localize('Why does my credit card deposit keep getting declined?')}
149-
label="credit-card-deposit-declined"
150-
/>
151-
<WithdrawDepositBonus
152-
text={localize('Can I withdraw my deposit bonus?')}
153-
label="withdraw-deposit-bonus"
154-
/>
155-
<WithdrawMaestroMastercard
156-
text={localize("Why can't I withdraw funds to my Maestro/Mastercard?")}
157-
label="withdraw-to-maestro-mastercard"
158-
/>
159-
</Article>
126+
<div>
127+
<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')}>
128+
<PaymentMethods
129+
text={localize('What payment methods do you support?')}
130+
label="payment-methods"
131+
/>
132+
<WithdrawalProcessingTime
133+
text={localize('How long does it take to process deposits and withdrawals?')}
134+
label="deposit-withdrawal-processing-time"
135+
/>
136+
<MinimumDepositWithdrawal
137+
text={localize('What is the minimum deposit or withdrawal amount?')}
138+
label="minimum-deposit-or-withdrawal"
139+
/>
140+
<ExpiredVerificationLink
141+
text={localize('My withdrawal verification link expired. What should I do?')}
142+
label="expired-verification-link"
143+
/>
144+
<LiftWithdrawalLimits
145+
text={localize('How can I lift my withdrawal limits?')}
146+
label="lift-withdrawal-limits"
147+
/>
148+
<CreditCardDepositDeclined
149+
text={localize('Why does my credit card deposit keep getting declined?')}
150+
label="credit-card-deposit-declined"
151+
/>
152+
<WithdrawDepositBonus
153+
text={localize('Can I withdraw my deposit bonus?')}
154+
label="withdraw-deposit-bonus"
155+
/>
156+
<WithdrawMaestroMastercard
157+
text={localize("Why can't I withdraw funds to my Maestro/Mastercard?")}
158+
label="withdraw-to-maestro-mastercard"
159+
/>
160+
</Article>
161+
</div>
160162
)
161163
}
162164

src/pages/help-centre/dmt5.js

Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -142,37 +142,40 @@ const ResetDMT5Password = () => (
142142

143143
const DMT5Article = () => {
144144
return (
145-
<Article header="DMT5">
146-
<WhatIsDMT5 text={localize('What is DMT5?')} label="what-is-dmt5" />
147-
<DifferenceDMT5DTrader
148-
text={localize('What are the major differences between DTrader and DMT5?')}
149-
label="differences-of-dtrader-and-dmt5"
150-
/>
151-
<DifferentAccounts
152-
text={localize(
153-
'What are the differences between the DMT5 Synthetic Indices, Financial and Financial STP accounts?',
154-
)}
155-
label="differences-of-dmt5-accounts"
156-
/>
157-
<WithdrawDMT5
158-
text={localize('How can I withdraw funds from my DMT5 real money account?')}
159-
label="withdraw-funds-from-DMT5"
160-
/>
161-
<LoginCredentials
162-
text={localize(
163-
'Why are my DMT5 login details different from my Deriv login details?',
164-
)}
165-
label="login-credentials"
166-
/>
167-
<ResetDMT5Password
168-
text={localize('How can I reset my DMT5 account password?')}
169-
label="reset-dmt5-password"
170-
/>
171-
<DepositDMT5
172-
text={localize('How can I deposit funds into my DMT5 real money account?')}
173-
label="deposit-to-dmt5"
174-
/>
175-
</Article>
145+
<div>
146+
<Article header="DMT5" title={localize('Help centre | Frequently asked questions | DMT5 | Deriv')} description={localize(
147+
'Frequently asked questions - DMT5',
148+
)}>
149+
<WhatIsDMT5 text={localize('What is DMT5?')} label="what-is-dmt5" />
150+
<DifferenceDMT5DTrader
151+
text={localize('What are the major differences between DTrader and DMT5?')}
152+
label="differences-of-dtrader-and-dmt5"
153+
/>
154+
<DifferentAccounts
155+
text={localize(
156+
'What are the differences between the DMT5 Synthetic Indices, Financial and Financial STP accounts?',
157+
)}
158+
label="differences-of-dmt5-accounts"
159+
/>
160+
<WithdrawDMT5
161+
text={localize('How can I withdraw funds from my DMT5 real money account?')}
162+
label="withdraw-funds-from-DMT5"
163+
/>
164+
<LoginCredentials
165+
text={localize(
166+
'Why are my DMT5 login details different from my Deriv login details?',
167+
)}
168+
/>
169+
<ResetDMT5Password
170+
text={localize('How can I reset my DMT5 account password?')}
171+
label="reset-dmt5-password"
172+
/>
173+
<DepositDMT5
174+
text={localize('How can I deposit funds into my DMT5 real money account?')}
175+
label="deposit-to-dmt5"
176+
/>
177+
</Article >
178+
</div>
176179
)
177180
}
178181

0 commit comments

Comments
 (0)