ADD New Pre-Commit hooks and Formatting code

This commit is contained in:
Kentai Radiquum 2024-04-23 18:30:35 +05:00
parent 5c9c3e67fa
commit 9e75a0783c
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
26 changed files with 4163 additions and 105 deletions

View file

@ -5,11 +5,18 @@ import Link from "next/link";
export const ReleaseCard = (props) => {
return (
<Link href={`/release/${props.id}`} className="s3">
<article className="no-padding round fill" style={{width: 284, height: 508}}>
<article
className="no-padding round fill"
style={{ width: 284, height: 508 }}
>
<img className="responsive large top-round" src={props.poster} />
<div className="padding">
<h6>{`${props.title.substring(0, 36)}${[...props.title].length > 36 ? "..." : ""}`}</h6>
<p>{`${props.description}${[...props.description].length > 160 ? "..." : ""}`}</p>
<h6>{`${props.title.substring(0, 36)}${
[...props.title].length > 36 ? "..." : ""
}`}</h6>
<p>{`${props.description}${
[...props.description].length > 160 ? "..." : ""
}`}</p>
</div>
</article>
</Link>