silverwolf-x's picture
download
raw
627 Bytes
import { draftMode } from "next/headers";
import { Inter } from "next/font/google";
import "@/app/globals.css";
import Navigation from "@/components/Globals/Navigation/Navigation";
import { PreviewNotice } from "@/components/Globals/PreviewNotice/PreviewNotice";
const inter = Inter({ subsets: ["latin"] });
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
const { isEnabled } = draftMode();
return (
<html lang="en">
<body className={inter.className}>
{isEnabled && <PreviewNotice />}
<Navigation />
{children}
</body>
</html>
);
}

Xet Storage Details

Size:
627 Bytes
·
Xet hash:
d602d6117ce91cd9043602a857bef736669a161cb9fbf0a2faf3030d2f5985cc

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.