diff --git a/src/components/custom/other-platforms.js b/src/components/custom/other-platforms.js
index 9d646f1f56a..b1722cb3784 100644
--- a/src/components/custom/other-platforms.js
+++ b/src/components/custom/other-platforms.js
@@ -539,11 +539,7 @@ export const NavResources = ({ onClick }) => (
icon={() =>
}
title={localize('Blog')}
onClick={onClick}
- to=""
- type="blog"
- external="true"
- target="_blank"
- rel="noopener noreferrer"
+ to="/blog"
/>
)
diff --git a/src/components/elements/off-canvas-menu.js b/src/components/elements/off-canvas-menu.js
index 2e976d912f0..4380ad02402 100644
--- a/src/components/elements/off-canvas-menu.js
+++ b/src/components/elements/off-canvas-menu.js
@@ -501,21 +501,11 @@ export const OffCanvasMenuWrapper = (props) => {
-
+
{localize('Blog')}
-
-
-
{
+import { deriv_status_page_url } from 'common/constants'
+const MainLinksSection = ({ is_ppc, is_ppc_redirect, is_eu_country }) => {
return (
@@ -24,14 +21,10 @@ const MainLinksSection = ({is_ppc, is_ppc_redirect, is_eu_country }) => {
{localize('Our leadership')}
-
- {localize('Why choose us?')}
-
+ {localize('Why choose us?')}
-
- {localize('Partnership programmes')}
-
+ {localize('Partnership programmes')}
{localize('Contact us')}
@@ -78,21 +71,15 @@ const MainLinksSection = ({is_ppc, is_ppc_redirect, is_eu_country }) => {
Codestin Search App
-
- {localize('Margin trading')}
-
+ {localize('Margin trading')}
-
- {localize('Options')}
-
+ {localize('Options')}
-
- {localize('Multipliers')}
-
+ {localize('Multipliers')}
)}
@@ -111,14 +98,10 @@ const MainLinksSection = ({is_ppc, is_ppc_redirect, is_eu_country }) => {
)}
-
- {localize('Stock indices')}
-
+ {localize('Stock indices')}
-
- {localize('Commodities')}
-
+ {localize('Commodities')}
@@ -126,9 +109,7 @@ const MainLinksSection = ({is_ppc, is_ppc_redirect, is_eu_country }) => {
Codestin Search App
-
- {localize('Regulatory information')}
-
+ {localize('Regulatory information')}
@@ -151,9 +132,7 @@ const MainLinksSection = ({is_ppc, is_ppc_redirect, is_eu_country }) => {
-
- {localize('Payment agents')}
-
+ {localize('Payment agents')}
{
-
- {localize('Traders’ tools')}
-
+ {localize('Traders’ tools')}
-
- {localize('Payment methods')}
-
+ {localize('Payment methods')}
{
-
- {localize('Blog')}
-
+ {localize('Blog')}
@@ -223,11 +190,11 @@ const MainLinksSection = ({is_ppc, is_ppc_redirect, is_eu_country }) => {
)
}
-export default MainLinksSection;
+export default MainLinksSection
MainLinksSection.propTypes = {
is_eu_country: PropTypes.bool,
is_ppc: PropTypes.bool,
is_ppc_redirect: PropTypes.bool,
type: PropTypes.string,
-}
\ No newline at end of file
+}