mirror of
https://github.com/Radiquum/AniX.git
synced 2025-09-05 22:15:36 +05:00
anix/feat: add recommendations and watching pages to discovery
This commit is contained in:
parent
3d08603bc3
commit
7d15eef691
5 changed files with 194 additions and 2 deletions
|
@ -24,13 +24,18 @@ export const DiscussingToday = () => {
|
|||
|
||||
return (
|
||||
<div>
|
||||
<p className="mb-2 text-lg font-bold">Обсуждаемое сегодня</p>
|
||||
<div className="grid grid-cols-2 gap-2 sm:grid-cols-3 xl:grid-cols-5">
|
||||
<div className="flex justify-between px-4 py-2 border-b-2 border-black dark:border-white">
|
||||
<h1 className="font-bold text-md sm:text-xl md:text-lg xl:text-xl">
|
||||
Обсуждаемое сегодня
|
||||
</h1>
|
||||
</div>
|
||||
<div className="flex gap-2 my-4 overflow-auto">
|
||||
{data.content.map((item) => {
|
||||
return (
|
||||
<Link
|
||||
key={`discover-discussing-${item.id}`}
|
||||
href={`/release/${item.id}`}
|
||||
className="min-w-[256px]"
|
||||
>
|
||||
<PosterWithStuff
|
||||
settings={{ showDescription: false, showGenres: false }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue