From e09baf9b6c03bedc6a9aae32678bae45b6ca3c0d Mon Sep 17 00:00:00 2001 From: DIYgod Date: Wed, 17 Aug 2022 10:38:55 +0100 Subject: [PATCH] feat: mint icon --- src/components/icons/MintIcon.tsx | 17 +++++++++++++++++ src/components/site/PostFooter.tsx | 3 ++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 src/components/icons/MintIcon.tsx diff --git a/src/components/icons/MintIcon.tsx b/src/components/icons/MintIcon.tsx new file mode 100644 index 00000000..9766f106 --- /dev/null +++ b/src/components/icons/MintIcon.tsx @@ -0,0 +1,17 @@ +import React from "react" + +export const MintIcon: React.FC> = ( + props, +) => { + return ( + + + + ) +} diff --git a/src/components/site/PostFooter.tsx b/src/components/site/PostFooter.tsx index 21daed4f..71259c8d 100644 --- a/src/components/site/PostFooter.tsx +++ b/src/components/site/PostFooter.tsx @@ -22,6 +22,7 @@ import { UniLink } from "~/components/ui/UniLink" import { Modal } from "~/components/ui/Modal" import { Avatar } from "../ui/Avatar" import { BlockchainIcon } from "~/components/icons/BlockchainIcon" +import { MintIcon } from "~/components/icons/MintIcon" export const PostFooter: React.FC<{ page?: Note @@ -211,7 +212,7 @@ export const PostFooter: React.FC<{ onClick={mint} isLoading={mintPage.isLoading || likeProgress} > - + {mints.data?.count || 0}