templates/common/call_to_action.html.twig line 1

Open in your IDE?
  1. {% set hasTitle = (title is defined) %}
  2. <!-- Call to action -->
  3. <section class="parallax-container bg-gradient" data-parallax-img="{{ imageUrl }}">
  4.     <div class="parallax-content section-98 section-sm-110 context-dark">
  5.         <div class="container text-left">
  6.             <div class="row justify-content-sm-center justify-content-lg-start">
  7.                 <div class="col-md-10 col-lg-8 col-xl-5">
  8.                     {% if hasTitle %}<h2>{{ title }}</h2>{% endif %}
  9.                     <p class="offset-top-30 text-white">{{ desc }}</p>
  10.                     <div class="offset-top-30"><a class="btn btn-ellipse btn-white" href="{{ linkUrl }}">{{ action }}</a></div>
  11.                 </div>
  12.             </div>
  13.         </div>
  14.     </div>
  15. </section>