Implemented fallback component

This commit is contained in:
Daniel Cojocea committed 2024-07-22 16:35:57 -04:00
1 parent ff7404e891
commit 6aacfe0ca8
6 files changed
+128 -5

No files matched your search

+21 -2
View File
@@ -1,7 +1,26 @@
import React from "react";
import Fallback from "../../Components/Fallback";
import { useTheme } from "@emotion/react";
const Status = () => {
return <div>Status</div>;
const theme = useTheme();
return (
<div
className="status"
style={{
padding: `${theme.content.pY} ${theme.content.pX}`,
}}
>
<Fallback
title="status page"
checks={[
"Share your uptime publicly",
"Keep your users informed about incidents",
"Build trust with your customers",
]}
/>
</div>
);
};
export default Status;