add blze tooltip to bsol logo

This commit is contained in:
saml33 2023-10-11 21:05:52 +11:00
parent e035f3af64
commit c186570e88
2 changed files with 39 additions and 1 deletions

View File

@ -50,12 +50,25 @@ const TokenLogo = ({
View Details
</a>
</>
) : bank?.name === 'bSOL' ? (
<>
<p className="mb-2">
Earn BLZE tokens for holding your bSOL on Mango
</p>
<a
href="https://rewards.solblaze.org/"
target="_blank"
rel="noopener noreferrer"
>
View Details
</a>
</>
) : null
}
>
<div
className={`h-[${logoSize}px] w-[${logoSize}px] relative rounded-full bg-th-bkg-2 ${
bank?.name === 'MSOL' ? 'cursor-help' : ''
bank?.name === 'MSOL' || bank?.name === 'bSOL' ? 'cursor-help' : ''
}`}
>
<Image alt="" width={logoSize} height={logoSize} src={logoUri} />
@ -64,6 +77,11 @@ const TokenLogo = ({
<Image alt="" width={16} height={16} src={'/icons/mnde.svg'} />
</div>
) : null}
{bank?.name === 'bSOL' ? (
<div className="absolute -right-1.5 -top-1.5 shadow">
<Image alt="" width={16} height={16} src={'/icons/blze.svg'} />
</div>
) : null}
</div>
</Tooltip>
) : (

20
public/icons/blze.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 20 KiB