feat: Updates tests to include home page snapshot test, updates TODO's.
All checks were successful
CI / Linux Tests (push) Successful in 5m52s
All checks were successful
CI / Linux Tests (push) Successful in 5m52s
This commit is contained in:
@@ -4,6 +4,16 @@ import ElementaryHTMX
|
||||
struct HomeView: HTML, Sendable {
|
||||
|
||||
var body: some HTML {
|
||||
div(.class("flex justify-end me-4")) {
|
||||
button(
|
||||
.class("btn btn-ghost btn-secondary text-lg"),
|
||||
.hx.get(route: .login(.index())),
|
||||
.hx.target("body"),
|
||||
.hx.swap(.outerHTML)
|
||||
) {
|
||||
"Login"
|
||||
}
|
||||
}
|
||||
div(.class("hero min-h-screen")) {
|
||||
div(
|
||||
.class(
|
||||
|
||||
Reference in New Issue
Block a user