From 208152b8d1bb5f10873e4818cf1b6d74a6c17417 Mon Sep 17 00:00:00 2001 From: tannevaled Date: Fri, 23 Oct 2026 20:28:06 +0200 Subject: [PATCH] feat(landing): landingkit v0.6.0, a data chip, and the strip said once The kit moves to v0.6.0, which brings readable gradient text in dark mode and up to four strip chips. The data shipped under another licence gets its own chip. Wherever the page repeats LICENSE=BSD-3-Clause or CGO_ENABLED=0, which the strip already says, the repeat is hidden while the strip shows (landingmigrate repeats). Verified: nothing of the old page is lost, and the strip-on page is the strip-off page minus exactly the hidden repeats. Co-Authored-By: Claude Opus 5.5 --- go.mod | 4 ++-- go.sum | 4 ++-- hugo.toml | 5 +++++ layouts/index.html | 4 ++-- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index c5477fd..89d6694 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module github.com/go-widgets/go-widgets.github.io -go 1.27.2 +go 1.27.3 -require github.com/go-fleettools/landingkit v0.3.2 +require github.com/go-fleettools/landingkit v0.6.0 diff --git a/go.sum b/go.sum index 480fd33..44b5185 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -github.com/go-fleettools/landingkit v0.3.2 h1:Hy3XWXf/Q4uNYER1vlDqSzzqjycE/GsSsxyafxN0P5c= -github.com/go-fleettools/landingkit v0.3.2/go.mod h1:c9Lz9cz1DOwHwH+/qustJ8xJmR+0DzZb2ezpk0+WyfE= +github.com/go-fleettools/landingkit v0.6.0 h1:lIlazNZ3xTWDSti/16Uo+aSUOFPhVniQaEnILbQmJuE= +github.com/go-fleettools/landingkit v0.6.0/go.mod h1:gBpbziqFcmcjtNknPjy5+AAzGZ5L+pPr9mIJZHpDlZc= diff --git a/hugo.toml b/hugo.toml index 7bdd8bb..835e9fc 100644 --- a/hugo.toml +++ b/hugo.toml @@ -185,3 +185,8 @@ disableKinds = ["taxonomy", "term", "RSS", "sitemap", "404"] [[params.surfaces]] name = "Android" how = "A real APK: a Java host blits a memfd the Go process paints; input and accessibility cross a socket. arm64." + +# The strip under the top bar: the code's licence and cgo, and the data +# shipped under its own licence (read from its licence files). +[params.mantra] + items = ["LICENSE=BSD-3-Clause", "CGO_ENABLED=0", "icons: Apache-2.0, CC0-1.0"] diff --git a/layouts/index.html b/layouts/index.html index c251ab3..5edf741 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -19,7 +19,7 @@

One widget tree,
every surface.

-

A widget that calls the platform's own button is as portable as the least capable platform it targets. go-widgets draws every widget itself, through one small painter interface, and lets a back-end decide whether that becomes the pixels of a window, a browser canvas, an Android surface — or the cells of a terminal. Pure Go, CGO_ENABLED=0. BSD-3-Clause.

+

A widget that calls the platform's own button is as portable as the least capable platform it targets. go-widgets draws every widget itself, through one small painter interface, and lets a back-end decide whether that becomes the pixels of a window, a browser canvas, an Android surface — or the cells of a terminal. {{ if not (partial "mantra-on.html" $) }}Pure Go, CGO_ENABLED=0.{{ end }} {{ if not (partial "mantra-on.html" $) }}BSD-3-Clause.{{ end }}

-
© the go-widgets authors · BSD-3-ClausePure Go · CGO_ENABLED=0 · no frameworks
+