Improve video titles with a gradient color style
Update the `VideoCard` component to display video titles with a gradient background. 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:
parent
32673ff335
commit
94fa4d51b9
@ -213,7 +213,7 @@ 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-black/30 text-white px-2 py-1 rounded backdrop-blur-sm z-10">
|
||||
<div className="truncate font-medium text-sm text-orange-500">{video.title}</div>
|
||||
<div className="truncate font-medium text-sm bg-gradient-to-r from-cyan-400 to-purple-500 bg-clip-text text-transparent">{video.title}</div>
|
||||
<div className="text-xs text-gray-300 flex items-center space-x-1 mt-0.5">
|
||||
<span>{formatViews(video.views)}</span>
|
||||
<span>•</span>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user