More things work now
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 34s

This commit is contained in:
2026-04-27 00:42:14 +02:00
parent 2b07cc98a6
commit c7aac117c7
16 changed files with 607 additions and 59 deletions

View File

@@ -1,9 +1,13 @@
import { ClearWindowsWithType, GetFirstWindowId } from './Windows'
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,
@@ -18,16 +22,18 @@ const defWindows = {
title: 'windows.main-menu',
component: () => import('~/components/windows/MainMenuWindow.vue'),
},
example: {
title: 'windows.example',
component: () => import('~/components/windows/ExampleWindow.vue'),
},
edit_profile: {
title: "windows.edit-profile",
component: () => import('~/components/windows/EditProfileWindow.vue'),
close: () => ClearWindowsWithType(GetFirstWindowId('edit_profile')),
close: () => ClearWindow({type: 'edit_profile'}),
movable: true
},
settings: {
title: "windows.settings",
component: () => import('~/components/windows/SettingsWindow.vue'),
close: () => ClearWindow({type: 'settings'}),
movable: true
}
}
export {