Initial commit

This commit is contained in:
Rami Bitar
2026-06-03 13:58:11 -04:00
commit 47b773444e
125 changed files with 16971 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
"use client";
import { EditorShell } from "@/app/_components/editor-shell";
import { collectionsConfig } from "@/config/configs";
import schema from "@/app.schema.json";
export default function CollectionEditorPage() {
const data = (schema as any)["/collections/:handle"];
return (
<EditorShell
config={collectionsConfig}
data={data}
routeKey="/collections/:handle"
/>
);
}

10
app/editor/page.tsx Normal file
View File

@@ -0,0 +1,10 @@
"use client";
import { EditorShell } from "@/app/_components/editor-shell";
import { homeConfig } from "@/config/configs";
import schema from "@/app.schema.json";
export default function HomeEditorPage() {
const data = (schema as any)["/"];
return <EditorShell config={homeConfig} data={data} routeKey="/" />;
}

View File

@@ -0,0 +1,16 @@
"use client";
import { EditorShell } from "@/app/_components/editor-shell";
import { productConfig } from "@/config/configs";
import schema from "@/app.schema.json";
export default function ProductEditorPage() {
const data = (schema as any)["/products/:handle"];
return (
<EditorShell
config={productConfig}
data={data}
routeKey="/products/:handle"
/>
);
}

View File

@@ -0,0 +1,10 @@
"use client";
import { EditorShell } from "@/app/_components/editor-shell";
import { searchConfig } from "@/config/configs";
import schema from "@/app.schema.json";
export default function SearchEditorPage() {
const data = (schema as any)["/search"];
return <EditorShell config={searchConfig} data={data} routeKey="/search" />;
}