templates/_parts/hero/_hero-slider-info.html.twig line 1

Open in your IDE?
  1. {% set class = class|default('') %}
  2. {% set heroSettings = heroSettings|default(null) %}
  3. <div class="hero-slider-info {{ class }}">
  4.     <div class="container container_spacer">
  5.         <div class="hero-slider-info__inner grid-block">
  6.             <div class="hero-slider-info__logo">
  7.                 {{ source('_parts/icons/kssk-logo.svg') }}
  8.             </div>
  9.             {% if heroSettings.address %}
  10.                 <div class="hero-slider-info__address">
  11.                     <div class="hero-slider-info__item-title">
  12.                         Адрес
  13.                     </div>
  14.                     <div class="hero-slider-info__item-value">
  15.                         {{ heroSettings.address }}
  16.                     </div>
  17.                 </div>
  18.             {% endif %}
  19.             {% if heroSettings.developer %}
  20.                 <div class="hero-slider-info__developer">
  21.                     <div class="hero-slider-info__item-title">
  22.                         Застройщик
  23.                     </div>
  24.                     <div class="hero-slider-info__item-value">
  25.                         {{ heroSettings.developer }}
  26.                     </div>
  27.                 </div>
  28.             {% endif %}
  29.             {% if heroSettings.deadline %}
  30.                 <div class="hero-slider-info__deadline">
  31.                     <div class="hero-slider-info__item-title">
  32.                         Срок сдачи
  33.                     </div>
  34.                     <div class="hero-slider-info__item-value">
  35.                         {{ heroSettings.deadline }}
  36.                     </div>
  37.                 </div>
  38.             {% endif %}
  39.             {% if heroSettings.videoLink %}
  40.                 <div class="hero-slider-info__video-link-wrap">
  41.                     <a href="{{ heroSettings.videoLink }}"
  42.                        title="{{ heroSettings.title }}"
  43.                        class="hero-slider-info__video-link"
  44.                        data-fslightbox="hero-slider-video"
  45.                        itemprop="url"
  46.                     >
  47.                         <span class="play-icon">
  48.                             {{ source('_parts/icons/play.svg') }}
  49.                         </span>
  50.                     </a>
  51.                 </div>
  52.             {% endif %}
  53.         </div>
  54.     </div>
  55. </div>