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
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue