templates/page/services_home_widget.html.twig line 1

Open in your IDE?
  1.         <div class="container">
  2.           <div class="mt-90 d-flex align-items-center">
  3.             <div class="flex-shrink-0">
  4.                <a href="#" class="btn-left btn-link p-2 toggleLeft"><i class="ri-arrow-left-fill"></i></a>
  5.             </div>
  6.             <div class="flex-grow-1 position-relative overflow-hidden" id="outer" style="padding-top: 5px">
  7.                <ul class="nav position-relative flex-nowrap align-items-center btn-list-container" role="tablist" id="bar">
  8.                {% for content in collection %}
  9.                   <li><a class="btn btn-default btn-bd-green-hover btn-select {% if loop.index == 1 %}active{% endif %}" href="#tab-{{ loop.index }}" data-bs-toggle="tab" role="tab" aria-controls="tab-{{ loop.index }}" aria-selected="true">{{ content.title }}</a></li>
  10.                 {% endfor %}
  11.                </ul>
  12.             </div>
  13.             <div class="flex-shrink-0">
  14.                 <a href="#" class="btn-right btn-link toggleRight p-2"><i class="ri-arrow-right-line"></i></a>
  15.             </div>            
  16.           </div>
  17.         </div>
  18.         <div class="container">
  19.           <div class="tab-content">
  20.           {% for content in collection %}
  21.             <!-- Start Tab-->
  22.             <div class="tab-pane fade {% if loop.index == 1 %}active show{% endif %}" id="tab-{{loop.index}}" role="tabpanel" aria-labelledby="tab-{{loop.index}}">
  23.               <div class="bg-2 panel-box mt-50">
  24.                 <div class="row">
  25.                   <div class="col-lg-6 col-md-12">
  26.                     <div class="box-optimized">
  27.                       <h3 class="text-heading-2">{{ content.title }}</h3>
  28.                       <p class="text-body-excerpt mt-30">{{ content.summary }}</p>
  29.                       <div class="mt-40"><a class="btn btn-default btn-white icon-arrow-right" href="{{ path(content.route.routeName) }}">Learn more</a></div>
  30.                     </div>
  31.                   </div>
  32.                   <div class="col-lg-6 col-md-12">
  33.                     <div class="block-video icon-pattern"><a class="popup-youtube btn-play-video" href="https://www.youtube.com/watch?v=oRI37cOPBQQ"></a>
  34.                       <img class="img-responsive" src="{{ content.thumbnail|imagine_filter('thumbnail_large') }}" alt="{{ content.title }}"></div>
  35.                   </div>
  36.                 </div>
  37.               </div>
  38.             </div>
  39.             {% endfor %}
  40.           </div>
  41.         </div>