templates/about-us/archive.html.twig line 1

Open in your IDE?
  1. {% extends 'app/layout.html.twig' %}
  2. {% block content %}
  3.     {% include "app/partials/navigation/_breadcrumbs.html.twig" %}
  4.     {{ pimcore_area('hero-regular', {
  5.         'type':'hero-regular-brick',
  6.         'params': {
  7.             'hero-regular-brick' : {
  8.             }
  9.         }
  10.     }) }}
  11.     <div class="bg-blue-200">
  12.         <div class="container">
  13.             {% set navigation = [] %}
  14.             {% for child in document.getChildren()  %}
  15.                 {% set navigation_content_example %}
  16.                     {% include 'about-us/partials/_card.html.twig' %}
  17.                 {% endset %}
  18.                 {% set tab = {
  19.                     'icon': '',
  20.                     'title': child.getProperty('navigation_name') ?: child.title,
  21.                     'content': navigation_content_example
  22.                 } %}
  23.                 {% set navigation = navigation|merge([tab]) %}
  24.             {% endfor %}
  25.             {% include 'app/partials/navigation/_sub-navigation.html.twig' with {
  26.                 name: 'product-category-archive',
  27.                 tabs: navigation,
  28.                 tabParentPadding: '',
  29.                 tabListPadding: 'pt-10 lg:pt-20',
  30.                 tabsPadding: '',
  31.                 tabPadding: 'py-10 lg:py-20 block',
  32.             } %}
  33.         </div>
  34.     </div>
  35.     {{ pimcore_area('contact-side-widget', {
  36.         type: 'contact-side-widget-brick'
  37.     }) }}
  38.     {{ pimcore_areablock(
  39.         'afterContentAreaBlock',
  40.         {
  41.             "group" : brickGroups ?? [],
  42.             'params': areaBrickParams ?? []
  43.         }
  44.     ) }}
  45. {% endblock %}