style: update hero-carousel styling

This commit is contained in:
Prayag Prajapati committed 2024-06-08 17:52:05 +05:30
1 parent badc2b622f
commit 326b093210
27 files changed
+750 -382

No files matched your search

+11 -11
View File
@@ -11,6 +11,7 @@ import Typography from "@mui/material/Typography";
import {
type BaseItemDto,
BaseItemKind,
type ImageType,
} from "@jellyfin/sdk/lib/generated-client";
import LikeButton from "../buttons/likeButton";
import MarkPlayedButton from "../buttons/markPlayedButton";
@@ -49,22 +50,21 @@ export const Card = ({
overrideIcon,
}: {
item: BaseItemDto;
cardTitle: string | null;
cardCaption: string | null;
imageType: string;
cardTitle: string | undefined | null;
cardCaption?: string | null | number;
imageType: ImageType;
cardType: string;
queryKey: [];
userId: string;
seriesId: string | null;
hideText: boolean;
onClick: () => null | null;
disableOverlay: boolean;
overrideIcon: any;
queryKey?: string[];
userId?: string;
seriesId?: string | null;
hideText?: boolean;
onClick?: () => void;
disableOverlay?: boolean;
overrideIcon?: any;
}) => {
const api = useApiInContext((s) => s.api);
const navigate = useNavigate();
const defaultOnClick = () => {
switch (item.Type) {
case BaseItemKind.BoxSet:
navigate({ to: "/boxset/$id", params: { id: item.Id } });