From 3859f0a88bb890a5e90523d46748a9ee14905509 Mon Sep 17 00:00:00 2001 From: mitra-fs Date: Tue, 18 Jan 2022 12:16:59 +0330 Subject: [PATCH] Remove copyright and all rights reserved --- src/components/layout/besquare/footer.js | 10 --------- src/components/layout/copyright.js | 25 ----------------------- src/components/layout/footer.js | 2 -- src/components/layout/footer/copyright.js | 22 -------------------- src/components/layout/layout.js | 2 -- 5 files changed, 61 deletions(-) delete mode 100644 src/components/layout/copyright.js delete mode 100644 src/components/layout/footer/copyright.js diff --git a/src/components/layout/besquare/footer.js b/src/components/layout/besquare/footer.js index 4ac186e15b3..906bbafe432 100644 --- a/src/components/layout/besquare/footer.js +++ b/src/components/layout/besquare/footer.js @@ -135,16 +135,6 @@ const BeSquareFooter = () => { -
- - © {localize('2021 Deriv | All rights reserved')} - -
) } diff --git a/src/components/layout/copyright.js b/src/components/layout/copyright.js deleted file mode 100644 index 664879c0bab..00000000000 --- a/src/components/layout/copyright.js +++ /dev/null @@ -1,25 +0,0 @@ -import React from 'react' -import { Box, Container } from 'components/containers' -import { Text } from 'components/elements' -import { Localize } from 'components/localization' -import CopyrightIc from 'images/svg/layout/copyright-white.svg' - -const Copyright = () => { - const current_year = new Date().getFullYear() - - return ( - - - copyright ic - - - - - - ) -} - -export default Copyright diff --git a/src/components/layout/footer.js b/src/components/layout/footer.js index 29a6dfb34b3..1a0e832c051 100644 --- a/src/components/layout/footer.js +++ b/src/components/layout/footer.js @@ -6,7 +6,6 @@ import { DefaultFooter, FooterGrid } from './footer/common/style.js' import LogoSection from './footer/logo' import MainLinksSection from './footer/main-links' import DisclaimerSection from './footer/disclaimer' -import CopyrightSection from './footer/copyright' import BottomSocialSection from './footer/bottom-social-wrapper' import AdditionalEUSection from './footer/additional-eu' import { DerivStore } from 'store' @@ -39,7 +38,6 @@ const Footer = ({ type, is_ppc, is_ppc_redirect, academy }) => { is_eu_country={is_eu_country} /> - diff --git a/src/components/layout/footer/copyright.js b/src/components/layout/footer/copyright.js deleted file mode 100644 index 161fb6530f5..00000000000 --- a/src/components/layout/footer/copyright.js +++ /dev/null @@ -1,22 +0,0 @@ -import React from 'react' -import { CopyrightWrapper } from './common/style.js' -import { Localize } from 'components/localization' -import CopyrightIc from 'images/svg/layout/copyright.svg' -import { Text } from 'components/elements' -const CopyrightSection = () => { - const current_year = new Date().getFullYear() - - return ( - - copyright ic - - - - - ) -} - -export default CopyrightSection diff --git a/src/components/layout/layout.js b/src/components/layout/layout.js index 1f3d51a7852..0e8085d73c4 100644 --- a/src/components/layout/layout.js +++ b/src/components/layout/layout.js @@ -3,7 +3,6 @@ import Loadable from '@loadable/component' import PropTypes from 'prop-types' import styled from 'styled-components' import useGTMData from '../hooks/use-gtm-data' -import Copyright from './copyright' import { Nav, NavStatic, NavPartners, NavInterim } from './nav' import JumpIndicesNav from './jump-indices/nav' import { NavCareers } from './nav-careers' @@ -183,7 +182,6 @@ const Layout = ({ break case 'interim': Navigation = - FooterNav = break case 'partners': Navigation =