17 lines
438 B
Twig
17 lines
438 B
Twig
|
<nav id="burger-menu-navigation">
|
||
|
<ul>
|
||
|
{{ _self.nav_item('Test1', '#test1', 'bars') }}
|
||
|
{{ _self.nav_item('Test2', '#test2', 'bars') }}
|
||
|
{{ _self.nav_item('Test3', '#test3', 'bars') }}
|
||
|
</ul>
|
||
|
</nav>
|
||
|
|
||
|
{% macro nav_item(name, href, icon) %}
|
||
|
<li>
|
||
|
<a href="{{ href }}">
|
||
|
<twig:ux:icon name="fa6-solid:{{ icon }}" />
|
||
|
<span>{{ name }}</span>
|
||
|
</a>
|
||
|
</li>
|
||
|
{% endmacro %}
|