refactor: update style of Related Releases Card on Release page

This commit is contained in:
Kentai Radiquum 2025-03-25 23:01:11 +05:00
parent d2b38dcbe2
commit 6cade5a7d0
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
11 changed files with 296 additions and 33 deletions

View 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>
);
};