<template>
  <h1 v-if="page" class="sr-only">{{ page.content.title }}</h1>
  <div class="with-sidebar">
    <Menu />
    <RouterView />
  </div>
</template>

<script setup>
import { storeToRefs } from "pinia";
import Menu from "./components/Menu.vue";
import { usePageStore } from "./stores/page";

const { page } = storeToRefs(usePageStore());
</script>
