starting to fix mobile

This commit is contained in:
metacryst
2026-01-15 04:35:01 -06:00
parent d6d53aa4a5
commit b2bf4da13a
21 changed files with 172 additions and 1204 deletions

33
ui/mobile/Home.js Normal file
View File

@@ -0,0 +1,33 @@
import "./components/AppMenu.js"
import "./apps/Dashboard/Dashboard.js"
import "./apps/People/People.js"
class Home extends Shadow {
render() {
ZStack(() => {
ZStack(() => {
console.log(window.currentApp)
switch(window.currentApp) {
case "Dashboard":
Dashboard()
break;
case "People":
People()
break;
}
})
.onNavigate(function () {
console.log("navigate")
this.rerender()
})
AppMenu()
})
.overflowX("hidden")
}
}
register(Home)