feat: using common baseTheme to avoid repetition
This commit is contained in:
1 parent
9459416fc5
commit
d62f5952d5
10 files changed
+135
-33
No files matched your search
@@ -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 };
|
||||
Reference in new issue
Block a user