From 2097ebc3c92d36571feb60835e9891919e19a1bf Mon Sep 17 00:00:00 2001 From: Pico2x Date: Mon, 3 Oct 2022 16:34:12 +0100 Subject: [PATCH] Add "Post" badge to post card --- web/components/post-card.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web/components/post-card.tsx b/web/components/post-card.tsx index f8422df6..d34bb935 100644 --- a/web/components/post-card.tsx +++ b/web/components/post-card.tsx @@ -1,4 +1,5 @@ import { track } from '@amplitude/analytics-browser' +import { DocumentIcon } from '@heroicons/react/solid' import clsx from 'clsx' import { Post } from 'common/post' import Link from 'next/link' @@ -49,6 +50,12 @@ export function PostCard(props: { {post.subtitle} +
+ + + Post + +
{onPostClick ? (