toggle menu nav principale

This commit is contained in:
Valentin
2024-07-29 23:39:35 +02:00
parent 3bd3d32e8a
commit c9ff3e45d7
3 changed files with 273 additions and 143 deletions

View File

@@ -36,7 +36,8 @@
#}
{% set heading_id = attributes.id ~ '-menu'|clean_id %}
<nav role="navigation" aria-labelledby="{{ heading_id }}"{{ attributes|without('role', 'aria-labelledby') }}>
<div>
<div id="menu-title"><p>Menu</p></div>
<div id="menu">
{# Label. If not displayed, we still provide it for screen readers. #}
{% if not configuration.label_display %}
{% set title_attributes = title_attributes.addClass('visually-hidden') %}