diff --git a/public/img/successfull-campaign-tag.png b/public/img/successfull-campaign-tag.png new file mode 100644 index 000000000..1da6757e0 Binary files /dev/null and b/public/img/successfull-campaign-tag.png differ diff --git a/src/components/campaigns/CampaignCard.tsx b/src/components/campaigns/CampaignCard.tsx index 1e3b008cd..445220fe9 100644 --- a/src/components/campaigns/CampaignCard.tsx +++ b/src/components/campaigns/CampaignCard.tsx @@ -20,6 +20,7 @@ import { Favorite } from '@mui/icons-material' import KeyboardDoubleArrowRightIcon from '@mui/icons-material/KeyboardDoubleArrowRight' import { campaignListPictureUrl } from 'common/util/campaignImageUrls' import Image from 'next/image' +import SuccessfullCampaignTag from './SuccessfullCampaignTag' const PREFIX = 'CampaignCard' @@ -116,6 +117,7 @@ export default function CampaignCard({ campaign }: Props) {
+ {reached >= target ? : ''}
diff --git a/src/components/campaigns/SuccessfullCampaignTag.tsx b/src/components/campaigns/SuccessfullCampaignTag.tsx new file mode 100644 index 000000000..8d3ffe485 --- /dev/null +++ b/src/components/campaigns/SuccessfullCampaignTag.tsx @@ -0,0 +1,28 @@ +import React from 'react' + +import Image from 'next/image' + +import { Grid } from '@mui/material' + +export default function SuccessfullCampaignTag() { + const successfullCampaignTagSource = '/img/successfull-campaign-tag.png' + + return ( + + Successfull campaign tag + + ) +}