anix/feat: add recommendations and watching pages to discovery

This commit is contained in:
Kentai Radiquum 2025-08-27 23:40:28 +05:00
parent 3d08603bc3
commit 7d15eef691
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
5 changed files with 194 additions and 2 deletions

View file

@ -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 }}