From 0267b68432c801318b7fc7db2e7fd50d00e4ab44 Mon Sep 17 00:00:00 2001 From: wish0ne Date: Sun, 28 Jan 2024 18:42:19 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B9=8C=EB=93=9C=20=EC=97=90=EB=9F=AC?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index.tsx | 170 ++++++++++++++++++++++++++------------------ 1 file changed, 99 insertions(+), 71 deletions(-) diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 96b5838..a7f722a 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -207,93 +207,121 @@ const HomePage = ({ data: { recently, recommend } }: PageProps) => { > Recommend. - - {recommendImage && ( - - )} -
+ {recommendImage && ( + + )}
- {recommend.nodes[0].frontmatter.tags.map((tag: string) => ( - - {`#${tag}`} - - ))} +
+ {recommend.nodes[0].frontmatter.tags.map( + (tag: string) => ( + + {`#${tag}`} + + ) + )} +
+

+ {recommend.nodes[0].frontmatter.title} +

+ +

+ {recommend.nodes[0].frontmatter.date} +

+ +

+ {recommend.nodes[0].excerpt} +

-

+ ) : ( +
+

- {recommend.nodes[0].frontmatter.title} -

- -

+

- {recommend.nodes[0].frontmatter.date} -

- -

- {recommend.nodes[0].excerpt} -

+ 포스트를 불러오지 못했습니다. +

- + )}