From 925041ef29dc93b8f31641b2ee3a92dd5eca6f42 Mon Sep 17 00:00:00 2001 From: Tim Wundenberg Date: Tue, 19 Nov 2024 22:25:21 +0100 Subject: [PATCH] feat(security): #263 securtiy options for htmx --- template/layout.templ | 78 ++++++++++++++++++++++++------------------- 1 file changed, 43 insertions(+), 35 deletions(-) diff --git a/template/layout.templ b/template/layout.templ index ad163a4..a379ec8 100644 --- a/template/layout.templ +++ b/template/layout.templ @@ -1,40 +1,48 @@ package template templ Layout(slot templ.Component, user templ.Component, environment string) { - - - - - ME-FIT - - - - if environment == "prod" { - + + + + + + ME-FIT + + + + if environment == "prod" { + + } + + + + + + +
+
+ + ME-FIT logo + ME-FIT + + @user +
+
+ if slot != nil { + @slot } - - - - -
-
- - ME-FIT logo - ME-FIT - - @user -
-
- if slot != nil { - @slot - } -
-
-
- -
- - +
+
+
+ +
+ + + }