Compare commits

..

2 Commits

Author SHA1 Message Date
8eca0940dd Fix error pages 2024-07-12 07:15:06 +02:00
45e6a6f32a Use hx-* attributes 2024-07-12 07:15:06 +02:00

View File

@ -13,7 +13,7 @@ templ Header() {
if ctx.Value(c.SessionContextKey) != nil { if ctx.Value(c.SessionContextKey) != nil {
<button hx-get="/user">user</button> <button hx-get="/user">user</button>
} else { } else {
<button hx-get="/signup">signup</button> <button hx-get="/login">login</button>
} }
</div> </div>
</nav> </nav>