diff --git a/public/images/pie-chart-4.png b/public/images/pie-chart-4.png new file mode 100644 index 000000000..dda3a07b8 Binary files /dev/null and b/public/images/pie-chart-4.png differ diff --git a/public/images/wave-chart-2.png b/public/images/wave-chart-2.png new file mode 100644 index 000000000..b32350dd3 Binary files /dev/null and b/public/images/wave-chart-2.png differ diff --git a/src/modules/PublicSale/BuyForm/index.tsx b/src/modules/PublicSale/BuyForm/index.tsx index 56e89ee02..73d31b109 100644 --- a/src/modules/PublicSale/BuyForm/index.tsx +++ b/src/modules/PublicSale/BuyForm/index.tsx @@ -142,23 +142,23 @@ const PrivateSaleForm = ({ vcInfo }: { vcInfo?: VCInfo }) => { {token ? `$${formatCurrency( - userContributeInfo?.usdt_value, - MIN_DECIMAL, - MIN_DECIMAL, - 'BTC', - true, - )}` + userContributeInfo?.usdt_value, + MIN_DECIMAL, + MIN_DECIMAL, + 'BTC', + true, + )}` : '-'} - + {token ? `(${formatCurrency( - userContributeInfo?.bvm_balance_not_boost, - MIN_DECIMAL, - MAX_DECIMAL, - 'BTC', - false, - )} BVM)` + userContributeInfo?.bvm_balance_not_boost, + MIN_DECIMAL, + MAX_DECIMAL, + 'BTC', + false, + )} BVM)` : '-'} @@ -177,26 +177,29 @@ const PrivateSaleForm = ({ vcInfo }: { vcInfo?: VCInfo }) => { {token ? formatCurrency( - userContributeInfo?.bvm_balance, - MIN_DECIMAL, - MAX_DECIMAL, - ) + userContributeInfo?.bvm_balance, + MIN_DECIMAL, + MAX_DECIMAL, + ) : '-'}{' '} BVM - - + + - - - + + + @@ -232,7 +235,6 @@ const PrivateSaleForm = ({ vcInfo }: { vcInfo?: VCInfo }) => {
- Total Funded $ {formatCurrency( @@ -243,93 +245,59 @@ const PrivateSaleForm = ({ vcInfo }: { vcInfo?: VCInfo }) => { true, )} - - - - - - {formatCurrency( - contributeInfo?.total_user, - 0, - 0, - 'BTC', - true, - )} - - setShowContributorModal(true)} - cursor={'pointer'} - lineHeight={"22px"} - > - View all - - - } - title={'Contributors'} - /> - {token ? ( - } - > - - - ) : ( - - )} - - - - - setIsEnd(true)} - /> - - {dayjs(PUBLIC_SALE_END).format('MMM D, YYYY h:mm A')} - - +
- } - title={'Ends in'} + + setShowContributorModal(true)}> + + {formatCurrency( + contributeInfo?.total_user, + 0, + 0, + 'BTC', + true, + )} + + + backers + + +
+ {token ? ( + } + > + -
-
+ + ) : ( + + )} + + + setIsEnd(true)} + /> + +