feat: Adds logout route and switches user navbar item to dropdown menu.
This commit is contained in:
@@ -14,7 +14,8 @@ struct HomeView: HTML, Sendable {
|
||||
.class("btn btn-ghost btn-secondary text-lg"),
|
||||
.hx.get(route: .login(.index())),
|
||||
.hx.target("body"),
|
||||
.hx.swap(.outerHTML)
|
||||
.hx.swap(.outerHTML),
|
||||
.hx.pushURL(true)
|
||||
) {
|
||||
"Login"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user