Files
claw3d/src/app/office/builder/page.tsx
T
Luke The Dev 4fa4f13558 First Release of Claw3D (#11)
Co-authored-by: iamlukethedev <iamlukethedev@users.noreply.github.com>
2026-03-19 23:14:04 -05:00

22 lines
774 B
TypeScript

import { OfficeBuilderPanel } from "@/features/office/components/OfficeBuilderPanel";
import { createStarterOfficeMap, normalizeOfficeMap } from "@/lib/office/schema";
import { getPublishedOfficeMap } from "@/lib/office/store";
const WORKSPACE_ID = "default";
const OFFICE_ID = "hq";
export default function OfficeBuilderPage() {
const fallback = createStarterOfficeMap({
workspaceId: WORKSPACE_ID,
officeVersionId: "builder-draft",
width: 1600,
height: 900,
});
const map = normalizeOfficeMap(getPublishedOfficeMap(WORKSPACE_ID), fallback);
return (
<main className="relative h-screen w-screen overflow-hidden bg-background p-3">
<OfficeBuilderPanel initialMap={map} workspaceId={WORKSPACE_ID} officeId={OFFICE_ID} />
</main>
);
}