templates/_parts/footer/footer.html.twig line 1

Open in your IDE?
  1. {% set class = class|default("") %}
  2. <footer class="footer {{ class }}" id="footer" data-footer>
  3.     <div class="footer__container">
  4.         <div class="footer__top-wrap container container_spacer grid-block">
  5.             <div class="footer__form-wrap">
  6.                 <div class="footer__title h2 text__black-text">
  7.                     Получите бесплатную консультацию
  8.                 </div>
  9.                 {% include "_parts/footer/footer-form.html.twig" with {
  10.                     'class': 'footer'
  11.                 } %}
  12.                 <ul class="footer__files-list">
  13.                     {% set documents = get_documents()|default([]) %}
  14.                     {% if documents is defined %}
  15.                         {% for document in documents %}
  16.                             <li class="footer__file-item">
  17.                                 <a href="{{ vich_uploader_asset(document, 'documentFile') }}"
  18.                                    class="footer__file-link link-icon"
  19.                                    download="{{ document.documentName }}"
  20.                                 >
  21.                                     <span class="footer__link-svg link-icon__icon">
  22.                                         {% include '_parts/icons/icon-document.svg' %}
  23.                                     </span>
  24.                                     <span class="footer__link-svg-two link-icon__icon-two">
  25.                                         {% include '_parts/icons/icon-document-two.svg' %}
  26.                                     </span>
  27.                                     <span class="link-icon__text text__grey03">
  28.                                         {{ document }}
  29.                                     </span>
  30.                                 </a>
  31.                             </li>
  32.                         {% endfor %}
  33.                     {% endif %}
  34.                 </ul>
  35.                 <p class="footer__public-offer text__public-offer">
  36.                     Любая информация, представленная на данном сайте, носит исключительно информационный характер и ни при каких условиях не является публичной офертой, определяемой положениями статьи 437 ГК РФ. Визуализации объекта являются ориентировочными. Представленные на сайте графические изображения многоквартирного дома, придомовой территории, объектов жилой и коммерческой недвижимости являются ориентировочными и могут отличаться от фактических проектных решений, реализуемых застройщиком.
  37.                 </p>
  38.             </div>
  39.             <div class="footer__contacts">
  40.                 <div class="footer__logo-wrap">
  41.                     {% include "_parts/icons/kssk-logo.svg" %}
  42.                 </div>
  43.                 <div class="footer__phone-email-wrap">
  44.                     {% if settings().phone %}
  45.                         <div class="footer__phone-wrap">
  46.                             <a href="tel:{{ settings().phone|tel }}" class="footer__phone h3 text__black-text"
  47.                                data-goal-yandex-click="{{ settings().clickPhoneGoal }}"
  48.                                data-goal-vk-click="{{ settings().clickPhoneGoal }}"
  49.                             >
  50.                                 {{ settings().phone }}
  51.                             </a>
  52.                         </div>
  53.                     {% endif %}
  54.                     {% if settings().email %}
  55.                         <div class="footer__email-wrap">
  56.                             <a href="mailto:{{ settings().email }}" class="footer__email text__main text__black-text">
  57.                                 {{ settings().email }}
  58.                             </a>
  59.                         </div>
  60.                     {% endif %}
  61.                 </div>
  62.                 <div class="footer__info-wrap">
  63.                     <ul class="footer__schedule-list">
  64.                         {% if settings().weekDays %}
  65.                             <li class="footer__schedule-item text__small text__grey03">
  66.                                 {{ settings().weekDays }}
  67.                             </li>
  68.                         {% endif %}
  69.                         {% if settings().weekEnds %}
  70.                             <li class="footer__schedule-item text__small text__grey03">
  71.                                 {{ settings().weekEnds }}
  72.                             </li>
  73.                         {% endif %}
  74.                     </ul>
  75.                     {% if settings().address %}
  76.                         <div class="footer__address text__small text__grey03">
  77.                             {{ settings().address }}
  78.                         </div>
  79.                     {% endif %}
  80.                 </div>
  81.                 <div class="footer__social-wrap">
  82.                     {% include "_parts/social-icons.html.twig" %}
  83.                 </div>
  84.                 <div class="footer__link-wrap">
  85.                     <a href="https://kvartiry.kssk.ru/" class="link">
  86.                         <span class="link__inner">
  87.                             <span class="link__title-wrap">
  88.                                 <span class="link__title">Перейти на сайт КССК</span>
  89.                                 <span class="link__title link__title_duplicate">Перейти на сайт КССК</span>
  90.                             </span>
  91.                             <span class="link__arrow">{% include '_parts/icons/arrow-mini.svg' %}</span>
  92.                         </span>
  93.                     </a>
  94.                 </div>
  95.             </div>
  96.         </div>
  97.         <div class="footer__line-wrap">
  98.             <div class="footer__bottom-wrap container container_spacer">
  99.                 <div class="footer__bottom-inner-wrap">
  100.                     <div class="footer__copy text__small text__grey03">
  101.                         ©{{ 'now'|date("Y") }} Все права защищены
  102.                     </div>
  103.                     {% if vich_uploader_asset(settings(), 'policyFile') %}
  104.                         <a href="{{ vich_uploader_asset(settings(), 'policyFile') }}"
  105.                            class="footer__policy text__small text__grey03" target="_blank">
  106.                             Политика конфиденциальности
  107.                         </a>
  108.                     {% endif %}
  109.                 </div>
  110.                 <a href="https://rclass.pro/" class="footer__rclass text__small text__grey03" target="_blank">
  111.                     Сделано в
  112.                     <span class="footer__rclass-link text__main01">
  113.                     R.class
  114.                 </span>
  115.                 </a>
  116.             </div>
  117.         </div>
  118.         {% include '_parts/pattern.html.twig' %}
  119.     </div>
  120. </footer>