From e201d21de74337a538d6d283895321a549d8917e Mon Sep 17 00:00:00 2001 From: DIYgod Date: Tue, 4 Jul 2023 09:06:01 +0100 Subject: [PATCH] feat: comment time and styles for post card --- src/components/home/HomeFeed.tsx | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/src/components/home/HomeFeed.tsx b/src/components/home/HomeFeed.tsx index 150c4c63..82768543 100644 --- a/src/components/home/HomeFeed.tsx +++ b/src/components/home/HomeFeed.tsx @@ -36,11 +36,13 @@ const PostCard = ({ post, keyword, comment, + createdAt, }: { character?: CharacterEntity post: ExpandedNote keyword?: string comment?: string + createdAt?: string }) => { const router = useRouter() const { t } = useTranslation("common") @@ -67,10 +69,10 @@ const PostCard = ({ } />
-
+
{ e.preventDefault() window.open( @@ -90,21 +92,23 @@ const PostCard = ({ fill > - + {character?.metadata?.content?.name || character?.handle} - · + ·