successfully connecting to prod

This commit is contained in:
metacryst
2026-03-17 07:00:27 -05:00
parent 530ea7da89
commit d1e4814593
7 changed files with 43 additions and 31 deletions

View File

@@ -1,19 +1,21 @@
import util from "../util.js"
class TopBar extends Shadow {
render() {
HStack(() => {
img(`/db/images/${global.currentNetwork.logo}`, "2.5em", "2.5em")
.borderRadius("50", pct)
.objectFit("cover")
.padding(0.3, em)
.background("var(--accent)")
.onTouch(function (start) {
if(start) {
this.style.scale = "0.8"
} else if(start === false) {
this.style.scale = ""
$("sidebar-").toggle()
}
})
img(`${util.HOST}/db/images/${global.currentNetwork.logo}`, "2.5em", "2.5em")
.borderRadius("50", pct)
.objectFit("cover")
.padding(0.3, em)
.background("var(--accent)")
.onTouch(function (start) {
if(start) {
this.style.scale = "0.8"
} else if(start === false) {
this.style.scale = ""
$("sidebar-").toggle()
}
})
p(global.currentApp())
.color("var(--headertext)")