starting to fix mobile
This commit is contained in:
33
ui/mobile/Home.js
Normal file
33
ui/mobile/Home.js
Normal 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)
|
||||
Reference in New Issue
Block a user