premier jet animation header

This commit is contained in:
2024-07-09 14:38:50 +02:00
parent d2fbdb7c3c
commit 2672685243
7 changed files with 26 additions and 29 deletions

View File

@@ -38,10 +38,7 @@
{{ content }}
{% for item in items %}
<div class="animated_logo"
{{ item.attributes }}>{{ item.content }}
{% include active_theme_path() ~ '/dist/assets/img/logo_QDD_v2.svg' %}
</div>
<div {{ item.attributes }}>{{ item.content }}</div>
{% endfor %}
{% endblock %}

View File

@@ -34,7 +34,10 @@
{# Set anchor href using paragraph ID #}
{%
set ancre_href = '/'
set ancre_href1 = '/'
%}
{%
set ancre_href = '#paragraph-id--' ~ paragraph.id()
%}
{# Define the SVG icon #}
@@ -429,11 +432,14 @@
{% for item in items %}
<div{{ item.attributes }}>
<a href="{{ ancre_href }}">
<a class='logo-qdd' href="{{ ancre_href1 }}">
{{ svg_icon|raw }}
</a>
{# {{ item.content }} #}
<a clas='other-logo' href="{{ ancre_href }}">
{{ item.content }}
</a>
</div>
{% endfor %}
</div>