import Image from 'next/image' interface Props { caption: string img: string } export default function Avatar(props: Props) { const { caption, img } = props const imageUrl = img.startsWith('http') ? img : '/images/blog/avatars/' + img return (
{`${caption}

{caption}

) }