Update ItemPage ui and more...

This commit is contained in:
prayag17 committed 2023-06-06 14:04:23 +05:30
1 parent 19ff2af29b
commit e4ade5659c
19 files changed
+1347 -1209

No files matched your search

+1 -1
View File
@@ -87,11 +87,11 @@ export const AppBar = () => {
return (
<MuiAppBar
sx={{
width: `calc(100vw - ${theme.spacing(7)})`,
backgroundColor: "transparent",
}}
className={trigger ? "appBar backdropVisible" : "appBar"}
elevation={0}
position="static"
>
<Toolbar sx={{ justifyContent: "space-between" }}>
<Box
+4 -4
View File
@@ -31,19 +31,19 @@ export const CardScroller = ({
slidesToSlide: displayCards + 1,
},
desktop: {
breakpoint: { max: 3000, min: 1025 },
breakpoint: { max: 3000, min: 625 },
items: displayCards,
slidesToSlide: displayCards, // optional, default to 1.
},
tablet: {
breakpoint: { max: 1024, min: 464 },
breakpoint: { max: 624, min: 464 },
items: displayCards - 2,
slidesToSlide: displayCards - 2, // optional, default to 1.
},
mobile: {
breakpoint: { max: 464, min: 0 },
items: displayCards - 3,
slidesToSlide: displayCards - 3, // optional, default to 1.
items: displayCards - 5,
slidesToSlide: displayCards - 5, // optional, default to 1.
},
};
+13
View File
@@ -0,0 +1,13 @@
/** @format */
import SvgIcon from "@mui/material/SvgIcon";
import { mdiPlaySpeed } from "@mdi/js";
export const MdiPlaySpeed = (props) => {
return (
<SvgIcon {...props}>
<path d={mdiPlaySpeed}></path>
</SvgIcon>
);
};
+4 -25
View File
@@ -113,39 +113,18 @@ export const SideMenu = ({}) => {
open={false}
PaperProps={{
sx: {
backgroundColor: "inherit",
backgroundColor: "transparent",
border: "none",
width: `calc(${theme.spacing(7)} + 10px)`,
height: "100vh",
// display: visible ? "block" : "none",
height: "100%",
position: "inherit",
},
}}
sx={{
width: `calc(${theme.spacing(7)} + 10px)`,
background: theme.palette.background.paper,
background: "transparent",
}}
>
<DrawerHeader
className="Mui-DrawerHeader"
sx={{
justifyContent: "center",
}}
>
{/* <div>
<Avatar src={""}/>
<Typography variant="h3">
{user["Name"]}
</Typography>
</div> */}
<IconButton
color="inherit"
aria-label="open drawer"
onClick={handleDrawerOpen}
>
<MdiMenu />
</IconButton>
</DrawerHeader>
<Divider />
{libraries.isLoading ? (
<>
<Skeleton