Spaces:
Sleeping
Sleeping
Download src/app/layout.tsx from veltrixcode/Iot: direct link, hf CLI and curl.
- Browser
- Download file 1.15 kB
-
https://huggingface.co/spaces/veltrixcode/Iot/resolve/main/src/app/layout.tsx
- Command line
-
hf download hf://spaces/veltrixcode/Iot/src/app/layout.tsx
-
curl -L -o layout.tsx https://huggingface.co/spaces/veltrixcode/Iot/resolve/main/src/app/layout.tsx
1.15 kB
| import type { Metadata } from "next"; | |
| import "./globals.css"; | |
| import { ThemeProvider } from "@/components/theme-provider"; | |
| import { Navbar } from "@/components/navbar"; | |
| import { Geist, Geist_Mono } from "next/font/google"; | |
| const geistSans = Geist({ | |
| variable: "--font-geist-sans", | |
| subsets: ["latin"], | |
| }); | |
| const geistMono = Geist_Mono({ | |
| variable: "--font-geist-mono", | |
| subsets: ["latin"], | |
| }); | |
| export const metadata: Metadata = { | |
| title: "Imyra - Generate Amazing Images", | |
| description: "Create stunning AI art with Flux and Stable Diffusion models.", | |
| }; | |
| export default function RootLayout({ | |
| children, | |
| }: Readonly<{ | |
| children: React.ReactNode; | |
| }>) { | |
| return ( | |
| <html lang="en" suppressHydrationWarning> | |
| <body | |
| className={`${geistSans.variable} ${geistMono.variable} antialiased min-h-screen flex flex-col`} | |
| > | |
| <ThemeProvider | |
| attribute="class" | |
| defaultTheme="light" | |
| enableSystem | |
| disableTransitionOnChange | |
| > | |
| <Navbar /> | |
| <main className="flex-1"> | |
| {children} | |
| </main> | |
| </ThemeProvider> | |
| </body> | |
| </html> | |
| ); | |
| } | |