Merge pull request #2302 from bluewave-labs/consistent-font-size

Consistent font sizes across all create/configure pages
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-05-19 09:50:30 -07:00
commit 79806322b1
15 files changed
+34 -33

No files matched your search

@@ -294,7 +294,7 @@ const CreateInfrastructureMonitor = () => {
</Typography> </Typography>
<ConfigBox> <ConfigBox>
<Stack gap={theme.spacing(6)}> <Stack gap={theme.spacing(6)}>
<Typography component="h2">{t("settingsGeneralSettings")}</Typography> <Typography component="h2" variant="h2">{t("settingsGeneralSettings")}</Typography>
<Typography component="p"> <Typography component="p">
{t("infrastructureCreateGeneralSettingsDescription")} {t("infrastructureCreateGeneralSettingsDescription")}
</Typography> </Typography>
@@ -368,7 +368,7 @@ const CreateInfrastructureMonitor = () => {
</ConfigBox> </ConfigBox>
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h2">{t("distributedUptimeCreateIncidentNotification")}</Typography> <Typography component="h2" variant="h2">{t("distributedUptimeCreateIncidentNotification")}</Typography>
<Typography component="p"> <Typography component="p">
{t("distributedUptimeCreateIncidentDescription")} {t("distributedUptimeCreateIncidentDescription")}
</Typography> </Typography>
@@ -385,7 +385,7 @@ const CreateInfrastructureMonitor = () => {
</ConfigBox> </ConfigBox>
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h2">{t("infrastructureCustomizeAlerts")}</Typography> <Typography component="h2" variant="h2">{t("infrastructureCustomizeAlerts")}</Typography>
<Typography component="p"> <Typography component="p">
{t("infrastructureAlertNotificationDescription")} {t("infrastructureAlertNotificationDescription")}
</Typography> </Typography>
@@ -432,7 +432,7 @@ const CreateInfrastructureMonitor = () => {
</ConfigBox> </ConfigBox>
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h2">{t("distributedUptimeCreateAdvancedSettings")}</Typography> <Typography component="h2" variant="h2">{t("distributedUptimeCreateAdvancedSettings")}</Typography>
</Box> </Box>
<Stack gap={theme.spacing(12)}> <Stack gap={theme.spacing(12)}>
<Select <Select
@@ -310,7 +310,7 @@ const PageSpeedConfigure = () => {
</Stack> </Stack>
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h2">{t("settingsGeneralSettings")}</Typography> <Typography component="h2" variant="h2">{t("settingsGeneralSettings")}</Typography>
<Typography component="p"> <Typography component="p">
{t("pageSpeedConfigureSettingsDescription")} {t("pageSpeedConfigureSettingsDescription")}
</Typography> </Typography>
@@ -349,7 +349,7 @@ const PageSpeedConfigure = () => {
</ConfigBox> </ConfigBox>
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h2">{t("distributedUptimeCreateIncidentNotification")}</Typography> <Typography component="h2" variant="h2">{t("distributedUptimeCreateIncidentNotification")}</Typography>
<Typography component="p"> <Typography component="p">
{t("distributedUptimeCreateIncidentDescription")} {t("distributedUptimeCreateIncidentDescription")}
</Typography> </Typography>
@@ -405,7 +405,7 @@ const PageSpeedConfigure = () => {
</ConfigBox> </ConfigBox>
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h2">{t("distributedUptimeCreateAdvancedSettings")}</Typography> <Typography component="h2" variant="h2">{t("distributedUptimeCreateAdvancedSettings")}</Typography>
</Box> </Box>
<Stack gap={theme.spacing(20)}> <Stack gap={theme.spacing(20)}>
<Select <Select
+4 -4
View File
@@ -216,7 +216,7 @@ const CreatePageSpeed = () => {
</Typography> </Typography>
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h2">{t("settingsGeneralSettings")}</Typography> <Typography component="h2" variant="h2">{t("settingsGeneralSettings")}</Typography>
<Typography component="p"> <Typography component="p">
{t("distributedUptimeCreateSelectURL")} {t("distributedUptimeCreateSelectURL")}
</Typography> </Typography>
@@ -251,7 +251,7 @@ const CreatePageSpeed = () => {
</ConfigBox> </ConfigBox>
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h2">{t("distributedUptimeCreateChecks")}</Typography> <Typography component="h2" variant="h2">{t("distributedUptimeCreateChecks")}</Typography>
<Typography component="p"> <Typography component="p">
{t("distributedUptimeCreateChecksDescription")} {t("distributedUptimeCreateChecksDescription")}
</Typography> </Typography>
@@ -300,7 +300,7 @@ const CreatePageSpeed = () => {
</ConfigBox> </ConfigBox>
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h2">{t("distributedUptimeCreateIncidentNotification")}</Typography> <Typography component="h2" variant="h2">{t("distributedUptimeCreateIncidentNotification")}</Typography>
<Typography component="p"> <Typography component="p">
{t("distributedUptimeCreateIncidentDescription")} {t("distributedUptimeCreateIncidentDescription")}
</Typography> </Typography>
@@ -320,7 +320,7 @@ const CreatePageSpeed = () => {
</ConfigBox> </ConfigBox>
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h2">{t("distributedUptimeCreateAdvancedSettings")}</Typography> <Typography component="h2" variant="h2">{t("distributedUptimeCreateAdvancedSettings")}</Typography>
</Box> </Box>
<Stack gap={theme.spacing(12)}> <Stack gap={theme.spacing(12)}>
<Select <Select
+1 -1
View File
@@ -12,7 +12,7 @@ const SettingsAbout = () => {
return ( return (
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h1">{t("settingsAbout")}</Typography> <Typography component="h1" variant="h2">{t("settingsAbout")}</Typography>
</Box> </Box>
<Box> <Box>
<Typography component="h2">Checkmate {2.1}</Typography> <Typography component="h2">Checkmate {2.1}</Typography>
@@ -23,7 +23,7 @@ const SettingsDemoMonitors = ({ isAdmin, HEADER_SX, handleChange, isLoading }) =
<> <>
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h1">{t("settingsDemoMonitors")}</Typography> <Typography component="h1" variant="h2">{t("settingsDemoMonitors")}</Typography>
<Typography sx={HEADER_SX}>{t("settingsDemoMonitorsDescription")}</Typography> <Typography sx={HEADER_SX}>{t("settingsDemoMonitorsDescription")}</Typography>
</Box> </Box>
<Box> <Box>
@@ -48,7 +48,7 @@ const SettingsDemoMonitors = ({ isAdmin, HEADER_SX, handleChange, isLoading }) =
</ConfigBox> </ConfigBox>
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h1">{t("settingsSystemReset")}</Typography> <Typography component="h1" variant="h2">{t("settingsSystemReset")}</Typography>
<Typography sx={{ mt: theme.spacing(2) }}> <Typography sx={{ mt: theme.spacing(2) }}>
{t("settingsSystemResetDescription")} {t("settingsSystemResetDescription")}
</Typography> </Typography>
+1 -1
View File
@@ -47,7 +47,7 @@ const SettingsEmail = ({
return ( return (
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h1">{t("settingsEmail")}</Typography> <Typography component="h1" variant="h2">{t("settingsEmail")}</Typography>
<Typography sx={HEADER_SX}>{t("settingsEmailDescription")}</Typography> <Typography sx={HEADER_SX}>{t("settingsEmailDescription")}</Typography>
</Box> </Box>
<Box> <Box>
@@ -41,7 +41,7 @@ const SettingsPagespeed = ({
return ( return (
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h1">{t("pageSpeedApiKeyFieldTitle")}</Typography> <Typography component="h1" variant="h2">{t("pageSpeedApiKeyFieldTitle")}</Typography>
<Typography sx={HEADING_SX}>{t("pageSpeedApiKeyFieldDescription")}</Typography> <Typography sx={HEADING_SX}>{t("pageSpeedApiKeyFieldDescription")}</Typography>
</Box> </Box>
<Stack gap={theme.spacing(20)}> <Stack gap={theme.spacing(20)}>
@@ -26,6 +26,7 @@ const SettingsStats = ({ isAdmin, HEADING_SX, handleChange, settingsData, errors
<Box> <Box>
<Typography <Typography
component="h1" component="h1"
variant="h2"
sx={HEADING_SX} sx={HEADING_SX}
> >
{t("settingsHistoryAndMonitoring")} {t("settingsHistoryAndMonitoring")}
@@ -15,7 +15,7 @@ const SettingsTimeZone = ({ HEADING_SX, handleChange, timezone }) => {
return ( return (
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h1">{t("settingsGeneralSettings")}</Typography> <Typography component="h1" variant="h2">{t("settingsGeneralSettings")}</Typography>
<Typography sx={HEADING_SX}> <Typography sx={HEADING_SX}>
<Typography component="span">{t("settingsDisplayTimezone")}</Typography>-{" "} <Typography component="span">{t("settingsDisplayTimezone")}</Typography>-{" "}
{t("settingsDisplayTimezoneDescription")} {t("settingsDisplayTimezoneDescription")}
+1 -1
View File
@@ -16,7 +16,7 @@ const SettingsUI = ({ HEADING_SX, handleChange, mode, language }) => {
return ( return (
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h1">{t("settingsAppearance")}</Typography> <Typography component="h1" variant="h2">{t("settingsAppearance")}</Typography>
<Typography sx={HEADING_SX}>{t("settingsAppearanceDescription")}</Typography> <Typography sx={HEADING_SX}>{t("settingsAppearanceDescription")}</Typography>
</Box> </Box>
<Stack gap={theme.spacing(20)}> <Stack gap={theme.spacing(20)}>
@@ -9,7 +9,7 @@ const ConfigStack = ({ title, description, children }) => {
return ( return (
<ConfigBox> <ConfigBox>
<Stack gap={theme.spacing(6)}> <Stack gap={theme.spacing(6)}>
<Typography component="h2">{title}</Typography> <Typography component="h2" variant="h2">{title}</Typography>
<Typography component="p">{description}</Typography> <Typography component="p">{description}</Typography>
</Stack> </Stack>
{children} {children}
@@ -34,7 +34,7 @@ const TabSettings = ({
<Stack gap={theme.spacing(10)}> <Stack gap={theme.spacing(10)}>
<ConfigBox> <ConfigBox>
<Stack> <Stack>
<Typography component="h2">{t("access")}</Typography> <Typography component="h2" variant="h2">{t("access")}</Typography>
<Typography component="p"> <Typography component="p">
{t("statusPageCreateSettings")} {t("statusPageCreateSettings")}
</Typography> </Typography>
@@ -51,7 +51,7 @@ const TabSettings = ({
</ConfigBox> </ConfigBox>
<ConfigBox> <ConfigBox>
<Stack gap={theme.spacing(6)}> <Stack gap={theme.spacing(6)}>
<Typography component="h2">{t("basicInformation")}</Typography> <Typography component="h2" variant="h2">{t("basicInformation")}</Typography>
<Typography component="p"> <Typography component="p">
{t("statusPageCreateBasicInfoDescription")} {t("statusPageCreateBasicInfoDescription")}
</Typography> </Typography>
@@ -82,7 +82,7 @@ const TabSettings = ({
</ConfigBox> </ConfigBox>
<ConfigBox> <ConfigBox>
<Stack gap={theme.spacing(6)}> <Stack gap={theme.spacing(6)}>
<Typography component="h2">{t("timezone")}</Typography> <Typography component="h2" variant="h2">{t("timezone")}</Typography>
<Typography component="p"> <Typography component="p">
{t("statusPageCreateSelectTimeZoneDescription")} {t("statusPageCreateSelectTimeZoneDescription")}
</Typography> </Typography>
@@ -100,7 +100,7 @@ const TabSettings = ({
</ConfigBox> </ConfigBox>
<ConfigBox> <ConfigBox>
<Stack gap={theme.spacing(6)}> <Stack gap={theme.spacing(6)}>
<Typography component="h2">{t("settingsAppearance")}</Typography> <Typography component="h2" variant="h2">{t("settingsAppearance")}</Typography>
<Typography component="p"> <Typography component="p">
{t("statusPageCreateAppearanceDescription")} {t("statusPageCreateAppearanceDescription")}
</Typography> </Typography>
+1 -1
View File
@@ -61,7 +61,7 @@ const BulkImport = () => {
</Typography> </Typography>
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h2">{t("bulkImport.selectFileTips")}</Typography> <Typography component="h2" variant="h2">{t("bulkImport.selectFileTips")}</Typography>
<Typography component="p"> <Typography component="p">
<Trans <Trans
i18nKey="bulkImport.selectFileDescription" i18nKey="bulkImport.selectFileDescription"
+4 -4
View File
@@ -325,7 +325,7 @@ const Configure = () => {
</Stack> </Stack>
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h2">{t("settingsGeneralSettings")}</Typography> <Typography component="h2" variant="h2">{t("settingsGeneralSettings")}</Typography>
<Typography component="p"> <Typography component="p">
{t("distributedUptimeCreateSelectURL")} {t("distributedUptimeCreateSelectURL")}
</Typography> </Typography>
@@ -371,7 +371,7 @@ const Configure = () => {
</ConfigBox> </ConfigBox>
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h2"> <Typography component="h2" variant="h2">
{t("distributedUptimeCreateIncidentNotification")} {t("distributedUptimeCreateIncidentNotification")}
</Typography> </Typography>
<Typography component="p"> <Typography component="p">
@@ -439,7 +439,7 @@ const Configure = () => {
</ConfigBox> </ConfigBox>
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h2">{t("ignoreTLSError")}</Typography> <Typography component="h2" variant="h2">{t("ignoreTLSError")}</Typography>
<Typography component="p">{t("ignoreTLSErrorDescription")}</Typography> <Typography component="p">{t("ignoreTLSErrorDescription")}</Typography>
</Box> </Box>
<Stack> <Stack>
@@ -459,7 +459,7 @@ const Configure = () => {
</ConfigBox> </ConfigBox>
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h2"> <Typography component="h2" variant="h2">
{t("distributedUptimeCreateAdvancedSettings")} {t("distributedUptimeCreateAdvancedSettings")}
</Typography> </Typography>
</Box> </Box>
+5 -5
View File
@@ -261,7 +261,7 @@ const CreateMonitor = () => {
</Typography> </Typography>
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h2">{t("distributedUptimeCreateChecks")}</Typography> <Typography component="h2" variant="h2">{t("distributedUptimeCreateChecks")}</Typography>
<Typography component="p"> <Typography component="p">
{t("distributedUptimeCreateChecksDescription")} {t("distributedUptimeCreateChecksDescription")}
</Typography> </Typography>
@@ -342,7 +342,7 @@ const CreateMonitor = () => {
</ConfigBox> </ConfigBox>
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h2">{t("settingsGeneralSettings")}</Typography> <Typography component="h2" variant="h2">{t("settingsGeneralSettings")}</Typography>
<Typography component="p">{t("uptimeCreateSelectURL")}</Typography> <Typography component="p">{t("uptimeCreateSelectURL")}</Typography>
</Box> </Box>
<Stack gap={theme.spacing(15)}> <Stack gap={theme.spacing(15)}>
@@ -386,7 +386,7 @@ const CreateMonitor = () => {
</ConfigBox> </ConfigBox>
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h2"> <Typography component="h2" variant="h2">
{t("distributedUptimeCreateIncidentNotification")} {t("distributedUptimeCreateIncidentNotification")}
</Typography> </Typography>
<Typography component="p"> <Typography component="p">
@@ -417,7 +417,7 @@ const CreateMonitor = () => {
</ConfigBox> </ConfigBox>
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h2">{t("ignoreTLSError")}</Typography> <Typography component="h2" variant="h2">{t("ignoreTLSError")}</Typography>
<Typography component="p">{t("ignoreTLSErrorDescription")}</Typography> <Typography component="p">{t("ignoreTLSErrorDescription")}</Typography>
</Box> </Box>
<Stack> <Stack>
@@ -437,7 +437,7 @@ const CreateMonitor = () => {
</ConfigBox> </ConfigBox>
<ConfigBox> <ConfigBox>
<Box> <Box>
<Typography component="h2"> <Typography component="h2" variant="h2">
{t("distributedUptimeCreateAdvancedSettings")} {t("distributedUptimeCreateAdvancedSettings")}
</Typography> </Typography>
</Box> </Box>