Skip to content

Commit

Permalink
Merge branch 'feat/whitelist_munual' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
camewell071 committed Jan 29, 2024
2 parents b6ec4d1 + db51b04 commit dc740cf
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 6 deletions.
Binary file added public/images/pie-chart-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 7 additions & 5 deletions src/modules/PublicSale/BuyForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,7 @@ const PrivateSaleForm = ({ vcInfo }: { vcInfo?: VCInfo }) => {
const ContributorBlock = forwardRef((props: any, ref: any) => {
const { className, ...rest } = props;
return (
<Flex gap={'5px'} alignItems={'center'}>

<Flex gap={'5px'} alignItems={'center'} ref={ref} {...rest} cursor={token ? "pointer" : 'auto'}>
<Text fontSize={20} lineHeight={1} fontWeight={400} color={'#000'}>
{token
? `$${formatCurrency(
Expand Down Expand Up @@ -229,12 +228,15 @@ const PrivateSaleForm = ({ vcInfo }: { vcInfo?: VCInfo }) => {
true,
)}
</Text>
<Box mt={'40px'} />
<Box mt={'32px'} />

<div>

<Flex className={s.backer} gap={'6px'} onClick={() => setShowContributorModal(true)}>
<Text fontSize={20} lineHeight={1} fontWeight={400} color={'#000'}>
<Text fontSize={20} lineHeight={1} fontWeight={400} color={'#000'}
_hover={{
color: "#FA4E0E",
}}>
{formatCurrency(
contributeInfo?.total_user,
0,
Expand Down Expand Up @@ -276,7 +278,7 @@ const PrivateSaleForm = ({ vcInfo }: { vcInfo?: VCInfo }) => {
<Tooltip
minW='220px'
bg='white'
boxShadow='rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;'
boxShadow='0px 0px 24px -6px #0000001F'
borderRadius='4px'
padding='16px'
hasArrow
Expand Down
4 changes: 4 additions & 0 deletions src/modules/PublicSale/BuyForm/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -195,4 +195,8 @@
.contributorBlock {
cursor: pointer;
}

.backer {
cursor: pointer;
}
}
7 changes: 7 additions & 0 deletions src/modules/PublicSale/activities/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
font-weight: 500;
line-height: 140%;

@include is-mobile {
font-size: 14px;
}

&__active {
color: black;
}
Expand All @@ -40,6 +44,9 @@
font-style: normal;
font-weight: 400;
line-height: 160%;
@include is-mobile {
font-size: 14px;
}
}
&_header {
padding: 16px 0 !important;
Expand Down
2 changes: 1 addition & 1 deletion src/modules/bvm_v2/Allocation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const Allocation = () => {
>
<Flex flex={1}>
<Image
src={'/images/pie-chart-4.png'}
src={'/images/pie-chart-5.png'}
alt={'Allocation chart'}
flex={1}
mx="auto"
Expand Down

0 comments on commit dc740cf

Please sign in to comment.