mirror of
https://github.com/ubicloud/ubicloud.git
synced 2025-10-07 23:31:58 +08:00
Currently, herb/formatter has at least 4 bugs the prevent us from switching to it (https://github.com/marcoroth/herb/issues 476, 477, 478, and 479). This includes manual fixes for each issue. herb/formatter also introduces a rubocop violation for the Layout/AssignmentIndentation cop. This disables that cop.
35 lines
1 KiB
Text
35 lines
1 KiB
Text
<div
|
|
id="mobile-menu"
|
|
class="relative z-50 hidden group"
|
|
role="dialog"
|
|
aria-modal="true"
|
|
>
|
|
<div
|
|
class="
|
|
fixed inset-0 bg-gray-900/80 transition-opacity ease-linear
|
|
duration-300 opacity-0 group-[.mobile-menu-open]:opacity-100
|
|
"
|
|
></div>
|
|
<div class="fixed inset-0 flex">
|
|
<div
|
|
class="
|
|
relative mr-16 flex w-full max-w-xs flex-1 transition ease-in-out
|
|
duration-300 transform -translate-x-full
|
|
group-[.mobile-menu-open]:translate-x-0
|
|
"
|
|
>
|
|
<div
|
|
class="
|
|
absolute left-full top-0 flex w-16 justify-center pt-5 ease-in-out
|
|
duration-300 opacity-0 group-[.mobile-menu-open]:opacity-100
|
|
"
|
|
>
|
|
<button type="button" class="toggle-mobile-menu -m-2.5 p-2.5">
|
|
<span class="sr-only">Close sidebar</span>
|
|
<%== part("components/icon", name: "hero-x-mark", classes: "h-6 w-6 text-white") %>
|
|
</button>
|
|
</div>
|
|
<%== render("layouts/sidebar/content") %>
|
|
</div>
|
|
</div>
|
|
</div>
|