Skip to content

armgit / pdfcn

Public Imported from GitHub
0

Beautiful pdf components, built on Takumi and Forme. 100% Free, Zero config, one command setup.

refactor: move theme builder into (app) layout and add changelog links

Aniket-508055d819f9dd9
diff --git a/app/(builder)/theme-builder/[base]/page.tsx b/app/(app)/theme-builder/[base]/page.tsx
similarity index 100%
rename from app/(builder)/theme-builder/[base]/page.tsx
rename to app/(app)/theme-builder/[base]/page.tsx
diff --git a/app/(builder)/layout.tsx b/app/(builder)/layout.tsx
deleted file mode 100644
index 9bef22a..0000000
--- a/app/(builder)/layout.tsx
+++ /dev/null
@@ -1,14 +0,0 @@
-import { SiteHeader } from "@/components/site-header";
-import { WebMcpTools } from "@/components/web-mcp/web-mcp-tools";
-import { AGENT_DOCS_DIRECTIVE_TEXT } from "@/lib/agent-discovery/directive";
-
-const ThemeBuilderLayout = ({ children }: { children: React.ReactNode }) => (
- <div className="flex min-h-svh flex-col bg-background">
- <blockquote className="sr-only">{AGENT_DOCS_DIRECTIVE_TEXT}</blockquote>
- <WebMcpTools />
- <SiteHeader />
- <main className="flex min-h-0 flex-1 flex-col">{children}</main>
- </div>
-);
-
-export default ThemeBuilderLayout;
diff --git a/content/docs/(root)/changelog/2026-08-30-theme-builder.mdx b/content/docs/(root)/changelog/2026-08-30-theme-builder.mdx
index c5ce0ea..9d287b9 100644
--- a/content/docs/(root)/changelog/2026-08-30-theme-builder.mdx
+++ b/content/docs/(root)/changelog/2026-08-30-theme-builder.mdx
@@ -9,13 +9,9 @@ We shipped the Theme Builder — a visual editor for customizing PDF themes with
### What's new
- **Live PDF Preview** — See your theme applied in real time as you adjust colors, typography, spacing, and page settings
-- **Theme Picker** — Browse and switch between 9 built-in presets (Professional, Modern, Minimal, Executive, Corporate, Elegant, Vivid, Forest, Blueprint)
+- **Theme Picker** — Browse and switch between 9 built-in [presets](/docs/themes) (Professional, Modern, Minimal, Executive, Corporate, Elegant, Vivid, Forest, Blueprint)
- **Undo / Redo** — Full history with keyboard shortcuts (⌘Z / ⌘⇧Z)
- **Code Export** — Copy the theme config as a JSON object or TypeScript preset to drop into your project
-- **Shareable URLs** — Theme state is encoded in the URL hash so you can share a exact configuration with anyone
-- **Base-specific routing** — Separate theme builders for Takumi PDF (`/theme-builder/takumi`) and Forme PDF (`/theme-builder/forme`)
+- **Shareable URLs** — Theme state is encoded in the URL hash so you can share an exact configuration with anyone
+- **Base-specific routing** — Separate theme builders for [Takumi PDF](/theme-builder/takumi) and [Forme PDF](/theme-builder/forme)
- **Font preview** — See how your chosen body and heading fonts look at actual size before generating a PDF
-
-### How to use it
-
-Navigate to the Theme Builder from the site header, or go directly to `/theme-builder/takumi`. Pick a preset, tweak the settings, and copy the code when you're happy.
diff --git a/content/docs/(root)/changelog/meta.json b/content/docs/(root)/changelog/meta.json
index 9349ed2..72deac9 100644
--- a/content/docs/(root)/changelog/meta.json
+++ b/content/docs/(root)/changelog/meta.json
@@ -1,4 +1,4 @@
{
"title": "Changelog",
- "pages": ["", "2026-08-30-theme-builder"]
+ "pages": [""]
}