-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathapp.vue
More file actions
26 lines (22 loc) · 724 Bytes
/
app.vue
File metadata and controls
26 lines (22 loc) · 724 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<template>
<VitePwaManifest />
<div class="bg-black fixed w-[calc(100%+1px)] h-full">
<NuxtPage />
<CreatePost
:class="[
{'max-h-[100vh] transition-all duration-200 ease-in visible': userStore.isMenuOverlay },
{'max-h-0 transition-all duration-200 ease-out invisible': !userStore.isMenuOverlay },
]"
/>
<Modal
:class="[
{'max-h-[100vh] transition-all duration-200 ease-in visible': userStore.isLogoutOverlay },
{'max-h-0 transition-all duration-200 ease-out invisible': !userStore.isLogoutOverlay },
]"
/>
</div>
</template>
<script setup>
import { useUserStore } from '~/stores/user';
const userStore = useUserStore()
</script>