Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions apps/docs/blume.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@ import { defineConfig } from "blume";

import { CURATED_POPULAR } from "./components/curated-popular";

const title = "Layers";
/** Custom `.astro` pages have no frontmatter — name OG cards (else humanized segment). */
const homeTitle = `${title} — open any layer from anywhere`;
const notFoundTitle = "Page not found";

export default defineConfig({
title: "Layers",
title,
description:
"Headless modal/dialog/drawer/popover/toast manager — open any layer from anywhere. Zero-dep core + React, Preact, Solid, Angular, Vue, Lit, Alpine, and Svelte adapters.",

Expand Down Expand Up @@ -66,7 +71,6 @@ export default defineConfig({
theme: { accent: "teal", radius: "md", mode: "system" },
search: {
provider: "orama",
// Cmd+K empty-state + shared with 404 via CURATED_POPULAR.
popular: CURATED_POPULAR.map(({ route, label }) => ({
href: route,
label,
Expand Down Expand Up @@ -111,7 +115,10 @@ export default defineConfig({
},

seo: {
og: { enabled: true },
og: {
enabled: true,
titles: { "/": homeTitle, "/404": notFoundTitle },
},
rss: { enabled: true, types: ["changelog"] },
sitemap: true,
robots: true,
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/components/curated-popular.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/** Shared Cmd+K (`search.popular`) + 404 destinations — not sidebar order. */
/** Cmd+K empty-state + 404 destinations — not sidebar order. */
export const CURATED_POPULAR = [
{ route: "/guides/getting-started", label: "Getting started" },
{ route: "/guides/install", label: "Install" },
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"dependencies": {
"@stainless-code/layers": "workspace:*",
"@stainless-code/react-layers": "workspace:*",
"blume": "1.1.0",
"blume": "1.1.2",
"react": "19.2.7",
"react-dom": "19.2.7"
},
Expand Down
4 changes: 2 additions & 2 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading