templates/components/text-without-image-page-selection-as-link.html.twig line 1

Open in your IDE?
  1. {% set isFullWidth = fullWidth is defined %}
  2. <div class="image-text-section my-3 {{ backgroundColorClass ?? '' }}">
  3.     <div class="container py-5">
  4.         <div class="row {% if (textPosition is defined) %} justify-content-{{ textPosition ?? 'start' }} {% endif %}">
  5.             <div class="col-12">
  6.                 <div>
  7.                     {% if (title is defined) %}
  8.                     <h2 class="mb-5 point {{ darkPoint|default(false) ? 'dark' : 'light' }}">{{ title }}</h2>
  9.                     {% endif %}
  10.                     <div class="mb-4 {{ title is not defined ? 'teaser-text' : '' }}">{{ text|raw }}</div>
  11.                 </div>
  12.                 {% if (link is defined) %}
  13.                     <div class="pe-2 pb-2">
  14.                         <sulu-link class="link d-inline-flex align-items-center fw-bolder mb-4" href="{{ '%s#%s'|format(link.link, link.anchor) }}">
  15.                             <span class="me-2">{{ link.text|raw }}</span>
  16.                             <i class="fa-solid fa-arrow-right"></i>
  17.                         </sulu-link>
  18.                     </div>
  19.                 {% endif %}
  20.             </div>
  21.         </div>
  22.     </div>
  23. </div>