Pubilc site basically complete, apps are reasonable but could be better looking
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user