{% set jivoOpenTrue = true %}
{% set hours = 'now'|date('H') %}
{% if hours >= 8 and hours < 22 %}
{% set jivoOpenTrue = true %}
{% else %}
{% set jivoOpenTrue = false %}
{% endif %}
<div id="jivosite_modal_mobile" class="modal new sf-font">
<div class="modal-dialog m-0 position-fixed bottom-0 w-100">
<div class="modal-content py-3 border-0">
<div class="modal-header border-0 p-0">
<p class="m-0 px-2 align-self-center pl-3 pt-2">Задать вопрос Сливкам<br/>Поддержка 8:00-22:00</p>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true"><i class="slivki-icon-close-thin"></i></span>
</button>
</div>
<div class="col w-100 ">
{% if jivoOpenTrue %}
<a href="javascript:jivo_api.open()" class="d-flex my-3">
<img width="40" height="40" src="/images/messenger_violet.png">
<p class="m-0 px-2 align-self-center">Мессенджер Slivki.by</p>
</a>
{% endif %}
<a href="viber://pa?chatURI=slivkiby" class="d-flex my-3" target="_blank" onclick="ym(20933521,'reachGoal','vb-click-support')">
<img width="40" height="40" src="/images/social/viber.png">
<p class="m-0 px-2 align-self-center">Viber</p>
</a>
<a href="https://t.me/Slivkihelp_bot" class="d-flex my-3" target="_blank" onclick="ym(20933521,'reachGoal','tg-click-support')">
<img width="40" height="40" src="/images/social/telegram.png">
<p class="m-0 px-2 align-self-center">Telegram</p>
</a>
<a href="https://www.instagram.com/slivkiby/?hl=ru" class="d-flex my-3" target="_blank" onclick="ym(20933521,'reachGoal','insta-click-support')">
<img width="40" height="40" src="/images/social/instagram.png">
<p class="m-0 px-2 align-self-center">Instagram</p>
</a>
</div>
</div>
</div>
</div>