Buckets:
| import Alert from "./alert"; | |
| import Footer from "./footer"; | |
| import Meta from "./meta"; | |
| import "lazysizes"; | |
| import "lazysizes/plugins/parent-fit/ls.parent-fit"; | |
| import { ReactNode } from "react"; | |
| type LayoutProps = { | |
| preview: boolean; | |
| children: ReactNode; | |
| }; | |
| const Layout = ({ preview, children }: LayoutProps) => { | |
| return ( | |
| <> | |
| <Meta /> | |
| <div className="min-h-screen"> | |
| <Alert preview={preview} /> | |
| <main>{children}</main> | |
| </div> | |
| <Footer /> | |
| </> | |
| ); | |
| }; | |
| export default Layout; | |
Xet Storage Details
- Size:
- 529 Bytes
- Xet hash:
- cf6c8e027dea5878f0594f69e0b6c1001916479a870765fc252031673a8d3e34
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.