---
import { brand } from '../lib/brand.mjs';
/**
* Overrides Starlight's `SiteTitle` so the documentation header carries the same lockup as
* the marketing header. One product, two chromes, one mark.
*
* The override still earns its place now that the mark is a raster image and Starlight's
* own `logo` option would also render an `
`: that option takes an asset IMPORTED
* through Vite, which fingerprints the filename into the build. A fingerprinted logo is one
* the bind mount can never replace (§7), which is the whole point of `/brand/*`. Pointing
* at the stable URL is what keeps the docs header swappable along with everything else.
*/
const { siteTitle, siteTitleHref } = Astro.locals.starlightRoute;
---
{siteTitle || brand.siteName}