feat: replaced protocol disclaimer with privacy policy link (#5170)
copy updates
This commit is contained in:
parent
f5df2fed09
commit
0835744006
@ -137,12 +137,12 @@ export function PrivacyPolicy() {
|
||||
</ExternalLink>
|
||||
</StyledExternalCard>
|
||||
<StyledExternalCard>
|
||||
<ExternalLink href={'https://uniswap.org/disclaimer/'}>
|
||||
<ExternalLink href={'https://uniswap.org/privacy-policy/'}>
|
||||
<RowBetween>
|
||||
<AutoRow gap="4px">
|
||||
<Info size={20} />
|
||||
<ThemedText.DeprecatedMain fontSize={14} color={'deprecated_primaryText1'}>
|
||||
<Trans>Protocol Disclaimer</Trans>
|
||||
<Trans>Privacy Policy</Trans>
|
||||
</ThemedText.DeprecatedMain>
|
||||
</AutoRow>
|
||||
<StyledLinkOut size={20} />
|
||||
|
@ -315,32 +315,24 @@ export default function WalletModal({
|
||||
|
||||
function getTermsOfService(nftFlagEnabled: boolean, walletView: string) {
|
||||
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 ? (
|
||||
<AutoRow style={{ flexWrap: 'nowrap', padding: '4px 16px' }}>
|
||||
<ThemedText.BodySecondary fontSize={16} lineHeight={'24px'}>
|
||||
<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>
|
||||
{content}
|
||||
</ThemedText.BodySecondary>
|
||||
</AutoRow>
|
||||
) : (
|
||||
<LightCard>
|
||||
<AutoRow style={{ flexWrap: 'nowrap' }}>
|
||||
<ThemedText.DeprecatedBody fontSize={12}>
|
||||
<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>
|
||||
<ThemedText.DeprecatedBody fontSize={12}>{content}</ThemedText.DeprecatedBody>
|
||||
</AutoRow>
|
||||
</LightCard>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user