import Avatar from "./avatar"; import Date from "./date"; import CoverImage from "./cover-image"; import Link from "next/link"; import { AuthorType, ImgixType } from "interfaces"; type HeroPostProps = { title: string; coverImage: ImgixType; date: string; excerpt: string; author: AuthorType; slug: string; }; const HeroPost = (props: HeroPostProps) => { const { title, coverImage, date, excerpt, author, slug } = props; return (

{title}

{excerpt}

); }; export default HeroPost;