Update video card titles to use orange color for better visibility
Modify the text color of the video title in the VideoCard component from default to orange-500 for improved visual distinction. 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
a7a7a477ca
commit
32673ff335
@ -213,7 +213,7 @@ export default function VideoCard({ video, onClick, className = "" }: VideoCardP
|
|||||||
{/* Title overlay - only show when not playing preview */}
|
{/* Title overlay - only show when not playing preview */}
|
||||||
{!showPreview && (
|
{!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="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">{video.title}</div>
|
<div className="truncate font-medium text-sm text-orange-500">{video.title}</div>
|
||||||
<div className="text-xs text-gray-300 flex items-center space-x-1 mt-0.5">
|
<div className="text-xs text-gray-300 flex items-center space-x-1 mt-0.5">
|
||||||
<span>{formatViews(video.views)}</span>
|
<span>{formatViews(video.views)}</span>
|
||||||
<span>•</span>
|
<span>•</span>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user