improving styling, fixing bugs with profile, login error handling

This commit is contained in:
metacryst
2026-03-19 07:41:18 -05:00
parent 3a5214ed45
commit 5a56dfa051
9 changed files with 107 additions and 45 deletions

View File

@@ -33,7 +33,7 @@ class AuthPage extends Shadow {
window.navigateTo("/")
})
HStack(() => {
HStack(() => {
p("Login")
.fontWeight(this.selectedPage === 1 ? "bold" : "normal")
.padding(0.75, em)
@@ -44,7 +44,7 @@ class AuthPage extends Shadow {
this.rerender();
})
p("Signup")
p("Sign Up")
.fontWeight(this.selectedPage === 2 ? "bold" : "normal")
.padding(0.75, em)
.borderRadius(12, px)
@@ -54,6 +54,7 @@ class AuthPage extends Shadow {
this.rerender();
})
})
.fontFamily("Arial")
.padding(0.25, em)
.borderRadius(12, px)
.background("var(--accent)")
@@ -61,7 +62,7 @@ class AuthPage extends Shadow {
.horizontalAlign("center")
.margin("auto")
.marginTop(7.5, em)
.marginBottom(0, em)
.marginBottom(2, em)
.gap(0.5, em)
switch (this.selectedPage) {