diff --git a/frontend/src/components/VideoCard.tsx b/frontend/src/components/VideoCard.tsx index d9c864b..b1358ef 100644 --- a/frontend/src/components/VideoCard.tsx +++ b/frontend/src/components/VideoCard.tsx @@ -1,6 +1,8 @@ -import Link from "next/link"; +import StatusBadge from "@/components/StatusBadge"; import { deleteVideo, getThumbnailUrl, type Video } from "@/lib/api"; +import { formatDate, formatDuration } from "@/lib/format"; import { useAuth } from "@/store/auth"; +import Link from "next/link"; import { useState } from "react"; function statusColor(s: Video["status"]): string { @@ -47,13 +49,22 @@ export default function VideoCard({ video, onDeleted }: { video: Video; onDelete ▶ {video.title} )} -
{video.description || "—"}
-+ {video.description || "No description"} +
+ +