Pubilc site basically complete, apps are reasonable but could be better looking

This commit is contained in:
metacryst
2025-11-18 06:22:02 -06:00
parent 7f85dbe493
commit 81ca35bf2f
11 changed files with 169 additions and 70 deletions

View File

@@ -24,7 +24,11 @@ class NavBar extends Shadow {
})
.onClick(function (done) {
if(done) {
window.navigateTo(normalizeText(this.innerText))
if(!isSelected(this)) {
window.navigateTo(normalizeText(this.innerText))
} else {
window.navigateTo("/")
}
}
})
@@ -34,6 +38,7 @@ class NavBar extends Shadow {
HStack(() => {
this.NavButton("WHY?")
this.NavButton("EVENTS")
div().width(2.5, em).height(2.5, em)
this.NavButton("JOIN")
this.NavButton("SIGN IN")
})
@@ -43,8 +48,7 @@ class NavBar extends Shadow {
.justifyContent("center")
.gap(3, em)
.paddingRight(2, em)
.onNavigate(() => {
})
.width(50, vw)
}
}