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 ( -
-

Whats new?

+
  • + {strongTag}: {children} +
  • + ); +} -
    - 3.2.0 - -
    +

    +
    + ) : null} + + ); +} +export function Notifications(props) { + return ( +
    +

    Whats new?

    -
    - 3.1.1 - -
    + +
  • + 🔥 [Dev] Code Refactor: I rewrote Web Maker. Yes, Web + Maker's codebase has been ported from plain JS to{' '} + + Preact + . What does this mean for you as a end-user? This means that now + that the code is much smaller, more modular and maintainable. Hence, + future features can be developed more rapidly. So fasten your seat + belts, and get ready to use loads of new features coming your way in + next releases!
    + + Read more about this big code refactor + . +
  • +
    -
    - 3.1.0 - -
    -
    - 3.0.4 - -
    + +
  • + 🚀 Loop timeout setting: You now have a setting to + tweak the maximum timeout of a loop iteration before it's marked as + infinite loop. +
  • + + Modals now have proper keyboard navigation integrated. + + + Color contrast improvements. + +
  • + 🚀 Popular libraries list updated. Thanks + &{' '} + +
  • + + Modal take up appropriate width instead of spanning full width. + +
    -
    - 3.0.3 - -
    + + + Fix the "Run" button not refreshing the preview after release 3.0.4. + + + + +
  • + Mobile Support (app only).: Make the Web Maker app + usable on mobile. This is only for web app as Chrome extensions don't + run on mobile. +
  • +
    + + + + Guarantee code doesn't execute when "auto preview" is off. + +
  • + Add link to our new + + Slack channel + {' '} + 🤗. +
  • +
    + + +
  • + Bugfix (extension): "Save as HTML" file saves with + correct extension. +
  • +
    3.0.1 @@ -167,6 +199,7 @@ export function Notifications(props) { target="_blank" rel="noopener noreferrer" > + {' '} Read the blog post about it . @@ -218,35 +251,21 @@ export function Notifications(props) { > Tailwind CSS {' '} - added to popular CSS libraries list. Thanks - - diomed - . + added to popular CSS libraries list. Thanks{' '} + .
  • - Popular libraries list updated. Thanks - - diomed - . + Popular libraries list updated. Thanks{' '} + .
  • Dev: Bug fixes and code refactoring to make things - simple. Thanks - - iamandrewluca - . + simple.{' '} + {' '} + .