This commit is contained in:
philipp lang 2025-06-17 01:34:44 +02:00
parent 9f0516ad55
commit 752a5d7c29
1 changed files with 9 additions and 10 deletions

View File

@ -1,9 +1,8 @@
<template> <template>
<v-notification class="fixed z-40 right-0 bottom-0 mb-3 mr-3"></v-notification> <v-notification class="fixed z-40 right-0 bottom-0 mb-3 mr-3" />
<!-- ******************************** Sidebar ******************************** --> <!-- ******************************** Sidebar ******************************** -->
<div <div class="fixed z-40 bg-gray-800 p-6 w-56 top-0 h-screen border-r border-gray-600 border-solid flex flex-col justify-between transition-all"
class="fixed z-40 bg-gray-800 p-6 w-56 top-0 h-screen border-r border-gray-600 border-solid flex flex-col justify-between transition-all"
:class="{ :class="{
'-left-[14rem]': !menuStore.isShifted, '-left-[14rem]': !menuStore.isShifted,
'left-0': menuStore.isShifted, 'left-0': menuStore.isShifted,
@ -29,13 +28,13 @@
<v-link icon="logout" href="/logout" @click.prevent="$inertia.post('/logout')">Abmelden</v-link> <v-link icon="logout" href="/logout" @click.prevent="$inertia.post('/logout')">Abmelden</v-link>
</div> </div>
<a v-if="menuStore.hideable" href="#" class="absolute right-0 top-0 mr-2 mt-2" @click.prevent="menuStore.hide()"> <a v-if="menuStore.hideable" href="#" class="absolute right-0 top-0 mr-2 mt-2" @click.prevent="menuStore.hide()">
<ui-sprite src="close" class="w-5 h-5 text-gray-300"></ui-sprite> <ui-sprite src="close" class="w-5 h-5 text-gray-300" />
</a> </a>
</div> </div>
<slot></slot> <slot />
<page-search-modal v-if="searchVisible" @close="searchVisible = false"></page-search-modal> <page-search-modal v-if="searchVisible" @close="searchVisible = false" />
</template> </template>
<script> <script>