MustBeLogged component + fix sideBar auto open

This commit is contained in:
Dominic Villemure
2024-08-25 12:08:54 -04:00
parent 3796f6069d
commit 11cddfa94f
5 changed files with 56 additions and 30 deletions

View File

@@ -4,15 +4,12 @@
<Header class="fixed w-full z-50 top-0 p-2"></Header>
<div class="flex flex-row relative">
<div
@mouseenter="openSidebar"
class="fixed h-full w-2 z-20"
style="background: transparent;"
></div>
<transition name="slide-fade">
<div v-show="sideBarStore.visible"
@mouseleave="startCloseSidebarTimer"
@mouseenter="clearCloseSidebarTimer"
class=" fixed h-full min-w-60 border-r-2 bg-white z-30 transition-transform duration-700">
<SideBar></SideBar>
</div>