fixes(frontend): Made the overlay transparent & redirect on login

The overlay that is used when the menubar is used is now actually
transparent

When logging in, actually always redirect to somewhere
(if not asked -> redirect to /)
This commit is contained in:
Maieul BOYER 2025-12-12 15:42:28 +01:00
parent 762796417a
commit 4a56c92667
No known key found for this signature in database
3 changed files with 29 additions and 17 deletions

View file

@ -17,8 +17,8 @@
<span class="arrow back">&lt;</span>
</button>
<div id="header-title" class="text-white text-lf text-semibold ps-4 shadow-md font-mono"></div>
<div class="text-white text-lf ps-4 font-mono"> </div>
</header>
<div class="text-white text-lf ps-4 font-mono"> </div>
</header>
<!-- Sidebar -->
<aside id="sidebar"
@ -34,9 +34,11 @@
</nav>
</aside>
<div class="fixed top-0 left-0 opacity-40" hidden> <!-- >this is used so tailwind create the class styles... -->
</div>
<!-- Overlay -->
<div id="overlay"
class="fixed top-14 left-0 right-0 bottom-0 bg-black bg-opacity-40 opacity-0 pointer-events-none transition-opacity duration-300 z-30">
class="fixed top-14 left-0 right-0 bottom-0 bg-black opacity-0 pointer-events-none transition-opacity duration-300 z-30">
</div>
<!-- Main content -->