Skip to content

Update landingkit to v0.3.0 and add its two brand keys - #25

Merged
tannevaled merged 1 commit into
mainfrom
landingkit-v0.3.0
Oct 11, 2026
Merged

tannevaled merged 1 commit into
mainfrom
landingkit-v0.3.0

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

Bumps github.com/go-fleettools/landingkit to v0.3.0 and appends the two brand keys it reads, so the last two cyan literals follow the logo: statsEnd = "#fbd2d2" and bandText = "#fce1e1".

The two lines are what landingkit brand static/img/logo.svg prints at v0.3.0. Every existing key in [params.brand] is byte-identical to its output, and the block's comments are kept.

Verification

<style> diff, main vs this branch, both built with pkgx hugo@0.167.0:

  • .grid>*{min-width:0} added and .card gains overflow-wrap:anywhere (v0.3.0 layout fix)
  • .stats .n gradient end: #cdf1fa -> #fbd2d2
  • .band p colour: #d8f3fb -> #fce1e1

Outside <style>, the only change is whitespace: v0.3.0's partials no longer end with a newline (the GitHub icon's trailing newline before the button text).

go.mod still requires the module after go mod tidy (kept by kit.go). landingkit verify (text and pixels) and a 390px no-sideways-scroll check follow in a comment.

🤖 Generated with Claude Code

landingkit v0.3.0 reads the stats gradient end and the CTA band text from
[params.brand] (statsEnd, bandText). Without them this landing keeps the
kit's cyan defaults. The two lines are what
`landingkit brand static/img/logo.svg` prints; every existing key is
byte-identical to its output.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@tannevaled

Copy link
Copy Markdown
Contributor Author

Verification of this branch:

landingkit verify -hugo "pkgx hugo@0.167.0" <this site> <go-fileshare.github.io on its v0.3.0 branch>, with pixels:

PASS the <style> block equals the reference's once brand values are masked
PASS light: 62/62 background pixels identical (#ffffff)
PASS dark: 62/62 background pixels identical (#0b0e14)

(Local Chrome under heavy load exits with status 2 after writing its output; it was run through a wrapper that accepts that exit only when the requested output exists. It did so 0 times in this run.)

At 390px, puppeteer device emulation (setViewport({width:390, isMobile:true})) on the built branch: no sideways scroll (scrollWidth 390, clientWidth 390, scrollX after scrollTo(100,0) = 0).

🤖 Generated with Claude Code

@tannevaled
tannevaled merged commit 6fff1b5 into main Oct 11, 2026
3 checks passed
@tannevaled
tannevaled deleted the landingkit-v0.3.0 branch October 11, 2026 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant