diff --git a/apps/web/src/app/blog/[slug]/page.tsx b/apps/web/src/app/blog/[slug]/page.tsx index 46c6163d..2c06cb90 100644 --- a/apps/web/src/app/blog/[slug]/page.tsx +++ b/apps/web/src/app/blog/[slug]/page.tsx @@ -88,18 +88,17 @@ function PostHeader({ post }: { post: Post }) { }); return ( - <> - {post.coverImage && } +
- - + {post.coverImage && } +
); } function PostCoverImage({ post }: { post: Post }) { return ( -
+
{post.title}{title} - ); -} - -function PostAuthor({ author }: { author?: Author }) { - if (!author) return null; - - return ( -
- {author.name} -

{author.name}

-
+

{title}

); } function PostContent({ html }: { html: string }) { return ( -
+
); diff --git a/apps/web/src/components/ui/prose.tsx b/apps/web/src/components/ui/prose.tsx index 7586344c..4e526b7e 100644 --- a/apps/web/src/components/ui/prose.tsx +++ b/apps/web/src/components/ui/prose.tsx @@ -10,7 +10,7 @@ function Prose({ children, html, className }: ProseProps) { return (