Skip to content
Merged

chore #646

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
1 change: 1 addition & 0 deletions editor/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ Tenant sites are primarily accessed via **tenant domains** (e.g. `xyz.grida.site
| `(www)` | Public marketing / SEO pages | [`app/(www)/SEO.md`](<app/(www)/SEO.md>) | Public `grida.co` landing pages and SEO-first routes. |
| `(site)` | Public pages not SEO-first | — | Public routes that aren’t primarily marketing/SEO. |
| `(insiders)` | Insider/local-only routes | — | Local-only/internal tooling and flows. Don’t depend on these for production UX. |
| `(canvas)` | Canvas playground & dev tools | — | Canvas playground, examples, experimental canvas features, and canvas-specific dev tools (e.g. I/O, AI). |
| `(dev)` | Dev-only pages/tools | — | Development-only routes; avoid linking from production UI. |

## Navigation, sitemaps, and docs links
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
GridaBlock,
GridaBlockRenderer,
ObjectFit,
} from "@/app/(dev)/canvas/experimental/grid/blocks";
} from "@/app/(canvas)/canvas/experimental/grid/blocks";
import { InsertPanel } from "./panel";
import React, { useEffect, useState } from "react";
import {
Expand Down
File renamed without changes.
37 changes: 37 additions & 0 deletions editor/app/(canvas)/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import { ThemeProvider } from "@/components/theme-provider";
import { Toaster } from "@/components/ui/sonner";
import { cookies } from "next/headers";
import { TooltipProvider } from "@/components/ui/tooltip";
import { getPlatform } from "@/host/platform";
import PlatformProvider from "@/host/platform-provider";
import "../editor.css";

const inter = Inter({ subsets: ["latin"] });

export const metadata: Metadata = {
title: "Grida",
};

export default async function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
const cookieStore = await cookies();
const platform = await getPlatform(cookieStore);

return (
<html lang="en" suppressHydrationWarning>
<body className={inter.className}>
<ThemeProvider>
<Toaster position="bottom-center" />
<PlatformProvider {...platform}>
<TooltipProvider>{children}</TooltipProvider>
</PlatformProvider>
</ThemeProvider>
</body>
</html>
);
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"oxfmt": "^0.44.0",
"tsup": "^8.5.0",
"tsx": "^4",
"turbo": "^2.8.9",
"turbo": "^2.9.5",
"typescript": "^5",
"vitest": "^4"
},
Expand Down
118 changes: 59 additions & 59 deletions pnpm-lock.yaml

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

Loading