feat: make Nav and Profile menu dynamic

This commit is contained in:
2024-08-05 00:15:28 +02:00
committed by florian_briand
parent aba6c101cb
commit 78bf81c301
13 changed files with 226 additions and 240 deletions

View File

@ -0,0 +1,11 @@
{% for item in items %}
<a
href="#{{ item.id }}"
class="{{ Self::get_classes(self, item.current) }}"
role="menuitem"
tabindex="-1"
id="{{ item.id }}"
>
{{ item.label }}
</a>
{% endfor %}