import Link from 'next/link'; import { Author, AuthorImage, AuthorName, BlockLink, BlockMeta, BlockSubtitle, BlockTitle, PublishDate } from './style'; import { findByUsername } from '../../lib/author'; const GuideBlock = ({ guide }) => { const author = findByUsername(guide.author) || {}; return (
{ guide.title } { guide.featuredDescription || guide.description } { author.name } { guide.updatedAt }
) }; export default GuideBlock;