feat: /titles page implementation with cursor pagination
This commit is contained in:
parent
a515769823
commit
397d2bcf70
37 changed files with 797 additions and 1247 deletions
|
|
@ -9,13 +9,13 @@ export function TitleCardHorizontal({ title }: { title: Title }) {
|
|||
border: "1px solid #ddd",
|
||||
borderRadius: 8
|
||||
}}>
|
||||
{title.posterUrl && (
|
||||
<img src={title.posterUrl} width={80} />
|
||||
{title.poster?.image_path && (
|
||||
<img src={title.poster.image_path} width={80} />
|
||||
)}
|
||||
<div>
|
||||
<h3>{title.name}</h3>
|
||||
<p>{title.year} · {title.season} · Rating: {title.rating}</p>
|
||||
<p>Status: {title.status}</p>
|
||||
<h3>{title.title_names["en"]}</h3>
|
||||
<p>{title.release_year} · {title.release_season} · Rating: {title.rating}</p>
|
||||
<p>Status: {title.title_status}</p>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue