diff --git a/ui/form/base_form_templ.go b/ui/form/base_form_templ.go index b7b1918..fac2308 100644 --- a/ui/form/base_form_templ.go +++ b/ui/form/base_form_templ.go @@ -1,14 +1,14 @@ // Code generated by templ - DO NOT EDIT. // templ: version: v0.3.819 -package views +package form //lint:file-ignore SA4006 This context is only used if a nested component is present. import "github.com/a-h/templ" import templruntime "github.com/a-h/templ/runtime" -func Form(action, id string) templ.Component { +func Root(action, id string) templ.Component { return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { @@ -80,7 +80,7 @@ func Form(action, id string) templ.Component { }) } -func FormHeader() templ.Component { +func Header() templ.Component { return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { @@ -117,7 +117,7 @@ func FormHeader() templ.Component { }) } -func FormBody() templ.Component { +func Body() templ.Component { return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { @@ -154,7 +154,7 @@ func FormBody() templ.Component { }) } -func FormFooter() templ.Component { +func Footer() templ.Component { return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { @@ -191,7 +191,7 @@ func FormFooter() templ.Component { }) } -func FormCancel() templ.Component { +func Cancel() templ.Component { return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { @@ -220,7 +220,7 @@ func FormCancel() templ.Component { }) } -func FormSubmit(text string) templ.Component { +func Submit(text string) templ.Component { return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { diff --git a/ui/head/base_head_templ.go b/ui/head/base_head_templ.go index 4a8d27f..af94e7f 100644 --- a/ui/head/base_head_templ.go +++ b/ui/head/base_head_templ.go @@ -1,7 +1,7 @@ // Code generated by templ - DO NOT EDIT. // templ: version: v0.3.819 -package views +package head //lint:file-ignore SA4006 This context is only used if a nested component is present. @@ -19,7 +19,7 @@ var ( turnstileHandle = templ.NewOnceHandle() ) -func Head(title string, nebulaVersion string) templ.Component { +func Root(title string, nebulaVersion string) templ.Component { return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { diff --git a/ui/layout/base_layout_templ.go b/ui/layout/base_layout_templ.go index c283805..76dff48 100644 --- a/ui/layout/base_layout_templ.go +++ b/ui/layout/base_layout_templ.go @@ -1,14 +1,16 @@ // Code generated by templ - DO NOT EDIT. // templ: version: v0.3.819 -package views +package layout //lint:file-ignore SA4006 This context is only used if a nested component is present. import "github.com/a-h/templ" import templruntime "github.com/a-h/templ/runtime" -func LayoutContainer() templ.Component { +import "github.com/onsonr/nebula/ui/head" + +func Container() templ.Component { return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { @@ -46,7 +48,7 @@ func LayoutContainer() templ.Component { } // Columns is a component that renders a responsive flex container that stacks on mobile -func LayoutColumns() templ.Component { +func Columns() templ.Component { return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { @@ -84,7 +86,7 @@ func LayoutColumns() templ.Component { } // Rows is a component that renders a responsive flex container that wraps on mobile -func LayoutRows() templ.Component { +func Rows() templ.Component { return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { @@ -121,7 +123,7 @@ func LayoutRows() templ.Component { }) } -func LayoutSeparator(text string) templ.Component { +func Separator(text string) templ.Component { return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { @@ -149,7 +151,7 @@ func LayoutSeparator(text string) templ.Component { var templ_7745c5c3_Var5 string templ_7745c5c3_Var5, templ_7745c5c3_Err = templ.JoinStringErrs(text) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `ui/layout/base_layout.templ`, Line: 33, Col: 45} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `ui/layout/base_layout.templ`, Line: 35, Col: 45} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var5)) if templ_7745c5c3_Err != nil { @@ -164,7 +166,7 @@ func LayoutSeparator(text string) templ.Component { } // Layout is a component that renders the general layout of the application -func LayoutView(title string) templ.Component { +func Root(title string) templ.Component { return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { @@ -189,7 +191,7 @@ func LayoutView(title string) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = Head(title, "0.0.11").Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Err = head.Root(title, "0.0.11").Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err }