-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use font styles for different variants
- Loading branch information
1 parent
b5e7844
commit f9e2705
Showing
33 changed files
with
78 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,29 +32,29 @@ function PrivacyPolicy ({ openMenu, setPopup }: Props): React.ReactElement { | |
title={t('Privacy and security')} | ||
> | ||
<Grid container item justifyContent='center' sx={{ pb: '5px', position: 'relative', pt: '15px', rowGap: '20px', zIndex: 1 }}> | ||
<Typography color='text.secondary' fontFamily='Inter' fontSize='12px' fontWeight={500} px='20px' textAlign='center'> | ||
<Typography color='text.secondary' px='20px' variant='B-4'> | ||
{t('PolkaGate is a browser extension that lets you use the Polkadot network and decentralized apps. We respect your privacy and do not collect or store any of your personal data. This is how we protect your privacy:')} | ||
</Typography> | ||
<Box> | ||
<Box sx={{ alignItems: 'flex-start', display: 'flex', gap: '8px' }}> | ||
<SquareIcon sx={{ color: '#FF4FB9', fontSize: '10px', marginTop: '4px', transform: 'rotate(45deg)' }} /> | ||
<Typography color='text.secondary' fontFamily='Inter' fontSize='13px' fontWeight={500} textAlign='left'> | ||
<Typography color='text.secondary' textAlign='left' variant='B-1'> | ||
{t('We do not collect your clicks, browsing history, keys, addresses, transactions, or any other data.')} | ||
</Typography> | ||
</Box> | ||
</Box> | ||
<Box> | ||
<Box sx={{ alignItems: 'flex-start', display: 'flex', gap: '8px' }}> | ||
<SquareIcon sx={{ color: '#FF4FB9', fontSize: '10px', marginTop: '4px', transform: 'rotate(45deg)' }} /> | ||
<Typography color='text.secondary' fontFamily='Inter' fontSize='13px' fontWeight={500} textAlign='left'> | ||
<Typography color='text.secondary' textAlign='left' variant='B-1'> | ||
{t('We use open-source code, end-to-end encryption, local storage, and secure communication protocols.')} | ||
</Typography> | ||
</Box> | ||
</Box> | ||
<Box> | ||
<Box sx={{ alignItems: 'flex-start', display: 'flex', gap: '8px' }}> | ||
<SquareIcon sx={{ color: '#FF4FB9', fontSize: '10px', marginTop: '4px', transform: 'rotate(45deg)' }} /> | ||
<Typography color='text.secondary' fontFamily='Inter' fontSize='13px' fontWeight={500} textAlign='left'> | ||
<Typography color='text.secondary' textAlign='left' variant='B-1'> | ||
{t('We may update this privacy policy and notify you on our website and extension.')} | ||
</Typography> | ||
</Box> | ||
|
@@ -65,13 +65,13 @@ function PrivacyPolicy ({ openMenu, setPopup }: Props): React.ReactElement { | |
<Translation> | ||
{() => ( | ||
<div style={{ lineHeight: 1.3, textAlign: 'left' }}> | ||
<span style={{ color: theme.palette.text.secondary, fontFamily: 'Inter', fontSize: '13px', fontWeight: 500, textAlign: 'left' }}> | ||
<span style={{ color: theme.palette.text.secondary, ...theme.typography['B-1'], textAlign: 'left' }}> | ||
{t('If you have any questions, please contact us at ')} | ||
</span> | ||
<Link href='mailto:[email protected]' sx={{ color: 'text.secondary', textDecoration: 'underline' }}> | ||
<Link href='mailto:[email protected]' sx={{ color: 'text.secondary', ...theme.typography['B-1'], textDecoration: 'underline' }}> | ||
{'[email protected]'} | ||
</Link> | ||
<span style={{ color: theme.palette.text.secondary, fontFamily: 'Inter', fontSize: '13px', fontWeight: 500, textAlign: 'left' }}> | ||
<span style={{ color: theme.palette.text.secondary, ...theme.typography['B-1'], textAlign: 'left' }}> | ||
{t(' or follow us on our social media accounts.')} | ||
</span> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.