From 7b683d10459cdf96074042dbd34101c094b29a91 Mon Sep 17 00:00:00 2001 From: KillariDev Date: Thu, 28 Dec 2023 12:13:46 +0200 Subject: [PATCH 1/7] privacy policy --- .../WalletModal/PrivacyPolicyNotice.tsx | 34 ------------------- src/components/WalletModal/index.tsx | 8 ----- 2 files changed, 42 deletions(-) delete mode 100644 src/components/WalletModal/PrivacyPolicyNotice.tsx diff --git a/src/components/WalletModal/PrivacyPolicyNotice.tsx b/src/components/WalletModal/PrivacyPolicyNotice.tsx deleted file mode 100644 index af27bfde2cb..00000000000 --- a/src/components/WalletModal/PrivacyPolicyNotice.tsx +++ /dev/null @@ -1,34 +0,0 @@ -import { Trans } from '@lingui/macro' -import styled from 'styled-components' -import { ExternalLink, ThemedText } from 'theme/components' - -const StyledLink = styled(ExternalLink)` - font-weight: 535; - color: ${({ theme }) => theme.neutral2}; -` - -const LastUpdatedText = styled.span` - color: ${({ theme }) => theme.neutral3}; -` - -const LAST_UPDATED_DATE = '6.7.23' - -export default function PrivacyPolicyNotice() { - return ( - - By connecting a wallet, you agree to Uniswap Labs'{' '} - - Terms of Service{' '} - - and consent to its{' '} - - Privacy Policy. - - - {' ('} - Last updated - {` ${LAST_UPDATED_DATE})`} - - - ) -} diff --git a/src/components/WalletModal/index.tsx b/src/components/WalletModal/index.tsx index 1cf805e901c..328c56af5dc 100644 --- a/src/components/WalletModal/index.tsx +++ b/src/components/WalletModal/index.tsx @@ -14,7 +14,6 @@ import { flexColumnNoWrap } from 'theme/styles' import ConnectionErrorView from './ConnectionErrorView' import Option from './Option' -import PrivacyPolicyNotice from './PrivacyPolicyNotice' const Wrapper = styled.div` ${flexColumnNoWrap}; @@ -34,10 +33,6 @@ const OptionGrid = styled.div` `}; ` -const PrivacyPolicyWrapper = styled.div` - padding: 0 4px; -` - export default function WalletModal({ openSettings }: { openSettings: () => void }) { const { connector, chainId } = useWeb3React() @@ -71,9 +66,6 @@ export default function WalletModal({ openSettings }: { openSettings: () => void