r&gt;
        &lt;!-- &lt;Sidebar&gt; Off-canvas menu for mobile, show/hide based on off-canvas menu state. --&gt;
        &lt;div class=&quot;mobile relative z-40 hidden&quot; role=&quot;dialog&quot; aria-modal=&quot;true&quot;&gt;
            ...
            &lt;nav class=&quot;mt-5 px-2 space-y-1&quot;&gt;
            &lt;/nav&gt;
        &lt;/div&gt;
        &lt;!-- Static sidebar for desktop --&gt;
        &lt;div class=&quot;desktop hidden md:flex md:w-64 md:flex-col md:fixed md:inset-y-0&quot