From 9a6ba9adcf6393b75fc254e7fb08e1583a4001e8 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 13 Apr 2021 09:07:35 +0200 Subject: added images + some styling + software post (empty) --- components/card.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'components') diff --git a/components/card.tsx b/components/card.tsx index 620ada7..7a6a472 100644 --- a/components/card.tsx +++ b/components/card.tsx @@ -3,12 +3,12 @@ import Tags from './tag'; import { ArticleMeta } from '../pages/post/[id]'; export default function PostCard(props: { - post: ArticleMeta + post: ArticleMeta; }) { - return - { props.post.cover && } -

{props.post.title}

- {props.post.subtitle} - { props.post.tags?.length != 0 && } -
+ return + {props.post.cover && } +

{props.post.title}

+ {props.post.subtitle} + {props.post.tags?.length != 0 && } +
; } -- cgit v1.2.3