// Code generated by templ@(devel) DO NOT EDIT. package components //lint:file-ignore SA4006 This context is only used if a nested component is present. import "github.com/a-h/templ" import "context" import "io" import "bytes" func Login() templ.Component { return templ.ComponentFunc(func(ctx context.Context, w io.Writer) (err error) { templBuffer, templIsBuffer := w.(*bytes.Buffer) if !templIsBuffer { templBuffer = templ.GetBuffer() defer templ.ReleaseBuffer(templBuffer) } ctx = templ.InitializeContext(ctx) var_1 := templ.GetChildren(ctx) if var_1 == nil { var_1 = templ.NopComponent } ctx = templ.ClearChildren(ctx) var_2 := templ.ComponentFunc(func(ctx context.Context, w io.Writer) (err error) { templBuffer, templIsBuffer := w.(*bytes.Buffer) if !templIsBuffer { templBuffer = templ.GetBuffer() defer templ.ReleaseBuffer(templBuffer) } _, err = templBuffer.WriteString("
") if err != nil { return err } if !templIsBuffer { _, err = io.Copy(w, templBuffer) } return err }) err = ManageBase("Login").Render(templ.WithChildren(ctx, var_2), templBuffer) if err != nil { return err } if !templIsBuffer { _, err = templBuffer.WriteTo(w) } return err }) }