2024-08-27 20:11:59 -04:00
|
|
|
import { Box } from "@mui/material";
|
|
|
|
|
import { useTheme } from "@emotion/react";
|
2024-07-22 16:45:22 -04:00
|
|
|
import Fallback from "../../Components/Fallback";
|
2024-07-07 22:02:08 -04:00
|
|
|
import "./index.css";
|
|
|
|
|
|
|
|
|
|
const Maintenance = () => {
|
2024-08-27 20:11:59 -04:00
|
|
|
const theme = useTheme();
|
|
|
|
|
|
2024-07-07 22:02:08 -04:00
|
|
|
return (
|
2024-08-27 20:11:59 -04:00
|
|
|
<Box
|
|
|
|
|
className="maintenance"
|
|
|
|
|
sx={{
|
|
|
|
|
':has(> [class*="fallback__"])': {
|
|
|
|
|
position: "relative",
|
|
|
|
|
border: 1,
|
|
|
|
|
borderColor: theme.palette.border.light,
|
|
|
|
|
borderRadius: theme.shape.borderRadius,
|
|
|
|
|
borderStyle: "dashed",
|
|
|
|
|
backgroundColor: theme.palette.background.main,
|
|
|
|
|
overflow: "hidden",
|
|
|
|
|
},
|
|
|
|
|
}}
|
|
|
|
|
>
|
2024-07-22 16:45:22 -04:00
|
|
|
<Fallback
|
|
|
|
|
title="maintenance window"
|
|
|
|
|
checks={[
|
|
|
|
|
"Mark your maintenance periods",
|
|
|
|
|
"Eliminate any misunderstandings",
|
|
|
|
|
"Stop sending alerts in maintenance windows",
|
|
|
|
|
]}
|
2024-08-03 09:40:08 +03:30
|
|
|
link="/maintenance/create"
|
2024-07-22 16:45:22 -04:00
|
|
|
/>
|
2024-08-27 20:11:59 -04:00
|
|
|
</Box>
|
2024-07-07 22:02:08 -04:00
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default Maintenance;
|