feat: add emoji for no video avaliable

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei 2024-07-25 17:02:36 +08:00
parent 0c83012080
commit 14b7eeaf5d
No known key found for this signature in database
GPG Key ID: 0F62D33977F021F7
2 changed files with 3 additions and 1 deletions

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="#fff" fill-opacity=".01" d="M24 0v24H0V0z"/><path fill="#10161F" d="M9 9.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0M16 9.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0"/><path stroke="#10161F" stroke-linecap="round" stroke-width="2" d="M9.354 15c.705-.622 1.632-1 2.646-1 1.015 0 1.94.378 2.646 1M9 9.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm7 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm5 2.5c0 8-6 9-9 9s-9-1-9-9c0-6 4.03-9 9-9s9 3 9 9Z"/></svg>

After

Width:  |  Height:  |  Size: 489 B

View File

@ -105,7 +105,8 @@ export function VideoItem({
/>
) :
(
<div className="center aspect-video w-full bg-muted text-sm text-muted-foreground">
<div className="center aspect-video w-full flex-col gap-1 bg-muted text-xs text-muted-foreground">
<i className="i-mgc-sad-cute-re size-6" />
No video available
</div>
)}