From 9df339e500e064cd1fd01bd0be83e63d48502932 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Wed, 27 Nov 2024 18:31:52 -0500 Subject: [PATCH] refactor: rename layout component to root --- pkg/webapp/components/layout/{layout.templ => root.templ} | 0 .../components/layout/{layout_templ.go => root_templ.go} | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename pkg/webapp/components/layout/{layout.templ => root.templ} (100%) rename pkg/webapp/components/layout/{layout_templ.go => root_templ.go} (98%) diff --git a/pkg/webapp/components/layout/layout.templ b/pkg/webapp/components/layout/root.templ similarity index 100% rename from pkg/webapp/components/layout/layout.templ rename to pkg/webapp/components/layout/root.templ diff --git a/pkg/webapp/components/layout/layout_templ.go b/pkg/webapp/components/layout/root_templ.go similarity index 98% rename from pkg/webapp/components/layout/layout_templ.go rename to pkg/webapp/components/layout/root_templ.go index 08ab09a1a..9f82e8c38 100644 --- a/pkg/webapp/components/layout/layout_templ.go +++ b/pkg/webapp/components/layout/root_templ.go @@ -57,7 +57,7 @@ func Root(title string, remote bool) templ.Component { var templ_7745c5c3_Var2 string templ_7745c5c3_Var2, templ_7745c5c3_Err = templ.JoinStringErrs(title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/layout/layout.templ`, Line: 15, Col: 17} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/layout/root.templ`, Line: 15, Col: 17} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var2)) if templ_7745c5c3_Err != nil { @@ -154,7 +154,7 @@ func NoBody(title string, remote bool) templ.Component { var templ_7745c5c3_Var5 string templ_7745c5c3_Var5, templ_7745c5c3_Err = templ.JoinStringErrs(title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/layout/layout.templ`, Line: 43, Col: 17} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/webapp/components/layout/root.templ`, Line: 43, Col: 17} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var5)) if templ_7745c5c3_Err != nil {