diff --git a/docs/pages/careers.tsx b/docs/pages/careers.tsx index 6f2cbac9687401..548ee21e6999f3 100644 --- a/docs/pages/careers.tsx +++ b/docs/pages/careers.tsx @@ -1,12 +1,12 @@ import * as React from 'react'; import { styled } from '@mui/material/styles'; import Box from '@mui/material/Box'; -import Container from '@mui/material/Container'; import Divider from '@mui/material/Divider'; import Grid from '@mui/material/Grid'; import Stack from '@mui/material/Stack'; import Paper from '@mui/material/Paper'; import Button from '@mui/material/Button'; +import Badge from '@mui/material/Badge'; import Typography from '@mui/material/Typography'; import KeyboardArrowRightRounded from '@mui/icons-material/KeyboardArrowRightRounded'; import KeyboardArrowDownRounded from '@mui/icons-material/KeyboardArrowDownRounded'; @@ -48,7 +48,7 @@ function Role(props: RoleProps) { {props.title} - + {props.description} @@ -71,7 +71,7 @@ function Role(props: RoleProps) { {props.title} - + {props.description} @@ -271,34 +271,19 @@ function CareersContent() { return ( {/* Hero */} - - - - Build the next generation -
of tools for UI development -
- } - description="Together, we are enabling developers & designers to bring stunning UIs to life with unrivalled speed and ease." - /> - - - {/* Our ultimate goal */} +
+ + Build the next generation +
of tools for UI development + + } + description="Together, we are enabling developers & designers to bring stunning UIs to life with unrivalled speed and ease." + /> +
@@ -395,17 +380,21 @@ function CareersContent() { {/* Open roles */}
-
- - {`Open roles (${openRolesData.reduce((acc, item) => acc + item.roles.length, 0)})`} - - - The company is bootstrapped (so far). It was incorporated in mid-2019 and is growing - fast (x2 YoY). We doubled the team in 2020 (6), accelerated in 2021 (15), kept a similar - pace in 2022 (25), and we plan to double it in 2023 (50). We're looking for help to - grow in the following areas: - -
+ + Open roles + acc + item.roles.length, 0)} + color="error" + showZero + sx={{ ml: 3 }} + /> + + } + description="The company is bootstrapped (so far). It was incorporated in mid-2019 and is growing fast (x2 YoY). We doubled the team in 2020 (6), accelerated in 2021 (15), kept a similar pace in 2022 (25), and we plan to double it in 2023 (50). We're looking for help to + grow in the following areas:" + /> 0 && (
- - - Next roles - - - We hire in batches, we collect applications a few months before we actively aim to - fill the roles. If none of these roles fit with what you are looking for, you can - apply to the{' '} - - Dream job - {' '} - role. - - + + Next roles + + } + description={ + + We hire in batches, we collect applications a few months before we actively aim to + fill the roles. If none of them fit with what you are looking for, apply to the{' '} + + Dream job + {' '} + role. + + } + /> }> {nextRolesData.map((category) => { diff --git a/docs/src/components/typography/SectionHeadline.tsx b/docs/src/components/typography/SectionHeadline.tsx index 9b49d81908b036..0e7dec6656d30a 100644 --- a/docs/src/components/typography/SectionHeadline.tsx +++ b/docs/src/components/typography/SectionHeadline.tsx @@ -4,7 +4,7 @@ import Typography from '@mui/material/Typography'; interface SectionHeadlineProps { description?: React.ReactNode; id?: string; - overline: React.ReactNode; + overline?: React.ReactNode; title: string | React.ReactElement; alwaysCenter?: boolean; /** @@ -17,21 +17,23 @@ export default function SectionHeadline(props: SectionHeadlineProps) { const { description, id, overline, title, alwaysCenter = false, inverted = false } = props; return ( - - {overline} - + {overline && ( + + {overline} + + )} {typeof title === 'string' ? (