Commit 08357440 authored by cartcrom's avatar cartcrom Committed by GitHub

feat: replaced protocol disclaimer with privacy policy link (#5170)

copy updates
parent f5df2fed
...@@ -137,12 +137,12 @@ export function PrivacyPolicy() { ...@@ -137,12 +137,12 @@ export function PrivacyPolicy() {
</ExternalLink> </ExternalLink>
</StyledExternalCard> </StyledExternalCard>
<StyledExternalCard> <StyledExternalCard>
<ExternalLink href={'https://uniswap.org/disclaimer/'}> <ExternalLink href={'https://uniswap.org/privacy-policy/'}>
<RowBetween> <RowBetween>
<AutoRow gap="4px"> <AutoRow gap="4px">
<Info size={20} /> <Info size={20} />
<ThemedText.DeprecatedMain fontSize={14} color={'deprecated_primaryText1'}> <ThemedText.DeprecatedMain fontSize={14} color={'deprecated_primaryText1'}>
<Trans>Protocol Disclaimer</Trans> <Trans>Privacy Policy</Trans>
</ThemedText.DeprecatedMain> </ThemedText.DeprecatedMain>
</AutoRow> </AutoRow>
<StyledLinkOut size={20} /> <StyledLinkOut size={20} />
......
...@@ -315,32 +315,24 @@ export default function WalletModal({ ...@@ -315,32 +315,24 @@ export default function WalletModal({
function getTermsOfService(nftFlagEnabled: boolean, walletView: string) { function getTermsOfService(nftFlagEnabled: boolean, walletView: string) {
if (nftFlagEnabled && walletView === WALLET_VIEWS.PENDING) return null if (nftFlagEnabled && walletView === WALLET_VIEWS.PENDING) return null
const content = (
<Trans>
By connecting a wallet, you agree to Uniswap Labs’{' '}
<ExternalLink href="https://uniswap.org/terms-of-service/">Terms of Service</ExternalLink> and consent to its{' '}
<ExternalLink href="https://uniswap.org/privacy-policy">Privacy Policy</ExternalLink>.
</Trans>
)
return nftFlagEnabled ? ( return nftFlagEnabled ? (
<AutoRow style={{ flexWrap: 'nowrap', padding: '4px 16px' }}> <AutoRow style={{ flexWrap: 'nowrap', padding: '4px 16px' }}>
<ThemedText.BodySecondary fontSize={16} lineHeight={'24px'}> <ThemedText.BodySecondary fontSize={16} lineHeight={'24px'}>
<Trans> {content}
By connecting a wallet, you agree to Uniswap Labs’{' '}
<ExternalLink href="https://uniswap.org/terms-of-service/">Terms of Service</ExternalLink> and consent to
its <ExternalLink href="https://uniswap.org/privacy-policy">Privacy Policy</ExternalLink>.
</Trans>
</ThemedText.BodySecondary> </ThemedText.BodySecondary>
</AutoRow> </AutoRow>
) : ( ) : (
<LightCard> <LightCard>
<AutoRow style={{ flexWrap: 'nowrap' }}> <AutoRow style={{ flexWrap: 'nowrap' }}>
<ThemedText.DeprecatedBody fontSize={12}> <ThemedText.DeprecatedBody fontSize={12}>{content}</ThemedText.DeprecatedBody>
<Trans>
By connecting a wallet, you agree to Uniswap Labs’{' '}
<ExternalLink style={{ textDecoration: 'underline' }} href="https://uniswap.org/terms-of-service/">
Terms of Service
</ExternalLink>{' '}
and acknowledge that you have read and understand the Uniswap{' '}
<ExternalLink style={{ textDecoration: 'underline' }} href="https://uniswap.org/disclaimer/">
Protocol Disclaimer
</ExternalLink>
.
</Trans>
</ThemedText.DeprecatedBody>
</AutoRow> </AutoRow>
</LightCard> </LightCard>
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment