diff --git a/web/components/post-card.tsx b/web/components/post-card.tsx index 50b378e6..f3e673fb 100644 --- a/web/components/post-card.tsx +++ b/web/components/post-card.tsx @@ -8,6 +8,7 @@ import { fromNow } from 'web/lib/util/time' import { Avatar } from './avatar' import { Card } from './card' import { CardHighlightOptions } from './contract/contracts-grid' +import { Row } from './layout/row' import { UserLink } from './user-link' export function PostCard(props: { @@ -19,30 +20,28 @@ export function PostCard(props: { const { itemIds: itemIds, highlightClassName } = highlightOptions || {} return ( -
- -
- -
+ +
-
+ + - - {fromNow(post.createdTime)} -
-
+ + {fromNow(post.createdTime)} + +
{post.title}
-
+
{post.subtitle}
@@ -52,7 +51,7 @@ export function PostCard(props: { Post
- + {onPostClick ? ( )} -
+
) }