Update EmptyNotice

This commit is contained in:
Prayag Prajapati committed 2023-12-12 22:38:08 +05:30
1 parent c5922d67c4
commit c1e55c0e3f
3 files changed
+23 -6

No files matched your search

@@ -1,8 +1,9 @@
/** @format */
import React from "react";
import Box from "@mui/material/Box";
import { MdiEmoticonCry } from "../../icons/mdiEmoticonCry";
import Typography from "@mui/material/Typography";
import { yellow } from "@mui/material/colors";
export const EmptyNotice = () => {
return (
@@ -14,11 +15,26 @@ export const EmptyNotice = () => {
justifyContent: "center",
alignItems: "center",
flexFlow: "column",
opacity: 0.2,
// opacity: 0.2,
}}
>
<MdiEmoticonCry sx={{ fontSize: 200 }} />
<Typography variant="h3">Nothing found</Typography>
<div
className="material-symbols-rounded animate-icon"
style={{
fontSize: "10em",
color: yellow[800],
"--clr": yellow[800],
}}
>
error
</div>
<Typography
variant="h3"
fontFamily="JetBrains Mono Variable"
fontWeight={100}
>
No results found
</Typography>
</Box>
);
};
@@ -24,6 +24,7 @@ export const ErrorNotice = ({ error, resetErrorBoundary }) => {
style={{
fontSize: "10em",
color: red[800],
"--clr": red[800],
}}
>
error
+2 -2
View File
@@ -185,7 +185,7 @@ h1 {
filter: blur(10px);
animation: iconAnimation cubic-bezier(0.175, 0.885, 0.32, 1.275) 3s
infinite;
background: rgb(255 0 0 / 0.1);
background: radial-gradient(transparent, var(--clr));
}
}
@@ -195,7 +195,7 @@ h1 {
transform: translate(-50%, -50%) scale(1);
}
60% {
opacity: 1;
opacity: 0.1;
transform: translate(-50%, -50%) scale(4);
}
100% {