feat: add new preferences page

This commit is contained in:
Prayag Prajapati committed 2025-04-29 21:52:16 +05:30
1 parent 790f3f163b
commit dfb8eeee12
22 files changed
+790 -131

No files matched your search

@@ -0,0 +1,34 @@
// Write a react component that included an MUI circluar progress element utilizing NProgrss
import { CircularProgress } from "@mui/material";
import { useNProgress } from "@tanem/react-nprogress";
import React from "react";
const CircularPageLoadingAnimation = () => {
const { progress } = useNProgress({
isAnimating: true,
});
return (
<div
style={{
pointerEvents: "none",
position: "absolute",
top: "50%",
left: "50%",
transform: "translate(-50%, -50%)",
zIndex: "10001",
}}
>
<CircularProgress
// variant="indeterminate"
sx={{
transitionDuration: "0.3s",
transform: `scale(${progress})`,
}}
/>
</div>
);
};
export default CircularPageLoadingAnimation;