-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
504 additions
and
542 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,5 @@ | |
"engines": { | ||
"node": ">=18.0.0" | ||
}, | ||
"packageManager": "[email protected]", | ||
"resolutions": { | ||
"next": "13.4.6" | ||
} | ||
"packageManager": "[email protected]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import { AllStatus } from "@/components/AllStatus"; | ||
import { Paper, Container, Box, Divider, Link, Typography, Skeleton } from "@mui/material"; | ||
import config from '../../../config.json' | ||
import OverallResponseGraph from "@/components/OverallResponseGraph"; | ||
import UptimeGraph from "@/components/UptimeGraph"; | ||
|
||
export default function Loading() { | ||
return (<> | ||
<AllStatus /> | ||
<Paper elevation={5} style={{ padding: '5vh 0', margin: '5vh 0' }}> | ||
<Container> | ||
{config.monitors.map(({ id: monitorName, name, url }, i) => | ||
<Box key={i}> | ||
{i !== 0 && <Divider style={{ margin: '2.5vh 0' }} />} | ||
<Typography variant='h6' component='h2' sx={{ color: "#2ecc71" }}> | ||
<Link style={{ color: 'inherit' }} underline='hover' href={url}> | ||
{name} | ||
</Link> | ||
<Skeleton sx={{ float: 'right' }}> | ||
<span >Operational</span> | ||
</Skeleton> | ||
</Typography > | ||
<UptimeGraph checks={{}} monitorName={monitorName} key={monitorName} /> | ||
<div style={{ height: '20vh', width: '100%' }}> | ||
<Skeleton variant="rectangular" sx={{ height: '100%', width: '100%' }} /> | ||
</div> | ||
</Box> | ||
)} | ||
</Container> | ||
</Paper > | ||
</>) | ||
} |
Oops, something went wrong.