feat: using common baseTheme to avoid repetition

This commit is contained in:
Caio Cabral committed 2024-11-08 18:36:43 -05:00
1 parent 9459416fc5
commit d62f5952d5
10 files changed
+135 -33

No files matched your search

+18 -1
View File
@@ -1,5 +1,22 @@
import { Box, Button } from "@mui/material";
import { Heading } from "../../Components/Heading";
function Infrastructure() {
return <h1>Infrastructure monitors</h1>;
return (
<Box component="main">
<Button
variant="contained"
color="primary"
onClick={() => {
// navigate("/monitors/create");
}}
sx={{ fontWeight: 500 }}
>
Create monitor
</Button>
<Heading component="h2">Infrastructure monitors</Heading>
</Box>
);
}
export { Infrastructure };