{% load i18n %}
{% load webpush_notifications %}

<footer>
    <div>
        <div class="left-column">
            <div class="first-column">
                <div class="footer_logo"><img class="svg" src="/static/img/svg/LogoWhite.svg"></div>
                <div>
                    {% if not user.user_profile.mailing_on %}
                        <div class="footer_text_sub">{% trans "Подпишись и будь в курсе всех событий, а также получай подарки и бонусы от Trip With Bonus" %}</div>
                        <div class="insert_form">
                            {% include "forms/f_one_field_form.html" %}
                        </div>
                    {% endif %}

                </div>

                <div class="social_media_footer">
                    <a href="https://instagram.com/trip_with_bonus" target="_blank"><img class="svg" src="/static/img/svg/Instagram.svg"></a>
                    <a href="https://www.facebook.com/share/p/tckdLFiyXm9r2925/?mibextid=WC7FNe" target="_blank"><img class="svg" src="/static/img/svg/facebook.svg"></a>
                    <a href="https://vk.com/club226251027" target="_blank"><img class="svg" src="/static/img/svg/vk.svg"></a>
                    <a href="https://www.tiktok.com/@.twb23?_t=8kfJPQC4LdV" target="_blank"><img class="svg" src="/static/img/svg/tiktok.svg"></a>
                    <a href="https://youtube.com/@twb-bonus?si=k_YFiY86vBdvvHFN" target="_blank"><img class="svg" src="/static/img/svg/Youtube.svg"></a>
                </div>
          </div>
            <div class="second-column">
                    <div class="footer_text_inform">{% trans "Информация" %}</div>
                    <div>
                          <div class="footer_static_links">
                            <div><a href="{% url 'profile_page' 'create_route_for_mover' %}">{% trans "Перевезти посылку" %}</a></div>
                            <div><a href="{% url 'profile_page' 'create_route_for_customer' %}">{% trans "Отправить посылку" %}</a></div>
                            <div><a href="{% url 'static_page' 'for_customers' %}">{% trans "Для отправителя" %}</a></div>
                            <div><a href="{% url 'static_page' 'for_movers' %}">{% trans "Для перевозчика" %}</a></div>
                          </div>
                    </div>
            </div>
        </div>

        <div class="right-column">
              <div class="third-column">
                <div><a href="{% url "static_page" "about_service" %}">{% trans "О Trip With Bonus" %}</a></div>
                <div><a href="{% url "articles" %}">{% trans "Новости" %}</a></div>
                <div><a href="{% url "static_page" "partners" %}">{% trans "Партнерам" %}</a></div>
                <div><a href="{% url 'static_page' 'advertisement' %}">{% trans "Реклама" %}</a></div>
                <div><a href="{% url 'static_page' 'customer_service' %}">{% trans "Служба поддержки" %}</a></div>
                <div id="f_contacts"><a href="{% url 'static_page' 'contacts' %}">{% trans "Контакты" %}</a></div>
              </div>

              <div class="four-column">
                <div class="footer_text_inform">{% trans "Свяжитесь с нами:" %}</div>
                <div class="footer_text_contact">
{#                  <div>#}
{#                      <a href="tel:+77777777777">+ 7 (777) 777-77-77</a>#}
{#                  </div>#}
                  <div>
                      <a href="mailto:sales@tripwb.com">sales@tripwb.com</a>
                  </div>
                  <div>
                      <a href="mailto:support@tripwb.com">support@tripwb.com</a>
                  </div>
                </div>
              </div>

              {% if not user.is_authenticated %}
                  <div class="fifth-column">
                      <a
                              class="fifth-column-first"
                              onclick="ym(97070898,'reachGoal','reg_button_footer'); return true"
                              href="{% url "registration_page" %}">{% trans "Регистрация" %}</a>
                      <a href="{% url "login_profile" %}">{% trans "Войти" %}</a>
                  </div>
              {% endif %}


        </div>
        <div class="clear_both"></div>
        <div style="text-align: left; color: #FFF !important;">{% webpush_button %}</div>
    </div>


    <div class="second-footer">
      <div>
          

          <div class="sf_1_column">Copyright © 2023-{% now "Y" %}. {% trans "Все права защищены." %}</div>

          <div class="sf_2_column">
              <a href="/{{ request.LANGUAGE_CODE }}/info_page/publichnaya-oferta/">{% trans "Публичная оферта" %}</a>
          </div>

          <div class="sf_3_column">
              <a href="/{{ request.LANGUAGE_CODE }}/info_page/politika-konfidencialnosti/">{% trans "Политика конфиденциальности" %}</a>
          </div>

          <div class="sf_4_column">
              <a href="/{{ request.LANGUAGE_CODE }}/info_page/pravila-polzovaniya-servisom/">{% trans "Правила пользования сервисом" %}</a>
          </div>

      </div>
    </div>

  </footer>