diff --git a/src/components/Icon/Notifications/Announcement.tsx b/src/components/Icon/Notifications/Announcement.tsx new file mode 100644 index 000000000..e37bb51cf --- /dev/null +++ b/src/components/Icon/Notifications/Announcement.tsx @@ -0,0 +1,13 @@ +function Announcement() { + return ( + + + + + ) +} + +export default Announcement diff --git a/src/components/Icon/Notifications/Grant.tsx b/src/components/Icon/Notifications/Grant.tsx new file mode 100644 index 000000000..5133683de --- /dev/null +++ b/src/components/Icon/Notifications/Grant.tsx @@ -0,0 +1,10 @@ +function Grant() { + return ( + + + + + ) +} + +export default Grant diff --git a/src/components/Icon/Notifications/Proposal.tsx b/src/components/Icon/Notifications/Proposal.tsx new file mode 100644 index 000000000..6f91282e0 --- /dev/null +++ b/src/components/Icon/Notifications/Proposal.tsx @@ -0,0 +1,13 @@ +function Proposal() { + return ( + + + + + ) +} + +export default Proposal diff --git a/src/components/Notifications/NotificationItem.tsx b/src/components/Notifications/NotificationItem.tsx index 85c066491..94abf971b 100644 --- a/src/components/Notifications/NotificationItem.tsx +++ b/src/components/Notifications/NotificationItem.tsx @@ -3,9 +3,9 @@ import { Notification, NotificationCustomType } from '../../utils/notifications' import Link from '../Common/Typography/Link' import Markdown from '../Common/Typography/Markdown' import Text from '../Common/Typography/Text' -import CheckCircle from '../Icon/CheckCircle' -import CheckCircleOutline from '../Icon/CheckCircleOutline' -import QuestionCircle from '../Icon/QuestionCircle' +import Announcement from '../Icon/Notifications/Announcement' +import Grant from '../Icon/Notifications/Grant' +import Proposal from '../Icon/Notifications/Proposal' import './NotificationItem.css' @@ -16,12 +16,12 @@ interface Props { function getIcon(metadata: { customType: string }) { switch (metadata?.customType) { case NotificationCustomType.Announcement: - return QuestionCircle // TODO: Add Announcement icon + return Announcement case NotificationCustomType.Grant: - return CheckCircleOutline // TODO: Add Grant icon + return Grant case NotificationCustomType.Proposal: default: - return CheckCircle // TODO: Add Proposal icon + return Proposal } } @@ -34,7 +34,7 @@ export default function NotificationItem({ notification }: Props) { return (
- +