An experimental IndieWeb site built in Go.
1// Code generated by templ - DO NOT EDIT.
2
3// templ: version: v0.2.747
4package components
5
6//lint:file-ignore SA4006 This context is only used if a nested component is present.
7
8import "github.com/a-h/templ"
9import templruntime "github.com/a-h/templ/runtime"
10
11func Sidebar() templ.Component {
12 return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) {
13 templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context
14 templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W)
15 if !templ_7745c5c3_IsBuffer {
16 defer func() {
17 templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer)
18 if templ_7745c5c3_Err == nil {
19 templ_7745c5c3_Err = templ_7745c5c3_BufErr
20 }
21 }()
22 }
23 ctx = templ.InitializeContext(ctx)
24 templ_7745c5c3_Var1 := templ.GetChildren(ctx)
25 if templ_7745c5c3_Var1 == nil {
26 templ_7745c5c3_Var1 = templ.NopComponent
27 }
28 ctx = templ.ClearChildren(ctx)
29 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("<aside class=\"min-w-0\"><div class=\"w-full md:sticky md:top-8\"><h1 class=\"font-extrabold text-xl\">puregarlic dot space</h1><p class=\"font-light mt-3 text-subtle italic md:text-sm\">this space is mine, it was <a class=\"underline hover:text-iris\" href=\"https://github.com/puregarlic/space\">made by me</a>!</p></div></aside>")
30 if templ_7745c5c3_Err != nil {
31 return templ_7745c5c3_Err
32 }
33 return templ_7745c5c3_Err
34 })
35}