new changes
This commit is contained in:
1 parent
14bbb241b9
commit
9159d8cf5f
2 files changed
+20
-46
No files matched your search
@@ -31,21 +31,15 @@ const DefaultValue = {
|
||||
*/
|
||||
const NotFound = ({ title = DefaultValue.title, desc = DefaultValue.desc }) => {
|
||||
return (
|
||||
<Stack className="not-found-page">
|
||||
<Stack className="not-found-template">
|
||||
<Typography id="not-found-title">{title}</Typography>
|
||||
<Typography id="not-found-description">{desc}</Typography>
|
||||
<div
|
||||
className="button-container"
|
||||
style={{ display: "flex", justifyContent: "center" }}
|
||||
>
|
||||
<Button
|
||||
label="Go to the main dashboard"
|
||||
level="primary"
|
||||
id="not-found-page-action"
|
||||
sx={{ fontSize: "var(--env-var-font-size-medium)" }}
|
||||
/>
|
||||
</div>
|
||||
<Stack className="not-found-page" justifyContent="center">
|
||||
<Stack gap="20px" alignItems="center">
|
||||
<Typography component="h1">{title}</Typography>
|
||||
<Typography>{desc}</Typography>
|
||||
<Button
|
||||
label="Go to the main dashboard"
|
||||
level="primary"
|
||||
sx={{ mt: "24px" }}
|
||||
/>
|
||||
</Stack>
|
||||
</Stack>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user