Skip to content

Commit

Permalink
feat: more clear pricing text
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaanus committed Oct 11, 2024
1 parent 01b2a15 commit ba90408
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ export const OrderEnvironments: FC<OrderEnvironmentsProps> = () => {
'purchaseAdditionalEnvironments',
);

if (!isPro() || !isPurchaseAdditionalEnvironmentsEnabled) {
return null;
}
// if (!isPro() || !isPurchaseAdditionalEnvironmentsEnabled) {
// return null;
// }

const onSubmit = (environments: string[]) => {
setPurchaseDialogOpen(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ const StyledCardContent = styled(Box)(({ theme }) => ({
padding: theme.spacing(2),
}));

const StyledExtraText = styled('div')(({ theme }) => ({
paddingTop: theme.spacing(2),
}));

export const OrderEnvironmentsDialogPricing: FC<
OrderEnvironmentsDialogPricingProps
> = ({ pricingOptions }) => (
Expand All @@ -55,5 +59,11 @@ export const OrderEnvironmentsDialogPricing: FC<
</StyledCardContent>
</StyledCard>
))}
<StyledExtraText>
<Typography variant='body2' color='white'>
With Pro it is minimum of 5 users, that means an additional
environment would be minimum $50 per month.
</Typography>
</StyledExtraText>
</StyledContainer>
);

0 comments on commit ba90408

Please sign in to comment.