demeter

Autonomous Hydroponic Intelligence

frontend/src/components/ui/PageShell.jsx (510B)


 1import Sidebar from "../Sidebar";
 2
 3export default function PageShell({ children }) {
 4  return (
 5    <div
 6      style={{
 7        display: "flex",
 8        height: "100vh",
 9        overflow: "hidden",
10        background: "var(--bg)",
11      }}
12    >
13      <Sidebar />
14      <main
15        className="animate-fade-in"
16        style={{
17          flex: 1,
18          display: "flex",
19          flexDirection: "column",
20          overflow: "hidden",
21        }}
22      >
23        {children}
24      </main>
25    </div>
26  );
27}