t
This commit is contained in:
1 parent
1dde1311a3
commit
129c3dd164
12 files changed
+65
No files matched your search
@@ -290,6 +290,17 @@ function ProfileTab({ profile, topByCategory, onOpen }: { profile: Profile; topB
|
||||
</section>
|
||||
))}
|
||||
|
||||
{profile.watching.length > 0 && (
|
||||
<>
|
||||
<SectionTitle>{t('social.watching')}</SectionTitle>
|
||||
<div className="grid grid-cols-4 gap-2.5">
|
||||
{profile.watching.map((item) => (
|
||||
<PosterTile key={item.id} item={item} onOpen={() => onOpen(item)} />
|
||||
))}
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
|
||||
<SectionTitle>{t('social.recent')}</SectionTitle>
|
||||
{profile.recent.length ? (
|
||||
<div className="grid grid-cols-4 gap-2.5">
|
||||
@@ -301,6 +312,17 @@ function ProfileTab({ profile, topByCategory, onOpen }: { profile: Profile; topB
|
||||
<p className="text-sm text-ink-3">{t('social.noRecent')}</p>
|
||||
)}
|
||||
|
||||
{profile.watchlist.length > 0 && (
|
||||
<>
|
||||
<SectionTitle>{t('social.watchlist')}</SectionTitle>
|
||||
<div className="grid grid-cols-4 gap-2.5">
|
||||
{profile.watchlist.map((item) => (
|
||||
<PosterTile key={item.id} item={item} onOpen={() => onOpen(item)} />
|
||||
))}
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
|
||||
{s && (
|
||||
<>
|
||||
<SectionTitle>{t('nav.stats')}</SectionTitle>
|
||||
|
||||
Reference in new issue
Block a user