From f50c072d657a20941a2a73dff812be0485113739 Mon Sep 17 00:00:00 2001 From: Mathias Date: Wed, 3 Jun 2026 22:49:14 +0200 Subject: [PATCH] fix(web): add Log out to the persistent nav header Logout was only reachable from /welcome. Users who are logged in had no way to sign out from any app page (list, detail, account). Added to the shared nav alongside Account. --- internal/web/views.templ | 2 +- internal/web/views_templ.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/web/views.templ b/internal/web/views.templ index a25f1ee..6dff84a 100644 --- a/internal/web/views.templ +++ b/internal/web/views.templ @@ -22,7 +22,7 @@ templ Layout(title string) {
Tapir - +
{ children... } diff --git a/internal/web/views_templ.go b/internal/web/views_templ.go index 3ed678c..b1d67dd 100644 --- a/internal/web/views_templ.go +++ b/internal/web/views_templ.go @@ -59,7 +59,7 @@ func Layout(title string) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "
Tapir
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "
Tapir
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err }