Improve video description display for better user experience

Update VideoPage component to conditionally render video descriptions, showing a fallback message when no description is available.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: d7424866-83d1-4486-a212-ac12b4c7becf
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/d7424866-83d1-4486-a212-ac12b4c7becf/e6qh6Ss
This commit is contained in:
sebastjanartic
2025-08-28 16:55:53 +00:00
parent 6799bf0bbe
commit 0a7093cba1
3 changed files with 9 additions and 1 deletions
+5 -1
View File
@@ -315,10 +315,14 @@ export default function VideoPage() {
{currentVideo.description && (
{currentVideo.description ? (
<div className="text-bunny-light">
<p className="text-sm leading-relaxed">{currentVideo.description}</p>
</div>
) : (
<div className="text-bunny-muted text-sm">
<p>Opis videa ni na voljo.</p>
</div>
)}
</div>
</div>