An open-source, self-hosted system for apps built with web technologies.
Create desktop layer structure
zohayrslilehbd43c20de4f7
diff --git a/source/client/view2/structure/desktop/desktop.tsx b/source/client/view2/structure/desktop/desktop.tsxindex e2d1501..24f5409 100644--- a/source/client/view2/structure/desktop/desktop.tsx+++ b/source/client/view2/structure/desktop/desktop.tsx@@ -1,4 +1,22 @@+import Wallpaper from "./wallpaper/wallpaper"+import UnderWindows from "./under-windows/under-windows"+import Windows from "./windows/windows"+import OverWindows from "./over-windows/over-windows"+import Taskbar from "./taskbar/taskbar"+export default function () {- return null+ return <div className="grid grid-rows-5 p-3">++ <Wallpaper />++ <UnderWindows />++ <Windows />++ <OverWindows />++ <Taskbar />++ </div>}diff --git a/source/client/view2/structure/desktop/over-windows/over-windows.tsx b/source/client/view2/structure/desktop/over-windows/over-windows.tsxnew file mode 100644index 0000000..c16079c--- /dev/null+++ b/source/client/view2/structure/desktop/over-windows/over-windows.tsx@@ -0,0 +1,4 @@+export default function () {++ return <div className="bg-warning/20" />+}diff --git a/source/client/view2/structure/desktop/taskbar/taskbar.tsx b/source/client/view2/structure/desktop/taskbar/taskbar.tsxnew file mode 100644index 0000000..496b4c2--- /dev/null+++ b/source/client/view2/structure/desktop/taskbar/taskbar.tsx@@ -0,0 +1,4 @@+export default function () {++ return <div className="bg-success/20" />+}diff --git a/source/client/view2/structure/desktop/under-windows/under-windows.tsx b/source/client/view2/structure/desktop/under-windows/under-windows.tsxnew file mode 100644index 0000000..5b67d0f--- /dev/null+++ b/source/client/view2/structure/desktop/under-windows/under-windows.tsx@@ -0,0 +1,4 @@+export default function () {++ return <div className="bg-surface/20" />+}diff --git a/source/client/view2/structure/desktop/wallpaper/wallpaper.tsx b/source/client/view2/structure/desktop/wallpaper/wallpaper.tsxnew file mode 100644index 0000000..b6ae23f--- /dev/null+++ b/source/client/view2/structure/desktop/wallpaper/wallpaper.tsx@@ -0,0 +1,4 @@+export default function () {++ return <div className="bg-background" />+}diff --git a/source/client/view2/structure/desktop/windows/windows.tsx b/source/client/view2/structure/desktop/windows/windows.tsxnew file mode 100644index 0000000..d53cd37--- /dev/null+++ b/source/client/view2/structure/desktop/windows/windows.tsx@@ -0,0 +1,4 @@+export default function () {++ return <div className="bg-accent/20" />+}