Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wilfred committed Jan 30, 2024
1 parent a4247de commit 775007c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
17 changes: 16 additions & 1 deletion src/modules/PublicSale/BuyForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,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 @@ -245,6 +245,21 @@ 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>
Expand Down
10 changes: 5 additions & 5 deletions src/modules/PublicSale/depositModal/deposit.content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,11 @@ const DepositContent: React.FC<IDepositContent> = ({

return (
<Flex className={s.depositContent}>
{/*{hasStaked && (
<Text className={s.descStaked} >
Buy and stake your $BVM to earn rewards from the BVM ecosystem and our collaborative Bitcoin L2s and dApps partners. Your $BVM will be automatically staked after the public sale, and you can choose to unstake at any time.
</Text>
)}*/}
<Text className={s.descStaked}>
Make a contribution using any of the currencies below.<br/>After your
payment processes, you’ll get a confirmation code to claim your $BVM
allocation later.
</Text>
{/* {secretCode && (
<>
<Flex className={s.wrapSecretKey}>
Expand Down

0 comments on commit 775007c

Please sign in to comment.