From ae45ef81549f3af09a06f8efd4827b0bb29e5780 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Sat, 7 Feb 2026 23:14:31 +0100 Subject: [PATCH] blog ui fixes --- apps/web/src/app/blog/[slug]/page.tsx | 31 ++++++--------------------- apps/web/src/components/ui/prose.tsx | 2 +- 2 files changed, 7 insertions(+), 26 deletions(-) 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 (