diff --git a/internal/html/index.templ b/internal/html/index.templ index 94de1938e6692bb2716cdd160a97f4d6fa723234..96d204d1b66b31b1def91fae5b3233b30740de91 100644 --- a/internal/html/index.templ +++ b/internal/html/index.templ @@ -47,8 +47,8 @@ } if ic.Profile.Email != "" {
@templ.Raw(string(assets.EmailIcon))
+import "go.jolheiser.com/ugit/assets" import "github.com/dustin/go-humanize" -package html
} diff --git a/internal/html/index_templ.go b/internal/html/index_templ.go index b2eb084abed4e9cec893cd1200704cc87c8525d0..15f200494b1434b8c9a070a0de0badae6b10252b 100644 --- a/internal/html/index_templ.go +++ b/internal/html/index_templ.go @@ -120,30 +120,16 @@ templ_7745c5c3_Err = templ.Raw(string(assets.EmailIcon)).Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var9 string + var templ_7745c5c3_Var8 string - templ_7745c5c3_Var9, templ_7745c5c3_Err = templ.JoinStringErrs(link.Name) + templ_7745c5c3_Var8, templ_7745c5c3_Err = templ.JoinStringErrs(link.Name) if templ_7745c5c3_Err != nil { return templ.Error{Err: templ_7745c5c3_Err, FileName: `index.templ`, Line: 57, Col: 141} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var9)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var8)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -202,9 +190,9 @@ if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } // Code generated by templ - DO NOT EDIT. -// Code generated by templ - DO NOT EDIT. + return templ.ComponentFunc(func(ctx context.Context, templ_7745c5c3_W io.Writer) (templ_7745c5c3_Err error) { // Code generated by templ - DO NOT EDIT. - + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templ_7745c5c3_W.(*bytes.Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -212,14 +201,15 @@ if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } // Code generated by templ - DO NOT EDIT. // templ: version: v0.2.501 +import "context" // Code generated by templ - DO NOT EDIT. -package html + templ_7745c5c3_Buffer = templ.GetBuffer() if templ_7745c5c3_Err != nil { return templ.Error{Err: templ_7745c5c3_Err, FileName: `index.templ`, Line: 63, Col: 218} } // Code generated by templ - DO NOT EDIT. -import "github.com/a-h/templ" + defer templ.ReleaseBuffer(templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -228,14 +218,14 @@ if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } import "go.jolheiser.com/ugit/internal/git" -import "io" +// templ: version: v0.2.501 // Code generated by templ - DO NOT EDIT. +package html -import "bytes" if templ_7745c5c3_Err != nil { return templ.Error{Err: templ_7745c5c3_Err, FileName: `index.templ`, Line: 64, Col: 66} } // Code generated by templ - DO NOT EDIT. -import "github.com/dustin/go-humanize" +import "github.com/a-h/templ" if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -252,15 +242,15 @@ if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } // Code generated by templ - DO NOT EDIT. - BaseContext +import "io" // Code generated by templ - DO NOT EDIT. +package html // Code generated by templ - DO NOT EDIT. -//lint:file-ignore SA4006 This context is only used if a nested component is present. if templ_7745c5c3_Err != nil { return templ.Error{Err: templ_7745c5c3_Err, FileName: `index.templ`, Line: 65, Col: 100} } import "github.com/dustin/go-humanize" -import "context" +// Code generated by templ - DO NOT EDIT. if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err }