Page Speed (#470)

* Added page speed route and fallback UI

* Added first batch of components and route to create a page-speed monitor

* Added basic styling

* Added checkboxes and removed old component

* Added monitor card and some styling

* Moved time functions to separate file and added formatDate function

* Added status label

* Changed sidebar item priority and small styling fix

* Small styling changes
This commit is contained in:
Daniel C authored and GitHub committed 2024-07-28 13:51:47 -07:00
1 parent 954d11b7c4
commit db66ba849b
17 files changed
+423 -156

No files matched your search

+6
View File
@@ -12,3 +12,9 @@
.integrations button {
height: var(--env-var-height-2);
}
.integrations .MuiGrid-item > .MuiStack-root {
border: solid 1px var(--env-var-color-6);
border-radius: var(--env-var-radius-1);
background-color: var(--env-var-color-8);
}
+5 -7
View File
@@ -23,11 +23,7 @@ const IntegrationsComponent = ({ url, header, info, onClick }) => {
direction="row"
justifyContent="space-between"
gap={theme.gap.large}
p={theme.gap.large}
border={1}
borderColor={theme.palette.divider}
borderRadius={`${theme.shape.borderRadius}px`}
sx={{ backgroundColor: theme.palette.otherColors.white }}
p={theme.gap.ml}
>
<Box
component="img"
@@ -99,8 +95,10 @@ const Integrations = () => {
return (
<Stack className="integrations" gap={theme.gap.xs}>
<Typography component="h1">Integrations</Typography>
<Typography>Connect Uptime Genie to your favorite service</Typography>
<Grid container spacing={theme.gap.large} mt={theme.gap.xs}>
<Typography mb={theme.gap.large}>
Connect Uptime Genie to your favorite service
</Typography>
<Grid container spacing={theme.gap.large}>
{integrations.map((integration, index) => (
<IntegrationsComponent
key={index}