From 4378b519f2ef196407b434cb175ce99e80cf18c1 Mon Sep 17 00:00:00 2001 From: Wilkin Santana <28665914+wilkinsantana@users.noreply.github.com> Date: Fri, 6 Nov 2026 12:23:21 -0500 Subject: [PATCH 1/3] Use the shared TendUI header and new brand kit across the website --- .dockerignore | 2 +- .github/workflows/verify.yml | 6 +- .gitignore | 2 +- Dockerfile | 6 +- LICENSE | 2 +- README.md | 36 +- assets.go | 3 +- content/accessibility.html | 2 +- content/deploy.html | 6 +- content/examples.html | 2 +- content/htmx.html | 2 +- content/install.html | 18 +- content/overview.html | 11 +- content/theming.html | 6 +- docs.go | 14 +- docs.templ | 41 +- docs/brand-assets.json | 84 +- docs/brand-assets.md | 10 +- docs_templ.go | 174 ++-- docs_test.go | 2 +- go.mod | 4 +- go.sum | 4 +- header.go | 80 ++ header_test.go | 102 +++ landing.templ | 80 ++ landing_templ.go | 142 ++++ library-version.json | 6 +- main.go | 67 +- main_test.go | 29 +- site_header.templ | 33 + site_header_templ.go | 152 ++++ static/brand/github-social-preview.png | Bin 552468 -> 649151 bytes static/brand/logo-dark.svg | 12 +- static/brand/logo-light.svg | 12 +- static/brand/mascot-guide.svg | 8 +- static/brand/mascot.svg | 8 +- static/brand/og-image.png | Bin 528108 -> 616767 bytes static/docs.css | 53 +- static/header.css | 5 + static/index.html | 78 -- static/robots.txt | 2 +- static/site.css | 64 +- tests/browser/package-lock.json | 4 +- tests/browser/package.json | 4 +- tests/browser/site.spec.js | 72 +- tools/vendor-library.py | 10 +- .../GothUI/v2026/components/theme_templ.go | 91 --- .../GothUI/v2026/examples/site/demo.css | 57 -- .../v2026/examples/site/navigation.templ | 76 -- .../v2026/examples/site/navigation_templ.go | 342 -------- .../Tend-Stack/GothUI/v2026/static/gothui.css | 668 ---------------- .../{GothUI => TendUI}/v2026/.gitattributes | 0 .../{GothUI => TendUI}/v2026/.gitignore | 0 .../{GothUI => TendUI}/v2026/HANDOFF.md | 22 +- .../{GothUI => TendUI}/v2026/LICENSE | 2 +- .../{GothUI => TendUI}/v2026/README.md | 74 +- .../{GothUI => TendUI}/v2026/ROADMAP.md | 2 +- .../v2026/components/appearance.go | 16 +- .../v2026/components/buttons.templ | 0 .../v2026/components/buttons_templ.go | 0 .../v2026/components/cards.templ | 0 .../v2026/components/cards_templ.go | 0 .../v2026/components/composition.go | 0 .../v2026/components/composition.templ | 0 .../v2026/components/composition_templ.go | 0 .../v2026/components/controls.templ | 0 .../v2026/components/controls_templ.go | 0 .../v2026/components/doc.go | 2 +- .../v2026/components/feedback.templ | 0 .../v2026/components/feedback_templ.go | 0 .../v2026/components/fields.templ | 2 +- .../v2026/components/fields_templ.go | 2 +- .../v2026/components/forms.templ | 0 .../v2026/components/forms_templ.go | 0 .../v2026/components/helpers.go | 0 .../v2026/components/icons.go | 6 +- .../v2026/components/icons.templ | 2 +- .../v2026/components/icons_templ.go | 2 +- .../v2026/components/layout.templ | 4 +- .../v2026/components/layout_templ.go | 4 +- .../v2026/components/motion.templ | 0 .../v2026/components/motion_templ.go | 0 .../TendUI/v2026/components/navbar.templ | 186 +++++ .../TendUI/v2026/components/navbar_templ.go | 628 +++++++++++++++ .../v2026/components/navigation.templ | 2 +- .../v2026/components/navigation_templ.go | 2 +- .../v2026/components/overlays.templ | 6 +- .../v2026/components/overlays_templ.go | 6 +- .../v2026/components/prose.templ | 0 .../v2026/components/prose_templ.go | 0 .../v2026/components/shell.templ | 18 +- .../v2026/components/shell_templ.go | 119 +-- .../v2026/components/states.templ | 0 .../v2026/components/states_templ.go | 0 .../v2026/components/tables.go | 10 +- .../v2026/components/tables.templ | 0 .../v2026/components/tables_templ.go | 0 .../v2026/components/theme.templ | 33 +- .../TendUI/v2026/components/theme_templ.go | 157 ++++ .../v2026/components/wayfinding.templ | 14 +- .../v2026/components/wayfinding_templ.go | 14 +- .../v2026/examples/site/README.md | 16 +- .../v2026/examples/site/appearance.go | 12 +- .../v2026/examples/site/catalog.go | 23 +- .../v2026/examples/site/catalog.templ | 5 +- .../v2026/examples/site/catalog_samples.templ | 35 +- .../examples/site/catalog_samples_templ.go | 231 ++++-- .../v2026/examples/site/catalog_templ.go | 8 +- .../v2026/examples/site/dashboard.templ | 2 +- .../v2026/examples/site/dashboard_templ.go | 2 +- .../v2026/examples/site/demo-gopher.svg | 0 .../TendUI/v2026/examples/site/demo.css | 37 + .../v2026/examples/site/demo_assets.go | 0 .../v2026/examples/site/demos.go | 4 +- .../v2026/examples/site/editing.go | 8 +- .../v2026/examples/site/editing.templ | 4 +- .../v2026/examples/site/editing_templ.go | 4 +- .../v2026/examples/site/forms.templ | 2 +- .../v2026/examples/site/forms_templ.go | 2 +- .../v2026/examples/site/handler.go | 52 +- .../v2026/examples/site/interactions.go | 0 .../v2026/examples/site/interactions.templ | 4 +- .../v2026/examples/site/interactions_templ.go | 4 +- .../v2026/examples/site/motion.templ | 6 +- .../v2026/examples/site/motion_templ.go | 6 +- .../v2026/examples/site/navigation.templ | 51 ++ .../v2026/examples/site/navigation_templ.go | 253 ++++++ .../v2026/examples/site/new_components.templ | 2 +- .../examples/site/new_components_templ.go | 2 +- .../TendUI/v2026/examples/site/options.go | 84 ++ .../v2026/examples/site/page.templ | 6 +- .../v2026/examples/site/page_templ.go | 6 +- .../v2026/examples/site/patterns.go | 2 +- .../v2026/examples/site/patterns.templ | 2 +- .../v2026/examples/site/patterns_templ.go | 2 +- .../v2026/examples/site/playground.templ | 2 +- .../v2026/examples/site/playground_templ.go | 2 +- .../v2026/examples/site/projects.go | 2 +- .../v2026/examples/site/reading.templ | 4 +- .../v2026/examples/site/reading_templ.go | 4 +- .../v2026/examples/site/selection.go | 2 +- .../v2026/examples/site/settings.templ | 4 +- .../v2026/examples/site/settings_templ.go | 4 +- .../v2026/examples/site/uploads.go | 4 +- .../v2026/examples/site/uploads.templ | 2 +- .../v2026/examples/site/uploads_templ.go | 2 +- .../v2026/examples/site/wizard.go | 4 +- .../v2026/examples/site/wizard.templ | 2 +- .../v2026/examples/site/wizard_templ.go | 2 +- .../v2026/examples/site/workspace.templ | 6 +- .../v2026/examples/site/workspace_templ.go | 6 +- .../v2026/internal/recipes/source.go | 2 +- .../{GothUI => TendUI}/v2026/render/html.go | 0 .../Tend-Stack/TendUI/v2026/static/tendui.css | 749 ++++++++++++++++++ .../gothui.go => TendUI/v2026/tendui.go} | 16 +- vendor/modules.txt | 12 +- 156 files changed, 3705 insertions(+), 2032 deletions(-) create mode 100644 header.go create mode 100644 header_test.go create mode 100644 landing.templ create mode 100644 landing_templ.go create mode 100644 site_header.templ create mode 100644 site_header_templ.go create mode 100644 static/header.css delete mode 100644 static/index.html delete mode 100644 vendor/github.com/Tend-Stack/GothUI/v2026/components/theme_templ.go delete mode 100644 vendor/github.com/Tend-Stack/GothUI/v2026/examples/site/demo.css delete mode 100644 vendor/github.com/Tend-Stack/GothUI/v2026/examples/site/navigation.templ delete mode 100644 vendor/github.com/Tend-Stack/GothUI/v2026/examples/site/navigation_templ.go delete mode 100644 vendor/github.com/Tend-Stack/GothUI/v2026/static/gothui.css rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/.gitattributes (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/.gitignore (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/HANDOFF.md (71%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/LICENSE (96%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/README.md (92%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/ROADMAP.md (99%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/appearance.go (82%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/buttons.templ (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/buttons_templ.go (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/cards.templ (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/cards_templ.go (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/composition.go (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/composition.templ (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/composition_templ.go (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/controls.templ (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/controls_templ.go (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/doc.go (92%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/feedback.templ (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/feedback_templ.go (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/fields.templ (97%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/fields_templ.go (99%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/forms.templ (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/forms_templ.go (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/helpers.go (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/icons.go (95%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/icons.templ (97%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/icons_templ.go (98%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/layout.templ (90%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/layout_templ.go (98%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/motion.templ (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/motion_templ.go (100%) create mode 100644 vendor/github.com/Tend-Stack/TendUI/v2026/components/navbar.templ create mode 100644 vendor/github.com/Tend-Stack/TendUI/v2026/components/navbar_templ.go rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/navigation.templ (97%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/navigation_templ.go (99%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/overlays.templ (95%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/overlays_templ.go (98%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/prose.templ (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/prose_templ.go (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/shell.templ (78%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/shell_templ.go (71%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/states.templ (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/states_templ.go (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/tables.go (84%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/tables.templ (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/tables_templ.go (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/theme.templ (52%) create mode 100644 vendor/github.com/Tend-Stack/TendUI/v2026/components/theme_templ.go rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/wayfinding.templ (88%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/components/wayfinding_templ.go (97%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/README.md (97%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/appearance.go (93%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/catalog.go (92%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/catalog.templ (97%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/catalog_samples.templ (90%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/catalog_samples_templ.go (90%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/catalog_templ.go (99%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/dashboard.templ (99%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/dashboard_templ.go (99%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/demo-gopher.svg (100%) create mode 100644 vendor/github.com/Tend-Stack/TendUI/v2026/examples/site/demo.css rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/demo_assets.go (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/demos.go (97%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/editing.go (94%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/editing.templ (97%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/editing_templ.go (99%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/forms.templ (98%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/forms_templ.go (99%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/handler.go (84%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/interactions.go (100%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/interactions.templ (97%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/interactions_templ.go (99%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/motion.templ (97%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/motion_templ.go (99%) create mode 100644 vendor/github.com/Tend-Stack/TendUI/v2026/examples/site/navigation.templ create mode 100644 vendor/github.com/Tend-Stack/TendUI/v2026/examples/site/navigation_templ.go rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/new_components.templ (98%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/new_components_templ.go (99%) create mode 100644 vendor/github.com/Tend-Stack/TendUI/v2026/examples/site/options.go rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/page.templ (94%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/page_templ.go (98%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/patterns.go (97%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/patterns.templ (99%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/patterns_templ.go (99%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/playground.templ (99%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/playground_templ.go (99%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/projects.go (98%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/reading.templ (96%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/reading_templ.go (98%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/selection.go (95%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/settings.templ (96%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/settings_templ.go (99%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/uploads.go (98%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/uploads.templ (98%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/uploads_templ.go (99%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/wizard.go (98%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/wizard.templ (99%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/wizard_templ.go (99%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/workspace.templ (94%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/examples/site/workspace_templ.go (98%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/internal/recipes/source.go (94%) rename vendor/github.com/Tend-Stack/{GothUI => TendUI}/v2026/render/html.go (100%) create mode 100644 vendor/github.com/Tend-Stack/TendUI/v2026/static/tendui.css rename vendor/github.com/Tend-Stack/{GothUI/v2026/gothui.go => TendUI/v2026/tendui.go} (77%) diff --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..345eee7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,11 +7,11 @@ 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 -GothUI +TendUI -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 @@

Test the complete workflow