Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -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=
5 changes: 5 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
4 changes: 2 additions & 2 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<div class="hero"><div class="wrap">
<div>
<h1 class="head">One widget tree,<br><span class="accent">every surface.</span></h1>
<p class="sub"><b>A widget that calls the platform's own button is as portable as the least capable platform it targets.</b> 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, <code>CGO_ENABLED=0</code>. BSD-3-Clause.</p>
<p class="sub"><b>A widget that calls the platform's own button is as portable as the least capable platform it targets.</b> 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, <code>CGO_ENABLED=0</code>.{{ end }} {{ if not (partial "mantra-on.html" $) }}BSD-3-Clause.{{ end }}</p>
<div class="cta">
<a class="btn btn-primary" href="https://go-widgets.github.io/docs/">{{ partial "icons/book.html" . }}Read the documentation →</a>
<a class="btn btn-ghost" href="https://go-widgets.github.io/gallery/">{{ partial "icons/play.html" . }}Try it in the browser</a>
Expand Down Expand Up @@ -123,6 +123,6 @@ <h2>A UI toolkit that ships like Go.</h2>
</div>
</div></section>

<footer><div class="wrap"><span>© the go-widgets authors · BSD-3-Clause</span><span>Pure Go · CGO_ENABLED=0 · no frameworks</span></div></footer>
<footer><div class="wrap"><span>© the go-widgets authors{{ if not (partial "mantra-on.html" $) }} · BSD-3-Clause{{ end }}</span><span>Pure Go · {{ if not (partial "mantra-on.html" $) }}CGO_ENABLED=0 · {{ end }}no frameworks</span></div></footer>
</body>
</html>
Loading