Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
feat: make docs sidebar flatten
dev_wandryff35d52b1137
diff --git a/app/globals.css b/app/globals.cssindex 1e84af0f..839c5ae9 100644--- a/app/globals.css+++ b/app/globals.css@@ -362,6 +362,35 @@}}+/* ── Non-collapsible category title (SidebarFolderLink) ──────────────+ Each category folder has an index page, so with collapsible:false the+ title renders as SidebarFolderLink — an <a> that carries the `w-full`+ class (slots/sidebar.js). Nav items (SidebarItem) do NOT get `w-full`,+ so `a.w-full` targets ONLY the category headers. (The earlier+ `div.relative` selector was wrong: the only relative <div> is the+ SidebarFolderContent wrapper, which contains every item — styling it+ uppercased and disabled all links.) The title stays navigable to its+ category index; it just reads as a quiet uppercase section label. */+#nd-sidebar a.w-full,+#nd-sidebar-mobile a.w-full {+ text-transform: uppercase;+ letter-spacing: 0.08em;+ font-size: 0.6875rem;+ font-weight: 600;+ color: var(--muted-foreground);+ /* Consistent gap above each category. NOTE: each title is the first+ child of its own folder wrapper, so `:first-child` would match every+ title — we deliberately don't special-case the first one; the+ sidebar's own top padding handles the top edge. */+ margin-top: 1.25rem;+}+/* Subtle hover only — it's a heading that also links to the overview. */+#nd-sidebar a.w-full:hover,+#nd-sidebar-mobile a.w-full:hover {+ color: var(--foreground);+ background-color: transparent;+}+/* ── Default-Fumadocs visual tells, neutralised ──────────────────────Anything that could leak a stock accent / off-token colour is pinnedback to our oklch tokens via the fd-* bridge (no literal overrides). */diff --git a/content/docs/compositions/meta.json b/content/docs/compositions/meta.jsonindex 613a3837..2653c17e 100644--- a/content/docs/compositions/meta.json+++ b/content/docs/compositions/meta.json@@ -1,5 +1,6 @@{"title": "Compositions",+ "collapsible": false,"pages": ["index","---Hero & Outro---",diff --git a/content/docs/environment/meta.json b/content/docs/environment/meta.jsonindex 929f1381..df01be01 100644--- a/content/docs/environment/meta.json+++ b/content/docs/environment/meta.json@@ -1,5 +1,6 @@{"title": "Environment & Lighting",+ "collapsible": false,"pages": ["index","---Backgrounds---",diff --git a/content/docs/getting-started/meta.json b/content/docs/getting-started/meta.jsonindex 145421c7..337975e4 100644--- a/content/docs/getting-started/meta.json+++ b/content/docs/getting-started/meta.json@@ -1,4 +1,5 @@{"title": "Getting Started",+ "collapsible": false,"pages": ["introduction", "installation"]}diff --git a/content/docs/primitives/meta.json b/content/docs/primitives/meta.jsonindex deb7cbbb..e733fa8a 100644--- a/content/docs/primitives/meta.json+++ b/content/docs/primitives/meta.json@@ -1,5 +1,6 @@{"title": "Core Primitives",+ "collapsible": false,"pages": ["index","---Animations---",diff --git a/content/docs/transitions/meta.json b/content/docs/transitions/meta.jsonindex 7d70d313..da8962a9 100644--- a/content/docs/transitions/meta.json+++ b/content/docs/transitions/meta.json@@ -1,5 +1,6 @@{"title": "Transitions",+ "collapsible": false,"pages": ["index","---Camera & Scale---",diff --git a/content/docs/typography/meta.json b/content/docs/typography/meta.jsonindex 82c25d9c..d433d1bf 100644--- a/content/docs/typography/meta.json+++ b/content/docs/typography/meta.json@@ -1,5 +1,6 @@{"title": "Typography",+ "collapsible": false,"pages": ["index","---Reveals---",diff --git a/content/docs/ui-blocks/meta.json b/content/docs/ui-blocks/meta.jsonindex b81b5fdd..5f824f2f 100644--- a/content/docs/ui-blocks/meta.json+++ b/content/docs/ui-blocks/meta.json@@ -1,5 +1,6 @@{"title": "UI Blocks",+ "collapsible": false,"pages": ["index","---Code & CLI---",