feat: Adds level field to rooms, updates urls to point to public mirror of the project.
Some checks failed
CI / Linux Tests (push) Failing after 15s
Some checks failed
CI / Linux Tests (push) Failing after 15s
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import Elementary
|
||||
import ElementaryHTMX
|
||||
import ManualDCore
|
||||
import Styleguide
|
||||
|
||||
struct LoginForm: HTML, Sendable {
|
||||
@@ -12,6 +13,13 @@ struct LoginForm: HTML, Sendable {
|
||||
self.next = next
|
||||
}
|
||||
|
||||
private var route: SiteRoute.View {
|
||||
if style == .login {
|
||||
return .login(.index(next: next))
|
||||
}
|
||||
return .signup(.index)
|
||||
}
|
||||
|
||||
var body: some HTML {
|
||||
ModalForm(id: "loginForm", closeButton: false, dismiss: false) {
|
||||
h1(.class("text-2xl font-bold mb-6")) { style.title }
|
||||
|
||||
@@ -150,6 +150,10 @@ struct UserProfileForm: HTML, Sendable {
|
||||
.attributes(.class("btn-block"))
|
||||
|
||||
}
|
||||
.attributes(
|
||||
.hx.pushURL("/projects"),
|
||||
when: signup == true
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user