refactor: Remove video verification logic and related properties from search and display components

This commit is contained in:
kuekhaoyang
2025-11-17 22:53:33 +08:00
parent 13fa6b672e
commit d3b3b281bd
3 changed files with 1 additions and 126 deletions
-10
View File
@@ -15,7 +15,6 @@ interface Video {
source: string;
sourceName?: string;
isNew?: boolean;
isVerifying?: boolean;
}
interface VideoGridProps {
@@ -70,15 +69,6 @@ export function VideoGrid({ videos, className = '' }: VideoGridProps) {
</div>
)}
{/* Verifying Badge - Top Right */}
{video.isVerifying && (
<div className="absolute top-2 right-2 z-10">
<Badge variant="secondary" className="text-xs backdrop-blur-md bg-yellow-500/90 text-white animate-pulse">
</Badge>
</div>
)}
{/* Overlay */}
<div className="absolute inset-0 bg-gradient-to-t from-black/80 via-black/20 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300">
<div className="absolute bottom-0 left-0 right-0 p-3">