diff --git a/.env.sample b/.env.sample index 234f37fa..892278b1 100644 --- a/.env.sample +++ b/.env.sample @@ -1,2 +1,2 @@ -VITE_EVENTS_REST_API=https://test.buggregator.dev/ -VITE_EVENTS_WS_API=wss://test.buggregator.dev/connection/websocket \ No newline at end of file +VITE_EVENTS_REST_API=https://test.buggregator.dev +VITE_EVENTS_WS_API=wss://test.buggregator.dev/connection/websocket diff --git a/components/LayoutSidebar/LayoutSidebar.vue b/components/LayoutSidebar/LayoutSidebar.vue index 787e03cf..c474519e 100644 --- a/components/LayoutSidebar/LayoutSidebar.vue +++ b/components/LayoutSidebar/LayoutSidebar.vue @@ -17,7 +17,11 @@ - + @@ -32,6 +36,10 @@ + +
+ {{ appVersion }} +
@@ -39,6 +47,7 @@ @@ -57,7 +82,7 @@ export default defineComponent({ } .layout-sidebar__nav { - @apply divide-y divide-gray-300 dark:divide-gray-600 sticky top-0; + @apply divide-y divide-gray-300 dark:divide-gray-600 sticky top-0 h-screen max-h-screen; } .layout-sidebar__link { @@ -68,6 +93,10 @@ export default defineComponent({ } } +.layout-sidebar__nav-version { + @apply flex justify-center text-xs dark:text-gray-400 p-2 absolute bottom-0 left-0 right-0; +} + .layout-sidebar__link-icon { @apply fill-current; } diff --git a/nuxt.config.ts b/nuxt.config.ts index 2e0457e0..8e7272c2 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -1,4 +1,6 @@ import {defineNuxtConfig} from "nuxt/config"; +import pkg from './package.json'; + // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ target: 'static', @@ -55,4 +57,9 @@ export default defineNuxtConfig({ host: '127.0.0.1', url: 'http://127.0.0.1:3000', }, + runtimeConfig: { + public: { + version: pkg.version, + } + } });