Remove unused category and tag information from video displays
Removes the rendering of video categories and tags from the modal, video card, and video page components in the client. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 2eb1084e-b728-4449-9231-f1665924c8d5 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2eb1084e-b728-4449-9231-f1665924c8d5/BjeofQf
This commit is contained in:
@@ -351,30 +351,8 @@ export default function VideoPage() {
|
||||
<span>{formatViews(currentVideo.views)} views</span>
|
||||
<span>{formatDuration(currentVideo.duration)}</span>
|
||||
<span>{formatDate(currentVideo.createdAt)}</span>
|
||||
{currentVideo.category && (
|
||||
<span className="bg-bunny-blue/20 text-bunny-blue px-2 py-1 rounded-full">
|
||||
{currentVideo.category}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* Tags Section */}
|
||||
{currentVideo.tags && currentVideo.tags.length > 0 && (
|
||||
<div className="mb-4">
|
||||
<h3 className="text-sm font-medium text-bunny-light mb-2">Tags</h3>
|
||||
<div className="flex flex-wrap gap-2">
|
||||
{currentVideo.tags.map((tag, index) => (
|
||||
<span
|
||||
key={index}
|
||||
className="bg-bunny-gray/50 text-bunny-light px-2 py-1 rounded text-xs hover:bg-bunny-gray transition-colors"
|
||||
>
|
||||
#{tag}
|
||||
</span>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
||||
|
||||
{currentVideo.description ? (
|
||||
|
||||
Reference in New Issue
Block a user