diff --git a/src/components/layout/footer.js b/src/components/layout/footer.js index 1a0e832c051..b4117def936 100644 --- a/src/components/layout/footer.js +++ b/src/components/layout/footer.js @@ -7,7 +7,6 @@ import LogoSection from './footer/logo' import MainLinksSection from './footer/main-links' import DisclaimerSection from './footer/disclaimer' import BottomSocialSection from './footer/bottom-social-wrapper' -import AdditionalEUSection from './footer/additional-eu' import { DerivStore } from 'store' // TODO: (discussion) make footer pure component, and move usage of footer to custom @@ -32,14 +31,9 @@ const Footer = ({ type, is_ppc, is_ppc_redirect, academy }) => { - + - diff --git a/src/components/layout/footer/additional-eu.js b/src/components/layout/footer/additional-eu.js deleted file mode 100644 index 7401457e952..00000000000 --- a/src/components/layout/footer/additional-eu.js +++ /dev/null @@ -1,45 +0,0 @@ -import React from 'react' -import { EuLogoWrapper, StyledMgaLogo } from './common/style.js' -import { LocalizedLink } from 'components/localization' -import { Flex, Show } from 'components/containers' -import { mga_link_url } from 'common/constants' -//EU icons -import MgaLogo from 'images/svg/layout/mga-logo.svg' -import Over18 from 'images/svg/layout/over-18.svg' - -const AdditionalEUSection = () => { - return ( - - - - - - - over18 desktop - - - - - - - - - - over18 mobile - - - - ) -} - -export default AdditionalEUSection diff --git a/src/components/layout/footer/common/style.js b/src/components/layout/footer/common/style.js index c7dd18e2191..b8d0e5e3f74 100644 --- a/src/components/layout/footer/common/style.js +++ b/src/components/layout/footer/common/style.js @@ -195,6 +195,7 @@ export const CopyrightWrapper = styled(Flex)` p { font-size: var(--text-size-xs); line-height: 1.14; + padding: 2rem 0; } @media ${device.tabletL} { diff --git a/src/components/layout/footer/disclaimer.js b/src/components/layout/footer/disclaimer.js index 7ec9a374061..71d3d74924c 100644 --- a/src/components/layout/footer/disclaimer.js +++ b/src/components/layout/footer/disclaimer.js @@ -69,23 +69,6 @@ const DisclaimerSection = ({ is_academy }) => { ]} /> - - licence no. MGA/B2C/102/2000)${ - is_academy - ? ' and by the Revenue Commissioners for clients in Ireland (licence no. 1010285).' - : '.' - }`} - components={[ - , - ]} - /> - {localize( @@ -94,7 +77,7 @@ const DisclaimerSection = ({ is_academy }) => { {localize( - "This website's services are not available in certain countries, including the USA, Canada, and Hong Kong, or to persons below 18.", + "This website's services are not available in certain countries, including the USA, Canada, and Hong Kong.", )} {is_academy && ( @@ -132,14 +115,6 @@ const DisclaimerSection = ({ is_academy }) => { - - , - ]} - /> - @@ -156,14 +131,6 @@ const DisclaimerSection = ({ is_academy }) => { - - , - ]} - /> - diff --git a/src/components/layout/footer/main-links.js b/src/components/layout/footer/main-links.js index ec7ce915a55..e42ed275490 100644 --- a/src/components/layout/footer/main-links.js +++ b/src/components/layout/footer/main-links.js @@ -5,7 +5,7 @@ import { localize } from 'components/localization' import { Flex, Show } from 'components/containers' import { deriv_status_page_url } from 'common/constants' -const MainLinksSection = ({ is_ppc, is_ppc_redirect, is_eu_country }) => { +const MainLinksSection = ({ is_ppc, is_ppc_redirect }) => { return ( @@ -37,45 +37,45 @@ const MainLinksSection = ({ is_ppc, is_ppc_redirect, is_eu_country }) => { {localize('DTrader')} - {!is_eu_country && ( + {localize('Deriv GO')} - )} - - {localize('DBot')} - + + {localize('DBot')} + + {localize('DMT5')} - {!is_eu_country && ( + {localize('Deriv X')} - )} - - - {localize('SmartTrader')} - - - - - {localize('Binary Bot')} - - + + + {localize('SmartTrader')} + + + + + {localize('Binary Bot')} + + + {!is_ppc && ( @@ -210,7 +210,6 @@ const MainLinksSection = ({ is_ppc, is_ppc_redirect, is_eu_country }) => { export default MainLinksSection MainLinksSection.propTypes = { - is_eu_country: PropTypes.bool, is_ppc: PropTypes.bool, is_ppc_redirect: PropTypes.bool, type: PropTypes.string,