Component playground
Switch themes, variants and input states, then test your own combinations.
Open playgrounddiff --git a/.dockerignore b/.dockerignore
index 8cc828e..55e6045 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,6 +1,6 @@
.git
.github
tests
-gothui-web
+tendui-web
*_test.go
README.md
diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml
index 7d86e12..aebcc3d 100644
--- a/.github/workflows/verify.yml
+++ b/.github/workflows/verify.yml
@@ -27,11 +27,11 @@ jobs:
- name: Vet
run: go vet ./...
- name: Build deployment image
- run: docker build --build-arg VERSION="$(git describe --tags --long --dirty --always)" -t gothui-web:ci .
+ run: docker build --build-arg VERSION="$(git describe --tags --long --dirty --always)" -t tendui-web:ci .
- name: Smoke-test the deployed image
run: |
- docker run --detach --name gothui-web-ci -p 127.0.0.1:8080:8080 gothui-web:ci
- trap 'docker logs gothui-web-ci; docker rm -f gothui-web-ci' EXIT
+ docker run --detach --name tendui-web-ci -p 127.0.0.1:8080:8080 tendui-web:ci
+ trap 'docker logs tendui-web-ci; docker rm -f tendui-web-ci' EXIT
curl --fail --max-time 5 --retry 10 --retry-all-errors --retry-delay 1 --retry-max-time 20 http://127.0.0.1:8080/healthz
curl --fail http://127.0.0.1:8080/ | grep -F 'Start building'
curl --fail http://127.0.0.1:8080/site.css > /dev/null
diff --git a/.gitignore b/.gitignore
index a4ca302..04d3f91 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,5 @@
/tests/results/*
!/tests/results/.gitkeep
-/gothui-web
+/tendui-web
/tests/browser/node_modules/
diff --git a/Dockerfile b/Dockerfile
index 059f281..94c5ac8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,16 +2,16 @@ FROM golang:1.27.3-alpine AS build
WORKDIR /src
COPY go.mod go.sum ./
COPY vendor ./vendor
-COPY main.go docs.go docs_templ.go assets.go brand.go ./
+COPY *.go ./
COPY static ./static
COPY content ./content
COPY library-version.json ./
ARG VERSION=2026.1.0-dev
-RUN CGO_ENABLED=0 GOPROXY=off go build -mod=vendor -trimpath -ldflags="-s -w -X main.version=${VERSION}" -o /gothui-web .
+RUN CGO_ENABLED=0 GOPROXY=off go build -mod=vendor -trimpath -ldflags="-s -w -X main.version=${VERSION}" -o /tendui-web .
FROM scratch
-COPY --from=build /gothui-web /gothui-web
+COPY --from=build /tendui-web /tendui-web
USER 65532:65532
ENV PORT=8080
EXPOSE 8080
-ENTRYPOINT ["/gothui-web"]
+ENTRYPOINT ["/tendui-web"]
diff --git a/LICENSE b/LICENSE
index 888a5a3..995ce5f 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2026 GothUI contributors
+Copyright (c) 2026 TendUI contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/README.md b/README.md
index e4bdfcf..5073b50 100644
--- a/README.md
+++ b/README.md
@@ -1,25 +1,29 @@
-# GothUI Web
+# TendUI Web
-
+
-The documentation and examples website for [GothUI](https://github.com/Tend-Stack/GothUI):
-semantic CSS and typed templ components, embedded in your Go binary.
+The documentation and examples website for [TendUI](https://github.com/Tend-Stack/TendUI):
+beautiful interfaces with no frontend build pipeline. Pure CSS and semantic HTML
+work with any stack; first-class Go and templ support embeds the stylesheet
+inside your Go binary.
-The documentation composes GothUI’s typed `AppShell` and `Prose` components
+The documentation composes TendUI’s typed `AppShell` and `Prose` components
with its embedded semantic stylesheet. Guide content uses Go HTML templates;
-the landing page retains its own branding. Catalogs and demos share GothUI’s
-example handler. All assets are embedded. No Node, npm, JavaScript,
+the landing page keeps its own hero styling. Every page, including the mounted
+catalog and demos, renders one shared `SiteHeader` (`site_header.templ`) and
+reads the same `tendui_theme` cookie, which defaults to dark. Catalogs and demos
+share TendUI’s example handler through `site.HandlerWithOptions`. All assets are embedded. No Node, npm, JavaScript,
external fonts, tracking, database, or runtime downloads are required to build or
serve it. The test-only browser suite is separate from the shipped application.
Documentation lives under `/docs`, the searchable 36-component reference under
`/catalog`, application examples under `/examples`, and native state/appearance
-controls under `/playground`. The public canonical origin is https://gothui.com.
+controls under `/playground`. The public canonical origin is https://tendui.com.
The library and templ runtime are vendored at the exact revision recorded in
`library-version.json`. Docker builds use `GOPROXY=off` and need no private-repo
credentials. To refresh from a clean library checkout, run
-`python3 tools/vendor-library.py /path/to/GothUI`. This uses the local Go module
+`python3 tools/vendor-library.py /path/to/TendUI`. This uses the local Go module
cache for already-downloaded dependencies, records a tag or exact pseudo-version,
and removes its temporary proxy and cache. Commit the resulting module metadata,
manifest, and vendor directory together. No local `replace` ships in the repo.
@@ -40,13 +44,13 @@ GET/HEAD and conditional requests. Unknown paths return 404.
```sh
go test -race ./...
go vet ./...
-CGO_ENABLED=0 go build -trimpath -o gothui-web .
-./gothui-web -version
+CGO_ENABLED=0 go build -trimpath -o tendui-web .
+./tendui-web -version
```
## Tend deployment
-Connect `https://github.com/Tend-Stack/GothUI-Web`, branch `main`, in Tend.
+Connect `https://github.com/Tend-Stack/TendUI-web`, branch `main`, in Tend.
Select the repository-root `Dockerfile`, container port **8080**, and HTTP health
path **/healthz**. No secrets, volumes, or additional services are required.
Enable GitHub push deployments in Tend; this repository does not call a deploy
@@ -56,8 +60,8 @@ The image runs as a non-root user and contains only the static Go executable.
For a local container check:
```sh
-docker build --build-arg VERSION="$(git describe --tags --long --dirty --always)" -t gothui-web .
-docker run --rm -p 8080:8080 gothui-web
+docker build --build-arg VERSION="$(git describe --tags --long --dirty --always)" -t tendui-web .
+docker run --rm -p 8080:8080 tendui-web
```
Version lines use `YEAR.RELEASE.FIX`, initially `2026.1.0`; Git tags use `v2026.1.0`.
@@ -66,7 +70,7 @@ Release/development builds should pass `git describe --tags --long --dirty` as
GitHub Actions tests the HTTP contract, runs vet, and builds the Dockerfile.
Tend may deploy independently of CI; check both statuses after publication.
-The documentation and homepage include canonical metadata for gothui.com;
+The documentation and homepage include canonical metadata for tendui.com;
`/sitemap.xml` lists the primary documentation and example routes.
## Scope
@@ -84,7 +88,7 @@ policy. This keeps proxies from rewriting versioned Go commands as email links
or injecting email-decoding scripts. Production smoke checks must inspect the
actual HTML through the public domain as well as the origin/container response.
-For the fixed public host `gothui.com`, Tend terminates HTTPS before forwarding
+For the fixed public host `tendui.com`, Tend terminates HTTPS before forwarding
HTTP to the container. The website adapts validated presentation URLs for the
shared demo handler and marks its cookies Secure. It preserves Origin-based
request protection and does not trust arbitrary forwarded headers. Localhost
diff --git a/assets.go b/assets.go
index 42405da..47342e8 100644
--- a/assets.go
+++ b/assets.go
@@ -15,7 +15,8 @@ func assetURL(name, source string) string {
var siteStylesheetURL = assetURL("site", "static/site.css")
var docsStylesheetURL = assetURL("docs", "static/docs.css")
-var libraryStylesheetURL = assetURL("gothui", "library-version.json")
+var headerStylesheetURL = assetURL("header", "static/header.css")
+var libraryStylesheetURL = assetURL("tendui", "library-version.json")
// Resolve artwork references before hashing CSS or HTML so a brand update also
// changes the referring stylesheet URL. Friendly image URLs remain downloadable.
diff --git a/content/accessibility.html b/content/accessibility.html
index 6afc9ac..31eb9fd 100644
--- a/content/accessibility.html
+++ b/content/accessibility.html
@@ -4,5 +4,5 @@
Dialog, Popover, and grouped disclosures depend on browser capabilities. Include ordinary-page or inline alternatives where needed. The interactions example demonstrates the native controls and fallback paths.
Entrances are short and finite. Reduced-motion preferences disable decoration without removing the content. Avoid using animation alone to communicate success, failure, or progress.
Go tests verify output contracts and source-color contrast. Browser automation checks representative flows and accessibility rules. Neither proves accessibility conformance or screen-reader usability for every application. Review your assembled interface with the assistive technologies you support.
-Release review tracks keyboard, mobile layout, reduced motion, forced colors, print, and optional HTMX separately. See the current accessibility evidence for scope and outstanding checks.
+Release review tracks keyboard, mobile layout, reduced motion, forced colors, print, and optional HTMX separately. See the current accessibility evidence for scope and outstanding checks.
{{end}} diff --git a/content/deploy.html b/content/deploy.html index f7cd82d..499c816 100644 --- a/content/deploy.html +++ b/content/deploy.html @@ -1,8 +1,8 @@ {{define "body"}}templ generate
-CGO_ENABLED=0 go build -trimpath -o app .Generate your application’s templ files before the Go build. GothUI’s component Go is already included in the module. The executable contains the stylesheet; no asset directory or frontend toolchain is required at runtime.
-Keep /gothui/static/ mapped to gothui.AssetHandler(). The handler supplies content-derived ETags and conditional requests. Do not put authenticated user data into shared public caches.
Generate your application’s templ files before the Go build. TendUI’s component Go is already included in the module. The executable contains the stylesheet; no asset directory or frontend toolchain is required at runtime.
+Keep /tendui/static/ mapped to tendui.AssetHandler(). The handler supplies content-derived ETags and conditional requests. Do not put authenticated user data into shared public caches.
Use timeouts, request-size limits, graceful shutdown, health probes, and your platform’s TLS routing. If a proxy terminates TLS, trust forwarded headers only from that proxy. Set cookies and cross-origin protection according to your deployment.
-GothUI’s site uses a non-root container built from Go. Tend deploys the GitHub main branch using the root Dockerfile, port 8080, and health endpoint /healthz. Documentation, examples, and assets ship together.
TendUI’s site uses a non-root container built from Go. Tend deploys the GitHub main branch using the root Dockerfile, port 8080, and health endpoint /healthz. Documentation, examples, and assets ship together.
Use git describe --tags --long --dirty for development builds after the first tag, and record the exact source revision for deployed artifacts. A green build proves the checks that ran; verify the actual public site and workflows after deployment.
Switch themes, variants and input states, then test your own combinations.
Open playgroundSearch all 36 components, try a compiled preview and download its templ source.
Browse componentsSearch all 37 components, try a compiled preview and download its templ source.
Browse componentsPreview settings and export matching CSS overrides or Go configuration.
Customize appearanceCompare bounded entrances, elevation and reduced-motion behavior.
Explore motionGothUI emits HTMX attributes but does not bundle HTMX or any other JavaScript. This website’s public demos work with native HTML. In an enhanced app, load your own pinned, locally served HTMX runtime and use an appropriate Content Security Policy.
+TendUI emits HTMX attributes but does not bundle HTMX or any other JavaScript. This website’s public demos work with native HTML. In an enhanced app, load your own pinned, locally served HTMX runtime and use an appropriate Content Security Policy.
components.ButtonProps{
Text: "Load details",
Type: components.ButtonTypeButton,
diff --git a/content/install.html b/content/install.html
index 602f404..aed9c5b 100644
--- a/content/install.html
+++ b/content/install.html
@@ -1,18 +1,18 @@
{{define "body"}}
1. Add the module
-Use Go 1.26 or newer. Choose a patched compiler for deployed applications. Install the first stable release:
+Use Go 1.26 or newer. Choose a patched compiler for deployed applications. Install the TendUI development branch while the renamed release is being prepared:
go mod init example.com/myapp
-go get github.com/Tend-Stack/GothUI/v2026@v2026.1.0
+go get github.com/Tend-Stack/TendUI/v2026@main
go install github.com/a-h/templ/cmd/templ@v0.3.1100
-The repository currently requires GitHub access. For private-module downloads, configure your normal Git credentials and GOPRIVATE=github.com/Tend-Stack/GothUI. Never put credentials in source or import URLs.
+The repository currently requires GitHub access. For private-module downloads, configure your normal Git credentials and GOPRIVATE=github.com/Tend-Stack/TendUI. Never put credentials in source or import URLs.
2. Create a page
Save this as page.templ. Go structs configure the component; ordinary HTML supplies the content.
package main
-import "github.com/Tend-Stack/GothUI/v2026/components"
+import "github.com/Tend-Stack/TendUI/v2026/components"
templ page() {
@components.Layout(components.LayoutProps{
- Title: "My GothUI app",
+ Title: "My TendUI app",
Language: "en",
Theme: components.ThemeSystem,
}, body())
@@ -20,7 +20,7 @@ 2. Create a page
Save this as page.templ. Go structs con
templ body() {
<main>
- <h1>Hello, GothUI.</h1>
+ <h1>Hello, TendUI.</h1>
@components.Card(components.CardProps{}) {
<p>A little less setup. A little more making.</p>
}
@@ -34,13 +34,13 @@
3. Serve the page and stylesheet
Save this as main.go. T
"net/http"
"time"
- "github.com/Tend-Stack/GothUI/v2026"
+ "github.com/Tend-Stack/TendUI/v2026"
"github.com/a-h/templ"
)
func main() {
mux := http.NewServeMux()
- mux.Handle(gothui.AssetPath, gothui.AssetHandler())
+ mux.Handle(tendui.AssetPath, tendui.AssetHandler())
mux.Handle("GET /{$}", templ.Handler(page()))
server := &http.Server{
Addr: ":8080", Handler: mux,
@@ -50,5 +50,5 @@
3. Serve the page and stylesheet
Save this as main.go. T
}
4. Generate and run
templ generate
go run .
Open http://localhost:8080. To ship the app, run go build. Your generated Go and embedded CSS become one executable.
-Versioning
Releases use YEAR.RELEASE.FIX, starting with v2026.1.0. The module suffix /v2026 follows Go’s major-version rules. Fixes on this line retain the suffix.
+Versioning
Releases use YEAR.RELEASE.FIX, using tags such as v2026.2.0. Existing pre-rename tags retain their original module path; use @main for TendUI until its first renamed release. The module suffix /v2026 follows Go’s major-version rules. Fixes on this line retain the suffix.
{{end}}
diff --git a/content/overview.html b/content/overview.html
index 2a1866c..914133e 100644
--- a/content/overview.html
+++ b/content/overview.html
@@ -1,13 +1,14 @@
{{define "body"}}
-A small foundation, with room to grow.
-GothUI gives ordinary HTML a consistent visual language and wraps it in typed Go components. Your application owns the routes, the data, and the behavior. The CSS travels inside your binary.
+Beautiful interfaces. No build pipeline.
+Pure CSS. Semantic HTML. No Node.js, no npm, no bundled JavaScript. First-class Go and templ support.
+Use the standalone stylesheet with any HTML-producing stack. In Go, the asset package uses //go:embed to bundle it in your binary, and typed templ components make composition convenient. Your application owns routing, data, and behavior. HTMX is optional and supplied by your application.
Start with a working page.Follow the installation guide, then choose a component from the catalog. Every component has a compiled preview and a downloadable templ recipe.
What you get
-- 36 composable components for layouts, forms, navigation, feedback, and data.
- Light, dark, and system color modes with configurable density and typography.
- Embedded semantic CSS and 24 inline SVG icons.
- Native interactions, optional bounded CSS motion, and explicit HTMX attributes.
+- 37 composable components for layouts, forms, navigation, feedback, and data.
- Light, dark, and system color modes with configurable density and typography.
- Embedded semantic CSS and 24 inline SVG icons.
- Native interactions, optional bounded CSS motion, and explicit HTMX attributes.
What your application supplies
-GothUI does not own authentication, routing, persistence, sessions, or request protection. It does not ship a JavaScript runtime. If you choose HTMX, you supply that runtime and the response behavior.
+TendUI does not own authentication, routing, persistence, sessions, or request protection. It does not ship a JavaScript runtime. If you choose HTMX, you supply that runtime and the response behavior.
Three packages
-Production package responsibilities Import suffix Responsibility gothui (module root)Embedded stylesheet and asset handler. /componentsTyped templ components and appearance settings. /renderFull-page and fragment HTTP responses.
+Production package responsibilities Import suffix Responsibility tendui (module root)Embedded stylesheet and asset handler. /componentsTyped templ components and appearance settings. /renderFull-page and fragment HTTP responses.
The asset and render helpers use the Go standard library. Components depend on templ. Generated Go is included, so consuming the library does not require its generator; authoring your own templ pages does.
Explore by doing
Use the playground to test states and appearance, the application examples to see complete flows, and the component reference to take a recipe into your own app.
{{end}}
diff --git a/content/theming.html b/content/theming.html
index 22d565d..114ad07 100644
--- a/content/theming.html
+++ b/content/theming.html
@@ -6,10 +6,10 @@ Let the document choose a color mode
Set data-theme="light"
The appearance studio demonstrates color presets, spacing, corners, font family, text size, page width, and elevation. Preview before saving. Preferences in this demo use browser cookies; your own application controls storage.
Use its Download Go settings link for a typed components.Appearance value. Use Download CSS overrides for the corresponding stylesheet. Downloads reflect the applied preview, not unsubmitted form choices.
Load your stylesheet after GothUI. Variables are the extension point; avoid depending on internal selector details.
+Load your stylesheet after TendUI. Variables are the extension point; avoid depending on internal selector details.
:root {
- --gothui-content-width: 90rem;
- --gothui-radius: 0.8rem;
+ --tendui-content-width: 90rem;
+ --tendui-radius: 0.8rem;
}
Cards and Reveal support short entrance effects. Keep decorative motion finite and optional. The operating system’s reduced-motion preference and the explicit motion-off setting disable it. Visit Motion & surfaces to compare effects and elevation.
Custom colors can change text, border, focus, and disabled-state contrast. Test your own overrides in light, dark, forced-color, and print modes. The library’s baseline color checks do not certify arbitrary themes.
diff --git a/docs.go b/docs.go index 4488946..db30cc8 100644 --- a/docs.go +++ b/docs.go @@ -8,7 +8,7 @@ import ( "log" "net/http" - "github.com/Tend-Stack/GothUI/v2026/components" + "github.com/Tend-Stack/TendUI/v2026/components" "github.com/a-h/templ" ) @@ -18,7 +18,7 @@ type guide struct { var guides = []guide{ {"/docs", "Build something thoughtful.", "A practical guide to semantic interfaces with Go, templ, and optional HTMX.", "overview"}, - {"/docs/install", "From module to interface.", "Install GothUI, serve its embedded CSS, and render your first page.", "install"}, + {"/docs/install", "From module to interface.", "Install TendUI, serve its embedded CSS, and render your first page.", "install"}, {"/docs/theming", "Make it feel like yours.", "Choose a color mode, compose appearance settings, or override the tokens.", "theming"}, {"/docs/forms", "Forms that work with the browser.", "Native submission first. Validation and persistence belong to your application.", "forms"}, {"/docs/htmx", "Enhance a working page.", "Use optional HTMX attributes with explicit full-page and fragment responses.", "htmx"}, @@ -44,13 +44,15 @@ func registerDocs(mux *http.ServeMux) { body := templ.ComponentFunc(func(ctx context.Context, w io.Writer) error { return page.ExecuteTemplate(w, "body", nil) }) - if err := documentationPage(g, navigation, body).Render(r.Context(), &buf); err != nil { + section := navigation[:len(navigation)-2] // Guides only; Examples and Components have their own header items. + if err := documentationPage(g, navigation, section, themeAttribute(siteTheme(r)), body).Render(r.Context(), &buf); err != nil { log.Printf("documentation render: %v", err) http.Error(w, "Unable to render page", http.StatusInternalServerError) return } w.Header().Set("Content-Type", "text/html; charset=utf-8") w.Header().Set("Cache-Control", "public, max-age=0, must-revalidate") + w.Header().Set("Vary", "Cookie") // The saved theme changes the markup. if r.Method != http.MethodHead { _, _ = w.Write(buf.Bytes()) } @@ -64,12 +66,12 @@ func registerDocs(mux *http.ServeMux) { if r.Method == http.MethodHead { return } - _, _ = w.Write([]byte(`GOTHUI / DOCUMENTATION
+TENDUI / DOCUMENTATION
{ g.Summary }
@body @@ -39,19 +46,9 @@ templ documentationPage(g guide, navigation []components.NavItem, body templ.Com } -templ documentationNavigation() { - -} - templ documentationSidebarFooter() {Go-native. HTML-first.
Yours to compose.
GOTHUI / DOCUMENTATION
TENDUI / DOCUMENTATION
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 16, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var14 string - templ_7745c5c3_Var14, templ_7745c5c3_Err = templ.JoinStringErrs(g.Summary) + var templ_7745c5c3_Var15 string + templ_7745c5c3_Var15, templ_7745c5c3_Err = templ.JoinStringErrs(g.Summary) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `docs.templ`, Line: 30, Col: 51} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `docs.templ`, Line: 37, Col: 51} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var14)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var15)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 13, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 17, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -207,51 +238,26 @@ func documentationPage(g guide, navigation []components.NavItem, body templ.Comp if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 14, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 18, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = components.Prose(components.ProseProps{Measure: components.MeasureWide}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var12), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = components.Prose(components.ProseProps{Measure: components.MeasureWide}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var13), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) templ_7745c5c3_Err = components.AppShell(components.AppShellProps{ - Brand: "GothUI", BrandHref: "/", Navigation: navigation, - Actions: documentationNavigation(), Footer: documentationSidebarFooter(), - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var11), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 15, "") + Brand: "TendUI", BrandHref: "/", Navigation: navigation, + Header: siteHeader(g.Path, section), Footer: documentationSidebarFooter(), + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var12), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - return nil - }) -} - -func documentationNavigation() 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 { - return templ_7745c5c3_CtxErr - } - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 16, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 19, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -276,20 +282,20 @@ func documentationSidebarFooter() templ.Component { } ctx = templ.InitializeContext(ctx) ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 17, "Go-native. HTML-first.
Yours to compose.
Go-native. HTML-first.
Yours to compose.