/* eslint-disable @next/next/no-img-element */ import Link from "next/link" import { TimeAgo } from "@/cosmic/elements/TimeAgo" import { CategoryType } from "./CategoryPill" export type VideoType = { id: string title: string slug: string created_at: string metadata: { thumbnail: { imgix_url: string } video: { url: string } description: string categories: CategoryType[] channel: { slug: string title: string metadata: { thumbnail: { imgix_url: string } } } } } export function VideoCard({ video, className, }: { video: VideoType className?: string }) { return (
{video.title}

{video.title}

{video.metadata.channel.title}
{video.metadata.channel.title}
) }