diff --git a/client/src/Components/Fallback/index.css b/client/src/Components/Fallback/index.css
index cad46300b..357988b07 100644
--- a/client/src/Components/Fallback/index.css
+++ b/client/src/Components/Fallback/index.css
@@ -1,19 +1,22 @@
[class*="fallback__"] {
width: fit-content;
margin: auto;
- margin-top: 100px;
}
+
[class*="fallback__"] h1.MuiTypography-root {
font-size: var(--env-var-font-size-large);
font-weight: 600;
}
+
[class*="fallback__"] button.MuiButtonBase-root,
[class*="fallback__"] .check {
width: max-content;
}
+
[class*="fallback__"] button.MuiButtonBase-root {
min-height: 34px;
}
+
[class*="fallback__"] .check span.MuiTypography-root,
[class*="fallback__"] button.MuiButtonBase-root {
font-size: var(--env-var-font-size-medium);
@@ -35,6 +38,7 @@
background-size: cover;
background-repeat: no-repeat;
}
+
.fallback__status > .MuiStack-root {
margin-left: var(--env-var-spacing-2);
}
diff --git a/client/src/Components/Fallback/index.jsx b/client/src/Components/Fallback/index.jsx
index b77432d58..e5a212c00 100644
--- a/client/src/Components/Fallback/index.jsx
+++ b/client/src/Components/Fallback/index.jsx
@@ -67,113 +67,135 @@ const Fallback = ({
>
);
};
-
return (
-
- {mode === "light" ? (
-
- ) : (
-
- )}
-
-
-
-
+ ) : (
+
+ )}
+
- {vowelStart ? "An" : "A"} {title} is used to:
-
- {checks?.map((check, index) => (
-
- ))}
-
- {/* TODO - display a different fallback if user is not an admin*/}
- {isAdmin && (
- <>
-
+
+
- Let's create your first {title}
-
- {/* Bulk create of uptime monitors */}
- {title === "uptime monitor" && (
+ {vowelStart ? "An" : "A"} {title} is used to:
+
+ {checks?.map((check, index) => (
+
+ ))}
+
+ {/* TODO - display a different fallback if user is not an admin*/}
+ {isAdmin && (
+ <>
- )}
-
- {/* Warning box for PageSpeed monitor */}
- {title === "pagespeed monitor" && showPageSpeedWarning && (
-
- svg": {
- color: theme.palette.warningSecondary.contrastText,
- },
- },
- }}
+ {/* Bulk create of uptime monitors */}
+ {title === "uptime monitor" && (
+
+ )}
+
+ {/* Warning box for PageSpeed monitor */}
+ {title === "pagespeed monitor" && showPageSpeedWarning && (
+
+ svg": {
+ color: theme.palette.warningSecondary.contrastText,
+ },
+ },
+ }}
+ >
+ {settingsData?.pagespeedKeySet === false && (
+
+ )}
+
-
- )}
- >
- )}
-
+ )}
+ >
+ )}
+
+
);
};