Download next.js/examples/cms-sanity/app/(sanity)/layout.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 444 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/cms-sanity/app/(sanity)/layout.tsx
- Command line
-
hf download 'hf://datasets/Devendra174/react-code-dataset/next.js/examples/cms-sanity/app/(sanity)/layout.tsx'
-
curl -L -o layout.tsx 'https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/cms-sanity/app/(sanity)/layout.tsx'
444 Bytes
| import "../globals.css"; | |
| import { Inter } from "next/font/google"; | |
| const inter = Inter({ | |
| variable: "--font-inter", | |
| subsets: ["latin"], | |
| display: "swap", | |
| }); | |
| export { metadata, viewport } from "next-sanity/studio"; | |
| export default function RootLayout({ | |
| children, | |
| }: { | |
| children: React.ReactNode; | |
| }) { | |
| return ( | |
| <html lang="en" className={inter.variable}> | |
| <body className="min-h-screen">{children}</body> | |
| </html> | |
| ); | |
| } | |