1, 4: Fixing 404 after logged out, adding market entry
This commit is contained in:
@@ -8,21 +8,20 @@ class Home extends Shadow {
|
||||
|
||||
render() {
|
||||
ZStack(() => {
|
||||
img("_/icons/logo.svg", "2.5em")
|
||||
img("/_/icons/logo.svg", "2.5em")
|
||||
.position("fixed")
|
||||
.left("3em")
|
||||
.top("3vh")
|
||||
.zIndex(3)
|
||||
// .onClick(() => {
|
||||
// window.navigateTo("/")
|
||||
// this.rerender()
|
||||
// })
|
||||
.onClick(() => {
|
||||
window.navigateTo("/")
|
||||
})
|
||||
|
||||
div()
|
||||
.width(100, vw)
|
||||
.height(100, vh)
|
||||
.margin("0px")
|
||||
.backgroundImage("url('_/images/the_return.webp')")
|
||||
.backgroundImage("url('/_/images/the_return.webp')")
|
||||
.backgroundSize("cover")
|
||||
.backgroundPosition("48% 65%")
|
||||
.backgroundRepeat("no-repeat")
|
||||
@@ -69,7 +68,6 @@ class Home extends Shadow {
|
||||
}
|
||||
})
|
||||
.onNavigate(function () {
|
||||
console.log("navigate")
|
||||
if(window.location.pathname === "/") {
|
||||
this.style.border = "1px solid var(--tan)"
|
||||
this.style.color = "var(--tan)"
|
||||
|
||||
Reference in New Issue
Block a user