Skip to content

Commit

Permalink
feat: add verso wallet links (#1301)
Browse files Browse the repository at this point in the history
* feat: add verso wallet links

* Adjusted icons acc. to figma css

---------

Co-authored-by: Nilesh Gupta <[email protected]>
  • Loading branch information
arn4b and 0xNilesh authored Nov 22, 2023
1 parent 76350fc commit bb64ecf
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 13 deletions.
9 changes: 9 additions & 0 deletions src/assets/PushSnaps/VersoIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 44 additions & 13 deletions src/components/MetamaskSnap/InstallMetamaskSnapModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { ItemHV2, ItemVV2, SpanV2 } from 'components/reusables/SharedStylingV2';
import { Button } from 'components/SharedStyling';
import Metamask from 'assets/PushSnaps/metamasksnap.svg';
import PushIcon from 'assets/PushSnaps/PushIcon.svg';
import VersoIcon from 'assets/PushSnaps/VersoIcon.svg';
import AppStoreQRCode from 'assets/PushSnaps/AppStoreQRCode.svg';
import PlayStoreQRCode from 'assets/PushSnaps/PlayStoreQRCode.svg';
import AppleIcon from 'assets/PushSnaps/AppleIcon.svg';
Expand Down Expand Up @@ -91,6 +92,29 @@ const InstallMetamaskSnapModal = ({
</SnapInner>
<InstallButton>Install</InstallButton>
</SnapContainer>
<SnapContainer>
<SnapInner>
<Logo
src={VersoIcon}
alt="Verso Icon"
/>
<SpanV2
fontSize="16px"
fontWeight="400"
color={theme.modalMessageColor}
>
Verso Wallet
</SpanV2>
</SnapInner>
<SnapInner>
<a href="https://apps.apple.com/ng/app/verso-wallet-crypto-nft/id1539304605" target="_blank">
<AppstoreInstallBtn><Image src={AppleIcon} width="16px" height="20px" alt='App store' /></AppstoreInstallBtn>
</a>
<a href="https://play.google.com/store/apps/details?id=com.btuprotocol.btu_wallet" target="_blank">
<AppstoreInstallBtn><Image src={PlayStore} width="16px" height="20px" alt='Play store' /></AppstoreInstallBtn>
</a>
</SnapInner>
</SnapContainer>

<ItemHV2 gap='14px'>

Expand Down Expand Up @@ -179,19 +203,26 @@ const Image = styled.img`
`

const InstallButton = styled(Button)`
width: fit-content;
min-width:102px;
background: #D53A94;
color: #fff;
z-Index:0;
font-family: 'Strawford';
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: normal;
border-radius: 8px;
padding: 14px 16px;
width: fit-content;
min-width:102px;
background: #D53A94;
color: #fff;
z-Index:0;
font-family: 'Strawford';
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: normal;
border-radius: 8px;
padding: 14px 16px;
`;

const AppstoreInstallBtn = styled(InstallButton)`
background: #000;
min-width: 0;
margin-left: 6px;
height: 36px;
width: 36px;
`;

const QRCodeContainer = styled(ItemVV2)`
Expand Down

0 comments on commit bb64ecf

Please sign in to comment.