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

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

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

On desktop, the notifications are ordered by month and on mobile they are
ordered by year. The DOM does not change, only the elements we do no need get
hidden.

{% endset %}

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

{{notifications.default("", {
  "2019": {
    "januari": [
      {
        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!"
      }
    ]
  },
  "2018": {
    "december": [
      {
        isRead: true,
        url: "#",
        state: "is-file",
        time: { text: "15-12-2129", format: "2019-01-15" },
        title: "Belastingcertificaat"
      }
    ]
  }
})}}

{% endset %}

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

{% endset %} #}
