| 1 | import type React from "react"; |
| 2 | |
| 3 | import PresentationHeader from "@/components/presentation/core/PresentationHeader"; |
| 4 | import { PresentationThemeProvider } from "@/components/presentation/providers/PresentationThemeProvider"; |
| 5 | |
| 6 | export default async function PresentationLayout({ |
| 7 | children, |
| 8 | }: { |
| 9 | children: React.ReactNode; |
| 10 | }) { |
| 11 | return ( |
| 12 | <PresentationThemeProvider> |
| 13 | <div className="flex h-screen w-screen flex-col supports-[(height:100dvh)]:h-dvh"> |
| 14 | <PresentationHeader /> |
| 15 | <main className="relative flex flex-1 overflow-hidden"> |
| 16 | <div className="sheet-container h-full max-h-full flex-1 place-items-center overflow-x-clip overflow-y-auto"> |
| 17 | {children} |
| 18 | </div> |
| 19 | </main> |
| 20 | </div> |
| 21 | </PresentationThemeProvider> |
| 22 | ); |
| 23 | } |
| 24 |