{# @deprecated tag:v6.4.0 - Will be handled by generic "layout/breadcrumb.html.twig" template #}
{% block component_product_breadcrumb %}
{% if category %}
{% set breadcrumb = sw_breadcrumb(category) %}
{% set breadcrumbKeys = breadcrumb|keys %}
{% set breadcrumbTypes = sw_breadcrumb_types(breadcrumbKeys, context.context) %}
{% for key, item in breadcrumb %}
<div class="breadcrumb-container">
{% block component_product_breadcrumb_category %}
{% if breadcrumbTypes[key] == 'folder' %}
<div>
{% block component_product_breadcrumb_folder_name %}
{{ item }}
{% endblock %}
</div>
{% else %}
<a class="{% if key is same as(category.id) %} is-active{% endif %}"
href="{{ seoUrl('frontend.navigation.page', { navigationId: key }) }}">
{% block component_product_breadcrumb_link_name %}
{{ item }}
{% endblock %}
</a>
{% endif %}
{% endblock %}
{% block component_product_breadcrumb_placeholder %}
{% if key != breadcrumbKeys|last %}
<div class="breadcrumb-placeholder">
{% sw_icon 'arrow-medium-right' style { 'size': 'fluid', 'pack': 'solid'} %}
</div>
{% endif %}
{% endblock %}
</div>
{% endfor %}
{% endif %}
{% endblock %}