import Link from "next/link"; import Image from "next/image"; import {cn} from "@/lib/utils"; type Props = { title: string; src: string; slug?: string; }; const CoverImage = ({ title, src, slug }: Props) => { const image = ( {`Cover ); return (
{slug ? ( {image} ) : ( image )}
); }; export default CoverImage;