Pubilc site basically complete, apps are reasonable but could be better looking
This commit is contained in:
@@ -1,6 +1,32 @@
|
||||
class SignIn extends Shadow {
|
||||
render() {
|
||||
css(`
|
||||
signin- input::placeholder {
|
||||
color: var(--accent)
|
||||
}
|
||||
`)
|
||||
|
||||
class SignIn extends Shadow {
|
||||
|
||||
inputStyles(el) {
|
||||
console.log(el)
|
||||
return el
|
||||
.border("1px solid var(--accent)")
|
||||
}
|
||||
|
||||
render() {
|
||||
ZStack(() => {
|
||||
form(() => {
|
||||
input("Email")
|
||||
.attr({name: "email", type: "email"})
|
||||
.styles(this.inputStyles)
|
||||
input("Password")
|
||||
.attr({name: "password", type: "password"})
|
||||
.styles(this.inputStyles)
|
||||
button("Submit")
|
||||
})
|
||||
.attr({action: "/login", method: "POST"})
|
||||
.x(50, vw).y(50, vh)
|
||||
.center()
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user