diff --git a/.fallowrc.json b/.fallowrc.json
index dd38c3e2..cc429f20 100644
--- a/.fallowrc.json
+++ b/.fallowrc.json
@@ -3,6 +3,7 @@
"entry": [
"apps/docs/blume.config.ts",
"apps/docs/components.ts",
+ "apps/docs/theme.css",
"apps/docs/docs/**/*.mdx",
"apps/docs/docs/**/meta.ts",
"apps/docs/islands/ObserverDemo.tsx",
diff --git a/apps/docs/blume.config.ts b/apps/docs/blume.config.ts
index 36e13846..1e4ba32a 100644
--- a/apps/docs/blume.config.ts
+++ b/apps/docs/blume.config.ts
@@ -7,7 +7,7 @@ export default defineConfig({
description:
"A lightweight React implementation of the Intersection Observer API.",
logo: {
- image: "/logo.svg",
+ image: "/logo-horizontal.svg",
},
analytics: {
vercel: true,
diff --git a/apps/docs/components/Logo.astro b/apps/docs/components/Logo.astro
index 69241ff8..6e581e80 100644
--- a/apps/docs/components/Logo.astro
+++ b/apps/docs/components/Logo.astro
@@ -1,4 +1,6 @@
---
+import mobileLogoSvg from "./logo-text.svg?raw";
+
interface LogoData {
alt: string;
dark?: string;
@@ -22,14 +24,17 @@ const logoDark = logo?.dark ?? logo?.light;
---
{
logoSvg && (
)
@@ -38,14 +43,24 @@ const logoDark = logo?.dark ?? logo?.light;
!logoSvg &&
logoLight &&
(logoLight === logoDark ? (
-
+
) : (
<>
-
-
+
+
>
))
}
- {brandText && {brandText}}
- Intersection Observer
+ {
+ logoSvg ? (
+
+ ) : (
+ {brandText}
+ )
+ }
diff --git a/apps/docs/components/logo-text.svg b/apps/docs/components/logo-text.svg
new file mode 100644
index 00000000..bf8189f1
--- /dev/null
+++ b/apps/docs/components/logo-text.svg
@@ -0,0 +1,16 @@
+
+
diff --git a/apps/docs/public/logo-horizontal.svg b/apps/docs/public/logo-horizontal.svg
index a25fb66d..3d4c9100 100644
--- a/apps/docs/public/logo-horizontal.svg
+++ b/apps/docs/public/logo-horizontal.svg
@@ -1,11 +1,9 @@
-