{% stories link_node with { title: 'Components/Link-node' } %}

{% story default with {
  name: 'Link Node',
  args: { links: 'Read More' }
} %}
  
{% set link1 %}
  {{ link('Read more', 'entity:node/8') }}
{% endset %}

{% set link2 %}
  {{ link('Add new comment', 'entity:node/8') }}
{% endset %}
{% set attributes = create_attribute() %}
{% set text_attributes = text_attributes %}

{% set links = [
  {
    text: "Read more",
    link: link1,
    attributes: attributes,
    text_attributes: text_attributes
  },
  {
    text: "Add new comment",
    link:  link2,
    attributes: attributes,
    text_attributes: text_attributes
  }
  ] 
%}

{{ include('tailpine:link_node', {links: links, attributes: attributes}) }}

{% endstory %}
{% endstories %}
