diff --git a/packages/web/astro.config.mjs b/packages/web/astro.config.mjs
index 98f22960..ec3131a3 100644
--- a/packages/web/astro.config.mjs
+++ b/packages/web/astro.config.mjs
@@ -96,6 +96,7 @@ export default defineConfig({
Hero: "./src/components/Hero.astro",
Head: "./src/components/Head.astro",
Header: "./src/components/Header.astro",
+ SiteTitle: "./src/components/SiteTitle.astro",
},
plugins: [
theme({
diff --git a/packages/web/src/components/SiteTitle.astro b/packages/web/src/components/SiteTitle.astro
new file mode 100644
index 00000000..28a30cb2
--- /dev/null
+++ b/packages/web/src/components/SiteTitle.astro
@@ -0,0 +1,59 @@
+---
+import { logos } from 'virtual:starlight/user-images';
+import config from 'virtual:starlight/user-config';
+const { siteTitle, siteTitleHref } = Astro.locals.starlightRoute;
+---
+
+
+ {
+ config.logo && logos.dark && (
+ <>
+
+ {/* Show light alternate if a user configure both light and dark logos. */}
+ {!('src' in config.logo) && (
+
+ )}
+ >
+ )
+ }
+
+ {siteTitle}
+
+
+
+