diff --git a/src/components/Notifications.jsx b/src/components/Notifications.jsx index ef00cb0..b07c9de 100644 --- a/src/components/Notifications.jsx +++ b/src/components/Notifications.jsx @@ -1,51 +1,37 @@ import { h } from 'preact'; import { A } from './common'; -export function Notifications(props) { +function NotificationItem({ type, children }) { + var strongTag; + if (type === 'bug') { + strongTag = 🔧 Bugfix; + } else if (type === 'a11y') { + strongTag = ♿️ Accessibility; + } return ( -
🚀 Announcement: Hi! I am Kushagra Gour (creator of Web Maker) and I have launched a + {' '} Patreon campaign . If you love Web Maker, consider pledging to + {' '} support me {' '} :) - -
Web Maker now has more than 50K weekly active users! Thank you for being a part of this community of awesome developers. If you find - Web Maker helpful, + Web Maker helpful,{' '} Support the developer -