Start adding new Item Page #243

This commit is contained in:
Prayag Prajapati committed 2024-01-06 15:01:50 +05:30
1 parent 87f9eaf8b6
commit a6a4dfff4d
12 files changed
+1248 -239

No files matched your search

+8 -11
View File
@@ -217,9 +217,9 @@ export const AppBar = () => {
textTransform: "none",
}}
size="large"
className="appBar-text active"
>
<Typography
className="appBar-text active"
variant="subtitle1"
fontWeight={600}
>
@@ -231,12 +231,11 @@ export const AppBar = () => {
style={{
textTransform: "none",
}}
// className="appBar-text "
className="appBar-text"
size="large"
color="white"
>
<Typography
className="appBar-text "
variant="subtitle1"
fontWeight={600}
>
@@ -257,17 +256,15 @@ export const AppBar = () => {
color={
isBrowsingLibrary ? "primary" : "white"
}
// ref={librariesText}
className={
isBrowsingLibrary
? "appBar-text active"
: "appBar-text"
}
>
<Typography
variant="subtitle1"
fontWeight={600}
className={
isBrowsingLibrary
? "appBar-text active"
: "appBar-text"
}
>
Libraries
</Typography>
+4 -3
View File
@@ -27,7 +27,7 @@
background: white;
opacity: 0.7;
position: absolute;
bottom: -2.6px;
bottom: 4.6px;
left: 0;
transform: scaleX(0);
transition: transform $transition-time-fast,
@@ -37,7 +37,7 @@
&:hover {
opacity: 0.8;
&::after {
transform: scaleX(0.5);
transform: scaleX(0.25);
opacity: 0.8;
}
}
@@ -45,7 +45,7 @@
opacity: 1;
color: $clr-accent-default;
&::after {
transform: scaleX(0.75);
transform: scaleX(0.5);
opacity: 1;
background: $clr-accent-default;
}
@@ -115,6 +115,7 @@
&::-webkit-scrollbar {
&-thumb {
width: 150px;
max-width: 33%;
}
&-track {
margin-left: 25px;
+1 -8
View File
@@ -15,14 +15,7 @@ import CircularProgress from "@mui/material/CircularProgress";
import { useApi } from "../../utils/store/api";
const LikeButton = ({
itemId,
isFavorite,
queryKey,
userId,
itemName,
color = "white",
}) => {
const LikeButton = ({ itemId, isFavorite, queryKey, userId, itemName }) => {
const [api] = useApi((state) => [state.api]);
const queryClient = useQueryClient();
const { enqueueSnackbar } = useSnackbar();
-1
View File
@@ -36,7 +36,6 @@ const PlayButton = ({
currentVideoTrack,
className,
sx,
iconProps,
buttonProps,
iconOnly,
audio = false,