Files
dragonroll/frontend/app/services/WindowDefinitions.js
Aran Roig c7aac117c7
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 34s
More things work now
2026-04-27 00:42:14 +02:00

41 lines
1.0 KiB
JavaScript

import { ClearWindow, GetFirstWindowId } from './Windows'
/*
Put here all dragonroll windows
*/
const defWindows = {
example: {
title: 'windows.example',
component: () => import('~/components/windows/ExampleWindow.vue'),
},
login: {
title: 'windows.login',
movable: false,
component: () => import('~/components/windows/LoginWindow.vue'),
},
register: {
title: 'windows.register',
movable: false,
component: () => import('~/components/windows/RegisterWindow.vue'),
},
main_menu: {
title: 'windows.main-menu',
component: () => import('~/components/windows/MainMenuWindow.vue'),
},
edit_profile: {
title: "windows.edit-profile",
component: () => import('~/components/windows/EditProfileWindow.vue'),
close: () => ClearWindow({type: 'edit_profile'}),
movable: true
},
settings: {
title: "windows.settings",
component: () => import('~/components/windows/SettingsWindow.vue'),
close: () => ClearWindow({type: 'settings'}),
movable: true
}
}
export {
defWindows
}