Files
claude-office/src/App.tsx
T

25 lines
601 B
TypeScript
Raw Normal View History

import { useEffect } from "react";
import { FloorPlan } from "./components/FloorPlan";
import { HeaderBar } from "./components/HeaderBar";
import { SidePanel } from "./components/SidePanel";
import { startRuntime } from "./sim/runtime";
import { useOfficeStore } from "./store/office-store";
export default function App() {
const theme = useOfficeStore((s) => s.theme);
useEffect(() => {
startRuntime();
}, []);
return (
<div className={`app ${theme}`}>
<HeaderBar />
<div className="main-row">
<FloorPlan />
<SidePanel />
</div>
</div>
);
}