Skip to content

Commit

Permalink
Merge pull request #171 from TrustlessComputer/feat/whitelist_munual
Browse files Browse the repository at this point in the history
add tooltip & login
  • Loading branch information
0xmegalodon authored Jan 30, 2024
2 parents d43192f + 6e97fe1 commit c4f81dd
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions src/modules/PublicSale/BuyForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ const PrivateSaleForm = ({ vcInfo }: { vcInfo?: VCInfo }) => {
{/* : '-'}{' '}*/}
{/* BVM*/}
{/*</Text>*/}
{Boolean(userContributeInfo?.view_boost) ? (
{Boolean(userContributeInfo?.view_boost) && (
<Flex
gap={'2px'}
alignItems={'center'}
Expand Down Expand Up @@ -244,22 +244,8 @@ const PrivateSaleForm = ({ vcInfo }: { vcInfo?: VCInfo }) => {
: '-'}
</Text>
</Flex>
) : (
<Tooltip label="Sign in to X and claim your boost!">
<svg
cursor={'pointer'}
stroke="currentColor"
fill="currentColor"
stroke-width="0"
viewBox="0 0 512 512"
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path d="M256 48C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48zm-4.3 304c-11.8 0-21.4-9-21.4-20.6 0-11.5 9.6-20.6 21.4-20.6 11.9 0 21.5 9 21.5 20.6 0 11.6-9.5 20.6-21.5 20.6zm40.2-96.9c-17.4 10.1-23.3 17.5-23.3 30.3v7.9h-34.7l-.3-8.6c-1.7-20.6 5.5-33.4 23.6-44 16.9-10.1 24-16.5 24-28.9s-12-21.5-26.9-21.5c-15.1 0-26 9.8-26.8 24.6H192c.7-32.2 24.5-55 64.7-55 37.5 0 63.3 20.8 63.3 50.7 0 19.9-9.6 33.6-28.1 44.5z"></path>
</svg>
</Tooltip>
)}
)
}
</Flex>
</div>
</div>
Expand Down

0 comments on commit c4f81dd

Please sign in to comment.