Small changes and fixes, highlight days on the calendar

This commit is contained in:
2024-07-26 11:58:07 +02:00
parent ff3b22fb1b
commit feee47f464
16 changed files with 296 additions and 144 deletions

View File

@@ -1,28 +1,17 @@
<template>
<Suspense>
<RouterView />
<RouterView class="has-navbar-fixed-top"/>
</Suspense>
</template>
<script setup lang="ts">
import './assets/style.scss'
import './assets/print.css'
import { RouterView } from 'vue-router'
import { watch } from 'vue'
import { getActivePinia } from 'pinia'
const pinia = getActivePinia();
if(pinia != undefined) {
watch(
pinia.state,
(state) => {
// persist the whole state to the local storage whenever it changes
localStorage.setItem('piniaState', JSON.stringify(state))
},
{ deep: true }
);
}
</script>
<style>