{# ========================================================================= #}
{# :: Imports #}
{# ========================================================================= #}
{% import "styleguides/general/organisms/notifications/notifications-macros.njk" as notifications %}

{# ========================================================================= #}
{# :: Settings #}
{# ========================================================================= #}
{% set params = {
  isFullWidth: false,
  styleVendors: [],
  scriptVendors: [],
  scope: ""
} %}

{# ========================================================================= #}
{# :: Info #}
{# ========================================================================= #}
{% set info %}

This is a different way of displaying the notifications within the markup. Only
displaying a list of items, instead of ordering them by month or year.

{% endset %}

{# ========================================================================= #}
{# :: Preview #}
{# ========================================================================= #}
{% set preview %}

{{notifications.list("o-notifications--simulate-list", {
  items: [
    {
      url: "#",
      state: "is-file",
      time: { text: "15-01-2019", format: "2019-01-15" },
      title: "Overzicht van rente en kosten"
    },
    {
      url: "#",
      state: "is-message",
      time: {
        text: "10-01-2019",
        format: "2019-01-10"
      },
      title: "Wat veranderd er voor uw producten?",
      description: "Nullam id dolor id nibh ultricies verhicula ut id elit...",
      hasAttachment: true
    },
    {
      isRead: true,
      url: "#",
      state: "is-message",
      time: { text: "05-01-2019", format: "2019-01-05" },
      title: "Nieuw jaar promotie!"
    },
    {
      isRead: true,
      url: "#",
      state: "is-file",
      time: { text: "15-12-2129", format: "2019-01-15" },
      title: "Belastingcertificaat"
    }
  ]
})}}

{% endset %}

{# ========================================================================= #}
{# :: Code #}
{# ========================================================================= #}
{# {% set code %}

{% endset %} #}
