mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-23 07:32:28 -04:00
Create part-of collection card
This commit is contained in:
@@ -13,7 +13,7 @@ export const itemMap = (
|
||||
subtitle: item.kind !== "collection" ? getDisplayDate(item) : null,
|
||||
href: item.href,
|
||||
poster: item.poster,
|
||||
thumbnail: item.thumbnail,
|
||||
banner: item.banner ?? item.thumbnail,
|
||||
watchStatus:
|
||||
item.kind !== "collection" ? (item.watchStatus?.status ?? null) : null,
|
||||
watchPercent:
|
||||
|
||||
@@ -22,7 +22,7 @@ export const ItemList = ({
|
||||
kind,
|
||||
name,
|
||||
subtitle,
|
||||
thumbnail,
|
||||
banner,
|
||||
poster,
|
||||
watchStatus,
|
||||
availableCount,
|
||||
@@ -36,7 +36,7 @@ export const ItemList = ({
|
||||
name: string;
|
||||
subtitle: string | null;
|
||||
poster: KImage | null;
|
||||
thumbnail: KImage | null;
|
||||
banner: KImage | null;
|
||||
watchStatus: WatchStatusV | null;
|
||||
availableCount?: number | null;
|
||||
seenCount?: number | null;
|
||||
@@ -56,7 +56,7 @@ export const ItemList = ({
|
||||
{...props}
|
||||
>
|
||||
<ImageBackground
|
||||
src={thumbnail}
|
||||
src={banner}
|
||||
quality="medium"
|
||||
className="h-full w-full flex-row items-center justify-evenly"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user