Small edits, fixing bug with app spawning, working on forum page

This commit is contained in:
metacryst
2025-11-20 00:44:42 -06:00
parent 2bc5c00830
commit 30faf12b20
9 changed files with 42 additions and 81 deletions

View File

@@ -43,10 +43,6 @@ class Home extends Shadow {
AppWindow("Market")
AppMenu("Market")
break;
case "/app/tasks":
AppWindow("Tasks")
AppMenu("Tasks")
break;
case "/app/forum":
AppWindow("Forum")
AppMenu("Forum")
@@ -67,7 +63,7 @@ class Home extends Shadow {
.top(5, vh)
.right(2, em)
.background("transparent")
.border(window.location.pathname === "/" ? "1px solid var(--tan)" : "1px solid var(--accent2)")
.border(window.location.pathname === "/" ? "1px solid var(--tan)" : "0.5px solid #bb7c36")
.color(window.location.pathname === "/" ? "var(--tan)" : "var(--accent)")
.borderRadius(5, px)
.onHover(function (hovering) {
@@ -82,7 +78,7 @@ class Home extends Shadow {
this.style.border = "1px solid var(--tan)"
this.style.color = "var(--tan)"
} else {
this.style.border = "1px solid var(--accent2)"
this.style.border = "0.5px solid #bb7c36"
this.style.color = "var(--accent)"
}
})