templates/pages/institutional/_section_highlight.html.twig line 1

Open in your IDE?
  1. {% import 'pages/institutional/_macros.html.twig' as inst %}
  2. {{ inst.section_open(section)|raw }}
  3. <div class="inst-highlight">
  4. {{ inst.kicker(section)|raw }}
  5. <article class="inst-highlight__card">
  6. {% if section.pictogram|default('') %}
  7. <div
  8. class="inst-highlight__icon"
  9. style="color: {{ section.pictogramColor|default('#FF5C00') }}; background-color: {{ section.pictogramBackground|default('#FFF3EB') }}"
  10. >
  11. {{ getLucidIcon(section.pictogram) }}
  12. </div>
  13. {% endif %}
  14. <div>
  15. {% if section.title|default('') %}
  16. <h2 class="inst-highlight__title">{{ section.title|raw }}</h2>
  17. {% endif %}
  18. {% if section.text|default('') %}
  19. <div class="inst-highlight__text">{{ section.text|raw }}</div>
  20. {% endif %}
  21. </div>
  22. </article>
  23. </div>
  24. {{ inst.section_close(section)|raw }}