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

@ -1,7 +1,7 @@
"use client";
import { Card, Carousel, CustomFlowbiteTheme } from "flowbite-react";
import { ReleaseLink } from "#/components/ReleaseLink/ReleaseLink";
import { ReleaseLink } from "#/components/ReleaseLink/ReleaseLinkUpdate";
import Link from "next/link";
const CarouselTheme: CustomFlowbiteTheme["carousel"] = {
@ -39,7 +39,11 @@ export const ReleaseInfoRelated = (props: {
})
.map((release: any) => {
return (
<ReleaseLink key={release.id} {...release} type={"poster"} />
<ReleaseLink
key={release.id}
{...release}
settings={{ showGenres: false, showDescription: false }}
/>
);
})}
</Carousel>