import cn from 'classnames'
import Image from 'next/future/image'
import Link from 'next/link'
interface Props {
title: string
coverImage: {
node: {
sourceUrl: string
}
}
slug?: string
}
export default function CoverImage({ title, coverImage, slug }: Props) {
const image = (