improving styling, fixing bugs with profile, login error handling
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user