2023-05-25 17:11:37 +02:00
|
|
|
<script setup lang="ts">
|
2023-05-25 20:59:33 +02:00
|
|
|
import { useAuth } from './composables/useAuth';
|
2023-05-25 17:11:37 +02:00
|
|
|
import NavMenu from './components/ui/NavMenu.vue';
|
2023-05-25 20:59:33 +02:00
|
|
|
|
|
|
|
const { userLoadingFinished } = useAuth();
|
2023-05-25 17:11:37 +02:00
|
|
|
</script>
|
|
|
|
|
2023-05-23 08:19:09 +02:00
|
|
|
<template>
|
|
|
|
<v-app>
|
2023-05-25 17:11:37 +02:00
|
|
|
<NavMenu />
|
2023-05-23 08:19:09 +02:00
|
|
|
<v-main>
|
2023-05-25 20:59:33 +02:00
|
|
|
<section
|
|
|
|
v-if="!userLoadingFinished"
|
|
|
|
class="w-100 h-100 pb-4 d-flex justify-center align-center"
|
|
|
|
>
|
|
|
|
<v-progress-circular
|
|
|
|
:size="100"
|
|
|
|
:width="7"
|
|
|
|
color="indigo"
|
|
|
|
indeterminate
|
|
|
|
></v-progress-circular>
|
|
|
|
</section>
|
|
|
|
<RouterView v-show="userLoadingFinished" />
|
2023-05-23 08:19:09 +02:00
|
|
|
</v-main>
|
|
|
|
</v-app>
|
|
|
|
</template>
|