From 9fc2c779e32af642bbab10478d7485b988eb90cd Mon Sep 17 00:00:00 2001 From: Sol Irvine Date: Mon, 21 Aug 2023 08:40:22 +0900 Subject: [PATCH] Update stories.tsx --- components/layout/stories.tsx | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/components/layout/stories.tsx b/components/layout/stories.tsx index b88690c30..04b85436e 100644 --- a/components/layout/stories.tsx +++ b/components/layout/stories.tsx @@ -28,11 +28,16 @@ export default async function Stories({

stories

-
+
{blog?.articles?.map((article) => ( -
-
+
+
{!!article?.image?.url && ( )}
-
+
{format(new Date(article?.publishedAt), 'yyyy-MM-dd')}