WIP: Implement menu/navigation

This commit is contained in:
Björn Fromme committed 2023-09-25 18:02:27 +02:00
1 parent c3c2e1ae2d
commit 3e0353c79b
24 files changed
+475 -92

No files matched your search

+13
View File
@@ -12,3 +12,16 @@
{% endif %}
{% endapply %}
{% endblock %}
{% block spanElement %}
<div class="icon-section" role="button">
{% if item.extras.icon is defined %}
{{ icon(item.extras.icon, 'w-5 h-5') }}
{% if item.extras.icon_only is defined and false == item.extras.icon_only %}
<span class="flex-1">{{ item.label|raw }}</span>
{% endif %}
{% else %}
{{ item.label|raw }}
{% endif %}
</div>
{% endblock %}