You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(landing): optional hero logo for DocsUI::Landing (c.landing.logo) (#57)
DocsUI::Landing's hero was eyebrow + title + lead, with no way to show a product's
own brand mark — the first thing a real consumer hit when adopting it on a mounted
docs app. Add an optional hero logo above the eyebrow, in two forms:
- inline single-path SVG: { svg: "<path d>", viewbox:, label: } — rendered with
fill: currentColor so a single-color mark adapts to the theme (light/dark);
- image: { src:, alt: } — resolved through the site's asset pipeline (image_url).
nil (the default) omits it, so it's fully backwards-compatible. Normalized into a
DocsKit::LandingConfig::Logo value object (like Cta/Feature). Dogfooded on the
docs-kit site (an inline stacked-docs glyph) with a system-spec assertion; the
generator initializer + component docs document it.
Full gem suite 759 green, 94.73% line coverage, rubocop clean; dogfood system +
request specs green.
0 commit comments