Create part-of collection card

This commit is contained in:
Zoe Roux
2026-02-19 13:41:37 +01:00
parent 01f5b44b60
commit 31af752e2e
18 changed files with 264 additions and 197 deletions
+1 -1
View File
@@ -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:
+3 -3
View File
@@ -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"
>