features.html.twig 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. <div class="modular-row features {{ page.header.class}}">
  2. <div class="after-h1">
  3. <svg viewBox="0 0 220 100" xmlns="http://www.w3.org/2000/svg">
  4. <!-- Simple rect element -->
  5. <rect x="0" y="0" width="100" height="3" />
  6. </div>
  7. {{ content|raw }}
  8. <div class="feature-items">
  9. {% for feature in page.header.features %}
  10. <div class="feature">
  11. {% if feature.icon %}
  12. <i class="fa fa-fw fa-{{ feature.icon }}"></i>
  13. <div class="feature-content icon-offset">
  14. {% else %}
  15. <div class="feature-content">
  16. {% endif %}
  17. {% if feature.header %}
  18. <h3>{{ feature.header }}</h3>
  19. {% endif %}
  20. {% if feature.text %}
  21. <p>{{ feature.text }}</p>
  22. {% endif %}
  23. {% if feature.logo %}
  24. <img src="{{ page.media[page.header.features.logo] }}" alt=“logo_programme” />
  25. {% endif %}
  26. </div>
  27. </div>
  28. {% endfor %}
  29. </div>
  30. </div>