16 lines
532 B
Twig
16 lines
532 B
Twig
<nav class="burger-menu-nav">
|
|
<ul class="burger-menu-nav__list">
|
|
{{ _self.nav_item('Test1', '#test1', 'list') }}
|
|
{{ _self.nav_item('Test2', '#test2', 'list') }}
|
|
{{ _self.nav_item('Test3', '#test3', 'list') }}
|
|
</ul>
|
|
</nav>
|
|
|
|
{% macro nav_item(name, href, icon) %}
|
|
<li class="burger-menu-nav__item">
|
|
<a class="burger-menu-nav__link" href="{{ href }}">
|
|
<twig:ux:icon name="ph:{{ icon }}" />
|
|
<span class="flex-1">{{ name }}</span>
|
|
</a>
|
|
</li>
|
|
{% endmacro %}
|