successfully connecting to prod
This commit is contained in:
@@ -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)")
|
||||
|
||||
Reference in New Issue
Block a user