Add version footer

This commit is contained in:
2025-07-19 15:11:17 +02:00
parent 5c9c0cde60
commit a7905e4158

View File

@@ -1,5 +1,5 @@
<template>
<div class="flex flex-col size-dvh">
<div class="flex flex-col size-full">
<!-- Navigator here -->
<Menubar
:model="items"
@@ -32,10 +32,13 @@
</div>
</template>
</Menubar>
<main class="app-main pt-[60px]">
<main class="app-main w-full pt-[60px]">
<Toast/>
<RouterView/>
</main>
<footer class="fixed bottom-0 right-0">
v{{ version }}
</footer>
</div>
</template>
@@ -44,6 +47,8 @@ import {ref} from "vue";
import {useRouter} from "vue-router";
import Toast from 'primevue/toast';
import {useAuthStore} from "./stores/auth.ts";
// noinspection ES6UnusedImports Used in template
import { version } from '../package.json'
const authStore = useAuthStore();
const router = useRouter();