refactor: release section

This commit is contained in:
Kentai Radiquum 2025-03-26 00:51:30 +05:00
parent e1e176c24b
commit 1530fa3937
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
11 changed files with 167 additions and 56 deletions

View file

@ -5,17 +5,35 @@ export const ReleaseLink = (props: {
image: string;
title_ru: string;
title_original: string;
description?: string;
genres?: string;
grade?: number;
id: number;
settings?: {
showGenres?: boolean;
showDescription?: boolean;
};
chipsSettings?: {
enabled: boolean;
gradeHidden?: boolean;
statusHidden?: boolean;
categoryHidden?: boolean;
episodesHidden?: boolean;
listHidden?: boolean;
favHidden?: boolean;
lastWatchedHidden?: boolean;
};
profile_list_status?: number;
status?: {
name: string;
};
category?: {
name: string;
};
status_id?: number;
episodes_released?: string;
episodes_total?: string;
is_favorite?: boolean;
}) => {
return (
<Link href={`/release/${props.id}`}>