From a56fe00654f194f50d36374e7eea8bb441a8aacf Mon Sep 17 00:00:00 2001 From: Elizabeth Hazel Ainslie Date: Mon, 14 Sep 2026 06:00:48 -0500 Subject: [PATCH] fix: keep the initial K in the footer built-by mark BuiltByMark used renderBrandMark, whose legacy builtByMark variant map omits the icon mark, so the footer wordmark rendered without the initial K. Render the generated per-variant content via renderBrandVariant instead, mirroring Mark.astro. --- src/astro/BuiltByMark.astro | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/astro/BuiltByMark.astro b/src/astro/BuiltByMark.astro index d919b32..2ab4240 100644 --- a/src/astro/BuiltByMark.astro +++ b/src/astro/BuiltByMark.astro @@ -1,5 +1,5 @@ --- -import { renderBrandMark } from '@kolektiv/brand-core'; +import { renderBrandVariant } from '@kolektiv/brand-core'; import type { DocsChromeConfig } from '@kolektiv/common-docs-chrome'; interface Props { @@ -13,8 +13,9 @@ const builtBy = config?.builtBy ?? {}; const href = builtBy.href ?? 'https://kolektiv.computer'; const label = builtBy.label ?? 'Built by Kolektiv Computing'; const external = /^[a-z][a-z0-9+.-]*:/i.test(href); -const mark = renderBrandMark({ - variant: 'builtByMark', +// The legacy `renderBrandMark` variant map left the icon mark (the initial K) +// out of `builtByMark`, so render the generated per-variant content instead. +const mark = renderBrandVariant('builtByMark', { title: label, color: 'currentColor', className: markClass,