adasd
All checks were successful
Deploy / deploy-staging (push) Successful in 8s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-06-07 01:30:02 +02:00
parent 0395c790f3
commit 541d411009
2 changed files with 6 additions and 27 deletions

View File

@@ -71,10 +71,12 @@ h1 {
position: relative;
overflow: hidden;
min-height: 100vh;
padding: 24px;
padding: 24px 24px 120px;
}
.desktop-icons {
position: relative;
z-index: 10;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
gap: 16px;
@@ -226,7 +228,7 @@ h1 {
}
.taskbar {
position: absolute;
position: fixed;
left: 24px;
right: 24px;
bottom: 24px;
@@ -261,7 +263,7 @@ h1 {
}
.start-menu {
position: absolute;
position: fixed;
left: 24px;
bottom: 102px;
z-index: 130;

View File

@@ -16,29 +16,6 @@ final class WindowManager
*/
public function defaultWindows(): array
{
$defaults = ['welcome-center', 'public-dashboard'];
$windows = [];
foreach ($defaults as $index => $appId) {
$app = $this->registry->find($appId);
if ($app === null) {
continue;
}
$windows[] = [
'window_id' => 'window-' . $appId,
'app_id' => $appId,
'title' => $app['title'],
'state' => $index === 0 ? 'focused' : 'open',
'x' => 72 + ($index * 48),
'y' => 84 + ($index * 36),
'width' => $app['default_width'] ?? 640,
'height' => $app['default_height'] ?? 420,
'content' => $app['summary'] ?? '',
];
}
return $windows;
return [];
}
}