Add event + add job form

- Modified handlers to catch errors
- Added placeholder "No location added", etc. messages to Job/Event cards
- Added EventForm.js and JobForm.js for adding
- EventForm and JobForm are animated to slide up from bottom
- Modified openProfile/closeProfile logic
- Fixed SidebarItem().onClick() firing twice bug (switched to .onTap)
- Profile is now animated to slide up from the bottom
This commit is contained in:
2026-03-19 15:32:51 -04:00
parent 8dd2312aa0
commit 58589c56dd
11 changed files with 532 additions and 151 deletions

View File

@@ -16,7 +16,6 @@ class AppWindowContainer extends Shadow {
.gap(0)
Profile()
.display("none")
.zIndex(3)
})
.height(100, pct)
@@ -26,11 +25,13 @@ class AppWindowContainer extends Shadow {
}
openProfile() {
this.$("profile-").display("")
this.$("profile-").top(20, px)
this.$("profile-").pointerEvents("auto")
}
closeProfile() {
this.$("profile-").display("none")
this.$("profile-").top(100, vh)
this.$("profile-").pointerEvents("none")
}
}