diff --git a/apps/web/app/docs/actions/page.tsx b/apps/web/app/(main)/docs/actions/page.tsx similarity index 100% rename from apps/web/app/docs/actions/page.tsx rename to apps/web/app/(main)/docs/actions/page.tsx diff --git a/apps/web/app/docs/ai-sdk/page.tsx b/apps/web/app/(main)/docs/ai-sdk/page.tsx similarity index 100% rename from apps/web/app/docs/ai-sdk/page.tsx rename to apps/web/app/(main)/docs/ai-sdk/page.tsx diff --git a/apps/web/app/docs/api/codegen/page.tsx b/apps/web/app/(main)/docs/api/codegen/page.tsx similarity index 100% rename from apps/web/app/docs/api/codegen/page.tsx rename to apps/web/app/(main)/docs/api/codegen/page.tsx diff --git a/apps/web/app/docs/api/core/page.tsx b/apps/web/app/(main)/docs/api/core/page.tsx similarity index 100% rename from apps/web/app/docs/api/core/page.tsx rename to apps/web/app/(main)/docs/api/core/page.tsx diff --git a/apps/web/app/docs/api/react/page.tsx b/apps/web/app/(main)/docs/api/react/page.tsx similarity index 100% rename from apps/web/app/docs/api/react/page.tsx rename to apps/web/app/(main)/docs/api/react/page.tsx diff --git a/apps/web/app/docs/catalog/page.tsx b/apps/web/app/(main)/docs/catalog/page.tsx similarity index 100% rename from apps/web/app/docs/catalog/page.tsx rename to apps/web/app/(main)/docs/catalog/page.tsx diff --git a/apps/web/app/docs/code-export/page.tsx b/apps/web/app/(main)/docs/code-export/page.tsx similarity index 100% rename from apps/web/app/docs/code-export/page.tsx rename to apps/web/app/(main)/docs/code-export/page.tsx diff --git a/apps/web/app/docs/components/page.tsx b/apps/web/app/(main)/docs/components/page.tsx similarity index 100% rename from apps/web/app/docs/components/page.tsx rename to apps/web/app/(main)/docs/components/page.tsx diff --git a/apps/web/app/docs/data-binding/page.tsx b/apps/web/app/(main)/docs/data-binding/page.tsx similarity index 100% rename from apps/web/app/docs/data-binding/page.tsx rename to apps/web/app/(main)/docs/data-binding/page.tsx diff --git a/apps/web/app/docs/installation/page.tsx b/apps/web/app/(main)/docs/installation/page.tsx similarity index 100% rename from apps/web/app/docs/installation/page.tsx rename to apps/web/app/(main)/docs/installation/page.tsx diff --git a/apps/web/app/docs/layout.tsx b/apps/web/app/(main)/docs/layout.tsx similarity index 100% rename from apps/web/app/docs/layout.tsx rename to apps/web/app/(main)/docs/layout.tsx diff --git a/apps/web/app/docs/page.tsx b/apps/web/app/(main)/docs/page.tsx similarity index 100% rename from apps/web/app/docs/page.tsx rename to apps/web/app/(main)/docs/page.tsx diff --git a/apps/web/app/docs/quick-start/page.tsx b/apps/web/app/(main)/docs/quick-start/page.tsx similarity index 100% rename from apps/web/app/docs/quick-start/page.tsx rename to apps/web/app/(main)/docs/quick-start/page.tsx diff --git a/apps/web/app/docs/streaming/page.tsx b/apps/web/app/(main)/docs/streaming/page.tsx similarity index 100% rename from apps/web/app/docs/streaming/page.tsx rename to apps/web/app/(main)/docs/streaming/page.tsx diff --git a/apps/web/app/docs/validation/page.tsx b/apps/web/app/(main)/docs/validation/page.tsx similarity index 100% rename from apps/web/app/docs/validation/page.tsx rename to apps/web/app/(main)/docs/validation/page.tsx diff --git a/apps/web/app/docs/visibility/page.tsx b/apps/web/app/(main)/docs/visibility/page.tsx similarity index 100% rename from apps/web/app/docs/visibility/page.tsx rename to apps/web/app/(main)/docs/visibility/page.tsx diff --git a/apps/web/app/(main)/layout.tsx b/apps/web/app/(main)/layout.tsx new file mode 100644 index 0000000..89ea65f --- /dev/null +++ b/apps/web/app/(main)/layout.tsx @@ -0,0 +1,16 @@ +import { Header } from "@/components/header"; +import { Footer } from "@/components/footer"; + +export default function MainLayout({ + children, +}: { + children: React.ReactNode; +}) { + return ( +
- Let users generate dashboards, widgets, apps, and data visualizations - from prompts — safely constrained to components you define. + Define a component catalog. Users prompt. AI outputs JSON constrained + to your catalog. Your components render it.
- Try json-render with a live example. -
- -- Clone the repository and run the example dashboard. -
-
- {`git clone https://github.com/vercel-labs/json-render
-cd json-render
-pnpm install
-pnpm dev`}
-
-
- Open http://localhost:3001 for the example dashboard.
-
- Try these prompts in the example dashboard: -
-- A browser-based playground is coming soon. -
- -