{% stories node_add_list with { title: 'Components/Node Add List' } %}



{% story default with {
  name: 'With content type',
} %}
  
{% set add_link1 %}
  {{ link('Add Article', 'entity:node/8') }}
{% endset %}

{% set add_link2 %}
  {{ link('Add Basic Page', 'entity:node/9') }}
{% endset %}

{% set types = [
  {
    add_link: add_link1,
    description: "Use articles for time-sensitive content like news, press releases or blog posts."
  },
  {
    add_link:  add_link2,
    description: "Use articles for time-sensitive content like news, press releases or blog posts."
  }
  ] 
%}


    {% include 'tailpine:node-add-list' with {
      types: types
    } %}

  {% endstory %}

  {% story empty with {
    name: 'No content types',
    args: {
      types: []
    }
  } %}

    {% include 'tailpine:node-add-list' with {
      types: types
    } %}

  {% endstory %}

{% endstories %}
