Bot commit: Добавлен файл templates/components/share.html

This commit is contained in:
Vladislav 2026-06-30 19:13:51 -04:00
parent b18032cf42
commit 98d19ef69e

View File

@ -0,0 +1,5 @@
{% macro share(link='', text='', image='', imagetext='') %}
<span id="shareBtn" data-imagetext="{{imagetext}}" style="display:flex;align-items:center;gap:5px;z-index: 2;color: #5f1798;" data-image="{{image}}" data-link="{{link}}" data-text="{{text}}">
Поделиться <img src="/static/share.svg" alt="share" crossorigin="anonymous" fetchpriority="high" loading="eager" />
</span>
{% endmacro %}