Spaces:
Paused
Paused
Download frontend/src/app/layout.tsx from adekolateam/arkitel: direct link, hf CLI and curl.
- Browser
- Download file 1.21 kB
-
https://huggingface.co/spaces/adekolateam/arkitel/resolve/main/frontend/src/app/layout.tsx
- Command line
-
hf download hf://spaces/adekolateam/arkitel/frontend/src/app/layout.tsx
-
curl -L -o layout.tsx https://huggingface.co/spaces/adekolateam/arkitel/resolve/main/frontend/src/app/layout.tsx
1.21 kB
| import type { Metadata } from "next"; | |
| import { Geist, Geist_Mono } from "next/font/google"; | |
| import { ThemeProvider } from "@/components/theme-provider"; | |
| import { Sidebar } from "@/components/Sidebar"; | |
| import "./globals.css"; | |
| const geistSans = Geist({ | |
| variable: "--font-geist-sans", | |
| subsets: ["latin"], | |
| }); | |
| const geistMono = Geist_Mono({ | |
| variable: "--font-geist-mono", | |
| subsets: ["latin"], | |
| }); | |
| export const metadata: Metadata = { | |
| title: "ArkiTel Automation", | |
| description: "Advanced Telegram automation platform", | |
| }; | |
| export default function RootLayout({ | |
| children, | |
| }: Readonly<{ | |
| children: React.ReactNode; | |
| }>) { | |
| return ( | |
| <html lang="en" suppressHydrationWarning className="dark"> | |
| <body | |
| className={`${geistSans.variable} ${geistMono.variable} antialiased selection:bg-blue-500/30 font-sans min-h-screen bg-background text-foreground overflow-x-hidden`} | |
| > | |
| <ThemeProvider | |
| attribute="class" | |
| defaultTheme="dark" | |
| forcedTheme="dark" | |
| enableSystem={false} | |
| disableTransitionOnChange | |
| > | |
| <Sidebar> | |
| {children} | |
| </Sidebar> | |
| </ThemeProvider> | |
| </body> | |
| </html> | |
| ); | |
| } | |