2024-07-11 12:42:29 +02:00
|
|
|
<template>
|
2024-09-17 17:03:13 +02:00
|
|
|
<h1 v-if="page" class="sr-only">{{ page.content.title }}</h1>
|
|
|
|
|
<div class="with-sidebar">
|
|
|
|
|
<Menu />
|
2024-09-17 17:22:58 +02:00
|
|
|
<RouterView />
|
2024-09-17 17:03:13 +02:00
|
|
|
</div>
|
2024-07-11 12:42:29 +02:00
|
|
|
</template>
|
|
|
|
|
|
2024-07-10 18:43:46 +02:00
|
|
|
<script setup>
|
2024-09-10 12:09:53 +02:00
|
|
|
import { storeToRefs } from "pinia";
|
2024-09-17 17:03:13 +02:00
|
|
|
import Menu from "./components/Menu.vue";
|
|
|
|
|
import { usePageStore } from "./stores/page";
|
2024-07-10 16:10:33 +02:00
|
|
|
|
2024-09-17 17:03:13 +02:00
|
|
|
const { page } = storeToRefs(usePageStore());
|
2024-07-10 16:10:33 +02:00
|
|
|
</script>
|