diff --git a/src/consts/asset.js b/src/consts/asset.js new file mode 100644 index 00000000..a503f0ce --- /dev/null +++ b/src/consts/asset.js @@ -0,0 +1,6 @@ +const baseImagePath = '/img'; +const ezBookkeepingLogoPath = baseImagePath + '/ezbookkeeping-192.png'; + +export default { + ezBookkeepingLogoPath: ezBookkeepingLogoPath +} diff --git a/src/views/desktop/LoginPage.vue b/src/views/desktop/LoginPage.vue index c4d16b80..e21c0cb5 100644 --- a/src/views/desktop/LoginPage.vue +++ b/src/views/desktop/LoginPage.vue @@ -2,7 +2,7 @@
@@ -164,6 +164,7 @@ import { useRootStore } from '@/stores/index.js'; import { useSettingsStore } from '@/stores/setting.js'; import { useExchangeRatesStore } from '@/stores/exchangeRates.js'; +import assetConstants from '@/consts/asset.js'; import { isUserRegistrationEnabled } from '@/lib/server_settings.js'; import { @@ -197,6 +198,9 @@ export default { }, computed: { ...mapStores(useRootStore, useSettingsStore, useExchangeRatesStore), + ezBookkeepingLogoPath() { + return assetConstants.ezBookkeepingLogoPath; + }, version() { return 'v' + this.$version; }, diff --git a/src/views/desktop/MainLayout.vue b/src/views/desktop/MainLayout.vue index 12a067b6..f77270bc 100644 --- a/src/views/desktop/MainLayout.vue +++ b/src/views/desktop/MainLayout.vue @@ -5,7 +5,7 @@