diff --git a/site/astro.config.js b/site/astro.config.js index 13808969326..128ec4df81d 100644 --- a/site/astro.config.js +++ b/site/astro.config.js @@ -28,6 +28,9 @@ export default defineConfig({ { icon: 'youtube', label: 'YouTube', href: 'https://www.youtube.com/@NetlifyApp' }, ], favicon: 'favicon.svg', + components: { + SiteTitle: './src/components/SiteTitle.astro', + }, logo: { light: './src/assets/logo-light.svg', dark: './src/assets/logo-dark.svg', diff --git a/site/src/assets/fonts/instrument-sans-latin-variable.woff2 b/site/src/assets/fonts/instrument-sans-latin-variable.woff2 new file mode 100644 index 00000000000..8611e41b14c Binary files /dev/null and b/site/src/assets/fonts/instrument-sans-latin-variable.woff2 differ diff --git a/site/src/assets/logo-dark.svg b/site/src/assets/logo-dark.svg index 128ececfd05..a2cc88c98a7 100644 --- a/site/src/assets/logo-dark.svg +++ b/site/src/assets/logo-dark.svg @@ -1,18 +1,4 @@ - - - - - - - - - - - - - - - - - + + + diff --git a/site/src/assets/logo-light.svg b/site/src/assets/logo-light.svg index e930e77a339..a83970b9101 100644 --- a/site/src/assets/logo-light.svg +++ b/site/src/assets/logo-light.svg @@ -1,10 +1,4 @@ - - - - - - - - - + + + diff --git a/site/src/components/SiteTitle.astro b/site/src/components/SiteTitle.astro new file mode 100644 index 00000000000..2c727fc99fe --- /dev/null +++ b/site/src/components/SiteTitle.astro @@ -0,0 +1,67 @@ +--- +// Starlight's SiteTitle with the product name as text after the logo. +// Brand 2026: sub-brands are the logo plus the product name in type, not a lockup asset. +import { logos } from 'virtual:starlight/user-images'; +import config from 'virtual:starlight/user-config'; +const { siteTitle, siteTitleHref } = Astro.locals.starlightRoute; +--- + + + { + config.logo && logos.dark && ( + <> + + {!('src' in config.logo) && ( + + )} + + ) + } + {siteTitle} + + + +