Merge branch 'main' into middleware

This commit is contained in:
shinya
2025-07-09 20:18:33 +08:00
6 changed files with 221 additions and 134 deletions

View File

@@ -161,7 +161,7 @@ function HomeClient() {
<div className='justify-start grid grid-cols-3 gap-x-2 gap-y-14 sm:gap-y-20 px-2 sm:grid-cols-[repeat(auto-fill,_minmax(11rem,_1fr))] sm:gap-x-8 sm:px-4'>
{favoriteItems.map((item) => (
<div key={item.id + item.source} className='w-full'>
<VideoCard {...item} from='favorites' />
<VideoCard {...item} from='favorite' />
</div>
))}
{favoriteItems.length === 0 && (
@@ -212,11 +212,10 @@ function HomeClient() {
className='min-w-[96px] w-24 sm:min-w-[180px] sm:w-44'
>
<VideoCard
id=''
source=''
from='douban'
title={movie.title}
poster={movie.poster}
source_name=''
douban_id={movie.id}
rate={movie.rate}
/>
</div>
@@ -259,11 +258,10 @@ function HomeClient() {
className='min-w-[96px] w-24 sm:min-w-[180px] sm:w-44'
>
<VideoCard
id={show.id}
source=''
from='douban'
title={show.title}
poster={show.poster}
source_name=''
douban_id={show.id}
rate={show.rate}
/>
</div>