Skip to content

Commit

Permalink
[website] Update the pricing page to reflect sales (#37751)
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Tassinari <[email protected]>
Co-authored-by: Matt <[email protected]>
  • Loading branch information
oliviertassinari and mbrookes authored Jun 29, 2023
1 parent 75c12ed commit 948b662
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
1 change: 1 addition & 0 deletions docs/src/components/pricing/EarlyBird.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export default function EarlyBird() {
endIcon={<KeyboardArrowRightRounded />}
sx={{
py: 1,
flexShrink: 0,
ml: { xs: 0, sm: 2 },
mt: { xs: 3, sm: 0 },
width: { xs: '100%', sm: '50%', md: '15%' },
Expand Down
23 changes: 17 additions & 6 deletions docs/src/components/pricing/PricingTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function Info(props: { value: React.ReactNode; metadata?: React.ReactNode }) {
return (
<React.Fragment>
{typeof value === 'string' ? (
<Typography variant="body2" color="text.secondary">
<Typography variant="body2" sx={{ color: 'text.secondary', textAlign: 'center' }}>
{value}
</Typography>
) : (
Expand All @@ -192,7 +192,7 @@ function ColumnHead({
nested = false,
href,
}: {
label: string;
label: React.ReactNode;
metadata?: string;
tooltip?: string;
nested?: boolean;
Expand Down Expand Up @@ -315,8 +315,9 @@ function Cell({ highlighted = false, ...props }: BoxProps & { highlighted?: bool
{...props}
sx={[
{
py: '18px',
px: 2,
py: '16px',
minHeight: 54,
px: [1, 2],
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
Expand Down Expand Up @@ -614,7 +615,12 @@ const rowHeaders: Record<string, React.ReactNode> = {
'security-questionnaire': (
<ColumnHead
{...{
label: 'Security questionnaire',
label: (
<React.Fragment>
Security questionnaire & <Box component="span" sx={{ display: ['none', 'block'] }} />
custom agreements
</React.Fragment>
),
}}
/>
),
Expand Down Expand Up @@ -743,7 +749,12 @@ const proData: Record<string, React.ReactNode> = {
'response-time': no,
'pre-screening': no,
'issue-escalation': no,
'security-questionnaire': no,
'security-questionnaire': (
<Info
value="Available from 10+ devs"
metadata={'Not available under the "Capped at 10 licenses" policy'}
/>
),
};

const premiumData: Record<string, React.ReactNode> = {
Expand Down

0 comments on commit 948b662

Please sign in to comment.