From 221832068257b69160687dc0eba12183b742f028 Mon Sep 17 00:00:00 2001 From: jamesbeedy Date: Sun, 6 Sep 2026 19:12:09 +0000 Subject: [PATCH] docs: use the colour Vantage SVG as the navbar logo The navbar mark was a PNG fetched from the S3 branding bucket on every page load, and its href pointed back at this site's own root, so clicking the logo went nowhere. Serve the SVG from static/img instead and send the click to the docs hub at https://docs.vantagecompute.ai. No srcDark: the theme pins the navbar background to #18123B in both colour modes, so the wordmark's white glyphs read identically either way. Verified by building the site and reading build/index.html: the brand anchor carries href="https://docs.vantagecompute.ai" and both themed tags point at /developer/armasec-lite/img/vantage-logo-color.svg. Co-Authored-By: Claude Opus 5 (1M context) --- docusaurus/docusaurus.config.ts | 13 +++++---- docusaurus/static/img/vantage-logo-color.svg | 30 ++++++++++++++++++++ 2 files changed, 38 insertions(+), 5 deletions(-) create mode 100644 docusaurus/static/img/vantage-logo-color.svg diff --git a/docusaurus/docusaurus.config.ts b/docusaurus/docusaurus.config.ts index e49ca82..eeb4614 100644 --- a/docusaurus/docusaurus.config.ts +++ b/docusaurus/docusaurus.config.ts @@ -124,12 +124,15 @@ const config: Config = { // carries it. A navbar title that grows a git-describe suffix between releases // reflows the header on every commit. title: 'armasec-lite', + // Served from static/img rather than the S3 branding bucket: the SVG is a few KB, + // renders crisply at any zoom, and does not make the header wait on a third-party + // request. No `srcDark`: the theme pins the navbar background to #18123B in both + // colour modes, so the wordmark's white glyphs read the same either way, and a + // second asset would only be a second thing to keep in sync. logo: { - alt: 'Vantage Compute Logo', - src: 'https://vantage-compute-public-assets.s3.us-east-1.amazonaws.com/branding/vantage-logo-text-white-horz.png', - srcDark: - 'https://vantage-compute-public-assets.s3.us-east-1.amazonaws.com/branding/vantage-logo-text-white-horz.png', - href: 'https://docs.vantagecompute.ai/developer/armasec-lite/', + alt: 'Vantage Compute', + src: 'img/vantage-logo-color.svg', + href: 'https://docs.vantagecompute.ai', target: '_self', }, items: [ diff --git a/docusaurus/static/img/vantage-logo-color.svg b/docusaurus/static/img/vantage-logo-color.svg new file mode 100644 index 0000000..e8d69a9 --- /dev/null +++ b/docusaurus/static/img/vantage-logo-color.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +