diff --git a/src/components/card/card.jsx b/src/components/card/card.jsx
index 5ce6d82..b96b572 100644
--- a/src/components/card/card.jsx
+++ b/src/components/card/card.jsx
@@ -101,7 +101,7 @@ export const Card = ({
aspectRatio: cardImageAspectRatios[cardType],
}}
>
- {!!item.UserData && (
+ {/* {!!item.UserData && (
<>
{overrideIcon
? getTypeIcon(overrideIcon)
diff --git a/src/components/card/card.module.scss b/src/components/card/card.module.scss
index 126b96b..2d727a1 100644
--- a/src/components/card/card.module.scss
+++ b/src/components/card/card.module.scss
@@ -23,6 +23,7 @@
z-index: 1;
top: 0;
left: 0;
+ transition: filter $transition-time-default;
&-container {
position: relative;
width: 100%;
@@ -43,6 +44,7 @@
z-index: 0;
top: 0;
left: 0;
+ transition: filter $transition-time-default;
.material-symbols-rounded {
position: absolute;
top: 50%;
@@ -70,7 +72,6 @@
height: 100%;
left: 0;
top: 0;
- background: rgb(0 0 0 / 0.6);
z-index: 10;
opacity: 0;
transition: opacity $transition-time-default;
@@ -83,6 +84,12 @@
&:hover,
&:focus,
&:focus-within {
+ .card-image {
+ filter: brightness(0.6);
+ }
+ .card-image-icon-container {
+ filter: brightness(0.6);
+ }
.card-overlay {
opacity: 1;
}
diff --git a/src/components/layouts/library/genreView/index.jsx b/src/components/layouts/library/genreView/index.jsx
index ee6fb8a..da294ee 100644
--- a/src/components/layouts/library/genreView/index.jsx
+++ b/src/components/layouts/library/genreView/index.jsx
@@ -6,6 +6,7 @@ import { useQuery } from "@tanstack/react-query";
import { Card } from "../../../card/card";
import { BaseItemKind } from "@jellyfin/sdk/lib/generated-client";
import { useApi } from "../../../../utils/store/api";
+import { CardScroller } from "../../../cardScroller/cardScroller";
const GenreView = ({ libraryId, genreId, genreName, userId }) => {
const [api] = useApi((state) => [state.api]);
@@ -23,26 +24,15 @@ const GenreView = ({ libraryId, genreId, genreName, userId }) => {
if (items.isSuccess && items.data.Items.length > 0) {
return (
-
-
{items.data.Items.map((item, index) => {
return (
{
/>
);
})}
-
+
);
}
diff --git a/src/routes/library/index.jsx b/src/routes/library/index.jsx
index cc01c5e..8cba322 100644
--- a/src/routes/library/index.jsx
+++ b/src/routes/library/index.jsx
@@ -130,7 +130,6 @@ const LibraryView = () => {
if (currentLib.isError) {
console.error(currentLib.error);
}
- console.log(currentLib.isSuccess);
if (currentLib.isSuccess) {
setViewType(null);
if (currentLib.data.CollectionType == "movies") {
@@ -875,7 +874,7 @@ const LibraryView = () => {
/>
- {currentLib.data.Items[0]
+ {currentLib.data
.CollectionType ==
"movies" && (
@@ -1098,7 +1097,6 @@ const LibraryView = () => {
)}
{!onlyStatusFilterViews.includes(
currentLib.data
- .Items[0]
.CollectionType,
) && (
@@ -1308,9 +1306,7 @@ const LibraryView = () => {
return (