mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-29 01:19:41 +05:00
New Home page, New UI, Proxy api requests through next.js api routes
This commit is contained in:
parent
49b9ac069f
commit
a30ddcfc6a
20 changed files with 5385 additions and 0 deletions
25
app/components/ReleaseCourusel/ReleaseCourusel.jsx
Normal file
25
app/components/ReleaseCourusel/ReleaseCourusel.jsx
Normal file
|
@ -0,0 +1,25 @@
|
|||
"use client";
|
||||
import { ReleaseLink } from "../ReleaseLink/ReleaseLink";
|
||||
export const ReleaseCourusel = (props) => {
|
||||
return (
|
||||
<section className="group relative">
|
||||
<div className="flex justify-between border-b-2 border-black px-4">
|
||||
<h1 className="font-bold text-md sm:text-xl">{props.sectionTitle}</h1>
|
||||
<a href={props.showAllLink}>
|
||||
<div className="flex items-center">
|
||||
<p className="font-bold hidden sm:block text-xl">Показать все</p>
|
||||
<span className="iconify mdi--arrow-right w-6 h-6"></span>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
className="flex gap-2 overflow-x-scroll p-4 scrollbar-none"
|
||||
id={props.id}
|
||||
>
|
||||
{props.content.map((release) => {
|
||||
return <ReleaseLink key={release.id} {...release} />;
|
||||
})}
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue