Implement dashboard skeleton

This commit is contained in:
Jas Singh
2024-07-03 16:56:59 -07:00
parent f0366f3186
commit ce54b7a6d8
12 changed files with 192 additions and 9 deletions

View File

@@ -0,0 +1,37 @@
import PopupWindow from "../PopupWindow.js";
import { Profile } from "./profile/index.js";
import { Shortcuts } from "./shortcuts/index.js";
import { Controls } from "./controls/index.js";
import { Stats } from "./stats/index.js";
export default () => {
return PopupWindow({
name: "dashboardmenu",
visible: false,
transition: "crossfade",
layout: "top-left",
child: Widget.Box({
class_name: "dashboard-menu-content",
css: "padding: 1px; margin: -1px;",
vexpand: false,
children: [
Widget.Box({
class_name: "dashboard-content-container",
vertical: true,
children: [
Widget.Box({
class_name: "dashboard-content-items",
vertical: true,
children: [
Profile(),
Shortcuts(),
Controls(),
Stats(),
],
}),
],
}),
],
}),
});
};