Skip to content

Commit

Permalink
resolved merge conflict and fixed few styling issues
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeSnooker committed Jul 22, 2023
1 parent 4c5d0df commit e84f57e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
3 changes: 2 additions & 1 deletion public/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -694,5 +694,6 @@
"docs": "Docs",
"governance": "Governance",
"proposals": "Proposals",
"termsofuse": "Terms of Use"
"termsofuse": "Terms of Use",
"walletDescription": "Connecting your wallet is like \"logging in\" on Web3. Select your wallet from the options to get started."
}
9 changes: 4 additions & 5 deletions src/components/WalletModal/WalletModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -368,11 +368,10 @@ const WalletModal: React.FC<WalletModalProps> = ({
<h6>{t('connectWallet')}</h6>
<Close className='cursor-pointer' onClick={toggleWalletModal} />
</Box>
<Box my={1} sx={{ color: '#696c80' }}>
Connecting your wallet is like &quot;logging in&quot; on Web3.
Select your wallet from the options to get started.
<Box my={1} className='walletDescriptionContainer'>
{t('walletDescription')}
</Box>
<Box className='abc'>
<Box>
{walletView === WALLET_VIEWS.PENDING ? (
<PendingView
connection={pendingWallet}
Expand All @@ -395,7 +394,7 @@ const WalletModal: React.FC<WalletModalProps> = ({
<Box paddingY={2.5} className={iconify ? 'blurb-iconify' : 'blurb'}>
<small>{t('newToMatic')}</small>
<a
href='https://docs.matic.network/docs/develop/wallets/getting-started'
href='https://wiki.polygon.technology/docs/tools/wallets/getting-started'
target='_blank'
rel='noopener noreferrer'
>
Expand Down
4 changes: 4 additions & 0 deletions src/components/styles/WalletModal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
}
}

.walletDescriptionContainer {
color: $textSecondary;
}

.option-container {
display: flex;
flex-direction: column;
Expand Down

0 comments on commit e84f57e

Please sign in to comment.