mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-30 09:59:41 +05:00
ADD New Pre-Commit hooks and Formatting code
This commit is contained in:
parent
5c9c3e67fa
commit
9e75a0783c
26 changed files with 4163 additions and 105 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue