custom/plugins/MsrTheme/src/Resources/views/storefront/utilities/offcanvas.html.twig line 1

Open in your IDE?
  1. {#
  2. @deprecated tag:v6.5.0 - Announcement:
  3. Bootstrap v5 comes with its own OffCanvas component.
  4. This template will be adjusted to use Bootstraps OffCanvas markup.
  5. @see https://getbootstrap.com/docs/5.1/components/offcanvas
  6. #}
  7. {% sw_extends '@Storefront/storefront/utilities/offcanvas.html.twig' %}
  8. {% set isAjaxOffcanvas = false %}
  9. {% block utilities_offcanvas %}
  10.     {% block utilities_offcanvas_content_container %}
  11.         {# @deprecated tag:v6.5.0 - Bootstrap v5 will use class `.offcanvas-body` to wrap the offcanvas content #}
  12.         <div class="{% if feature('v6.5.0.0') %}offcanvas-body{% else %}offcanvas-content-container{% endif %}">
  13.             {% block utilities_offcanvas_content %}{% endblock %}
  14.         </div>
  15.     {% endblock %}
  16. {% endblock %}