Update video card appearance to use orange and purple gradients

Modified the `VideoCard` component to change the gradient background from black/purple to orange/purple, and updated text and border colors to match the new theme.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 074b0e4c-6171-43bd-aa98-f9e04623ca14
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/074b0e4c-6171-43bd-aa98-f9e04623ca14/DVZN4Rp
This commit is contained in:
sebastjanartic 2025-08-30 14:51:07 +00:00
parent 54d1471e99
commit b40640b9d8

View File

@ -212,12 +212,12 @@ export default function VideoCard({ video, onClick, className = "" }: VideoCardP
{/* Title overlay - only show when not playing preview */}
{!showPreview && (
<div className="absolute bottom-2 left-2 right-2 bg-gradient-to-r from-black/85 via-purple-900/70 to-black/85 text-white px-4 py-3 rounded-xl backdrop-blur-lg border border-white/20 shadow-2xl z-10">
<div className="absolute bottom-2 left-2 right-2 bg-gradient-to-r from-orange-600/80 via-purple-800/70 to-orange-600/80 text-white px-4 py-3 rounded-xl backdrop-blur-lg border border-orange-400/30 shadow-2xl z-10">
<div className="truncate font-bold text-white text-base drop-shadow-lg mb-1">{video.title}</div>
<div className="text-sm text-purple-100/95 flex items-center space-x-3">
<span className="bg-blue-500/30 px-3 py-1 rounded-full font-medium">{formatViews(video.views)}</span>
<span className="text-white/70 font-bold"></span>
<span className="bg-purple-500/30 px-3 py-1 rounded-full font-medium">{formatDate(video.createdAt)}</span>
<div className="text-sm text-orange-100/95 flex items-center space-x-3">
<span className="bg-orange-500/40 px-3 py-1 rounded-full font-medium border border-orange-400/30">{formatViews(video.views)}</span>
<span className="text-white/80 font-bold"></span>
<span className="bg-purple-500/40 px-3 py-1 rounded-full font-medium border border-purple-400/30">{formatDate(video.createdAt)}</span>
</div>
</div>
)}