mirror of
https://github.com/Radiquum/AniX.git
synced 2025-05-01 02:19:41 +05:00
refactor: update style of Related Releases Card on Release page
This commit is contained in:
parent
d2b38dcbe2
commit
6cade5a7d0
11 changed files with 296 additions and 33 deletions
25
app/components/ReleaseLink/ReleaseLinkUpdate.tsx
Normal file
25
app/components/ReleaseLink/ReleaseLinkUpdate.tsx
Normal file
|
@ -0,0 +1,25 @@
|
|||
import Link from "next/link";
|
||||
import { PosterWithStuff } from "../ReleasePoster/PosterWithStuff";
|
||||
|
||||
export const ReleaseLink = (props: {
|
||||
image: string;
|
||||
title_ru: string;
|
||||
title_original: string;
|
||||
genres?: string;
|
||||
grade?: number;
|
||||
id: number;
|
||||
settings?: {
|
||||
showGenres?: boolean;
|
||||
};
|
||||
profile_list_status?: number;
|
||||
status?: {
|
||||
name: string;
|
||||
};
|
||||
status_id?: number;
|
||||
}) => {
|
||||
return (
|
||||
<Link href={`/release/${props.id}`}>
|
||||
<PosterWithStuff {...props} />
|
||||
</Link>
|
||||
);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue