mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-30 09:59:41 +05:00
changelog:
backend: - Change index POST requests to GET requests frontend: - Fetch releases from api endpoint on index page. - Add filters on main page. - Remove tailwindcss
This commit is contained in:
parent
b8878c4fb8
commit
37d4b181f5
10 changed files with 131 additions and 1316 deletions
17
frontend/app/components/ReleaseCard/ReleaseCard.js
Normal file
17
frontend/app/components/ReleaseCard/ReleaseCard.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
"use client";
|
||||
|
||||
import Link from "next/link";
|
||||
|
||||
export const ReleaseCard = (props) => {
|
||||
return (
|
||||
<Link href={`/release/${props.id}`} className="s3">
|
||||
<article className="no-padding round fill" style={{"aspectRatio": "9/16"}}>
|
||||
<img className="responsive large top-round" src={props.poster} />
|
||||
<div className="padding">
|
||||
<h6>{props.title}</h6>
|
||||
<p>{props.description}</p>
|
||||
</div>
|
||||
</article>
|
||||
</Link>
|
||||
);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue