<script setup>
import { useStateStore } from 'stores/useStateStore';
import LeftMenu from 'components/LeftMenu.vue';
import VnSubToolbar from 'src/components/ui/VnSubToolbar.vue';

const stateStore = useStateStore();
</script>
<template>
    <!-- Entry searchbar -->
    <QDrawer v-model="stateStore.leftDrawer" show-if-above :width="256">
        <QScrollArea class="fit">
            <!-- EntryDescriptor -->
            <QSeparator />
            <LeftMenu source="card" />
        </QScrollArea>
    </QDrawer>
    <QPageContainer>
        <QPage>
            <VnSubToolbar />

            <div class="q-pa-md"><RouterView></RouterView></div>
        </QPage>
    </QPageContainer>
</template>
