From d98fad2844acaf01ec651924a3668d63f9d91ad4 Mon Sep 17 00:00:00 2001 From: zmeyer44 Date: Mon, 16 Oct 2023 08:35:53 -0400 Subject: [PATCH] article page image --- components/LongForm/index.tsx | 2 +- containers/Article/index.tsx | 19 ++++++++++++++++--- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/components/LongForm/index.tsx b/components/LongForm/index.tsx index 7862f1d..dde0d4e 100644 --- a/components/LongForm/index.tsx +++ b/components/LongForm/index.tsx @@ -44,7 +44,7 @@ export default function Markdown({ content }: MarkdoneProps) { ); } return ( -
+
@@ -85,12 +86,24 @@ export default function ArticlePage({ event }: ArticleProps) {

{title}

-
+

{summary}

+ {image && ( +
+ article banner image +
+ )}