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

This commit is contained in:
2026-02-10 12:07:44 -05:00
parent 980d99e40b
commit dc9f51c04f
28 changed files with 464 additions and 104 deletions

View File

@@ -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 }

View File

@@ -150,6 +150,10 @@ struct UserProfileForm: HTML, Sendable {
.attributes(.class("btn-block"))
}
.attributes(
.hx.pushURL("/projects"),
when: signup == true
)
}
}
}