Skip to content

[docs] Adopt the new Cloudprober logo across the site - #1461

Merged
manugarg merged 1 commit into
mainfrom
website_logo
Sep 6, 2026
Merged

manugarg merged 1 commit into
mainfrom
website_logo

Conversation

@manugarg

@manugarg manugarg commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Wires the new logo kit into the website, the favicon set and the repo README.

Assets

Everything lands in docs/static:

  • Favicons at site root under the names the Doks head/favicons.html partial already looks for: favicon.ico, favicon.svg, favicon-16x16.png, favicon-32x32.png, apple-touch-icon.png. The SVG icon link only renders if static/favicon.svg exists, so adding it switched that on.
  • logo/: horizontal and stacked lockups (light + on-dark), the mark, PWA icons (192 / 512 / 512-maskable) and the 1200x630 social card.
  • favicon.ico is repacked from the kit's per-size renders (16/32/48/64). The kit ships a 16x16-only .ico despite its README claiming otherwise, and the file it replaces was multi-size.

Where the logo shows up

  • Navbar and homepage footer render the horizontal lockup instead of the text wordmark, swapping to the on-dark file under [data-dark-mode]. Both anchors keep their accessible name via aria-label.
  • README gets the lockup in a <picture>, so GitHub's dark theme gets the white-ink version.

Making room in the navbar

The lockup is wider than the text it replaced, so two changes pay for it:

  • Surfacers drops out of the main menu. It stays in the docs sidebar, so the page is still reachable.
  • The search field yields instead of the nav. Tightening the gaps between nav items was the first attempt and it made the links run together, so the nav list now refuses to shrink and the search absorbs the squeeze, capped at 15rem.

What actually drives the wrapping: the list gives up a row as soon as it loses ~20px, because .nav-item's 8px margins fall outside its measured width. Verified single-row at 992, 1024, 1152, 1280 and 1440 — 1024 and 1152 wrapped even before this change.

Metadata

  • params.toml gains images (og:image / twitter:image) and schemaLogo. Both were unset, so the site served no social card image at all and pointed its JSON-LD organization logo at the bare domain.
  • site.webmanifest gains the icon set it never had.

Not included

  • The logo kit source (logo_assets/, the zip, PREVIEW.png) is left untracked. Happy to commit it somewhere if you want the build_final.py script and guidelines in-repo.
  • The status page header (web/resources/header.go) still shows a plain text "Cloudprober" link.
  • Unrelated bug found along the way: the search input renders placeholder="" and aria-label="", because module.toml mounts the Doks assets, layouts and static directories but not its i18n directory, so every theme translation resolves to nothing. Fixing it would switch on every other theme string at once, so it wants its own change.

Wire the new logo kit into the website, the favicon set and the repo
README.

Site assets land in docs/static: the favicon names the Doks
head/favicons.html partial already looks for (favicon.ico, favicon.svg,
favicon-16x16.png, favicon-32x32.png, apple-touch-icon.png), plus a
logo/ directory with the horizontal and stacked lockups, the mark, PWA
icons and the social card. favicon.ico is repacked from the kit's
per-size renders -- the kit ships a 16x16-only .ico, and the file it
replaces was multi-size.

The navbar and homepage footer render the horizontal lockup in place of
the text wordmark, swapping to the on-dark file under [data-dark-mode].
Both anchors keep their accessible name via aria-label.

The lockup is wider than the text it replaced, so make room for it:

  - Drop Surfacers from the main menu. It stays in the docs sidebar.
  - Stop the nav list from shrinking and cap the search field instead.
    Both shrink when the row runs short today, and the list wraps as
    soon as it loses ~20px, since its item margins fall outside its
    measured width. The links now hold one row from 992px up; 1024 and
    1152 wrapped even before this change.

params.toml gains og:image/twitter:image and a JSON-LD organization
logo. Both were unset, so the site served no social card image at all
and pointed its schema logo at the bare domain. site.webmanifest gains
the icon set it never had.
@manugarg
manugarg merged commit 442b437 into main Sep 6, 2026
13 checks passed
@manugarg
manugarg deleted the website_logo branch September 6, 2026 18:17
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