silancar/app/layout.tsx

43 lines
949 B
TypeScript
Raw Normal View History

2026-03-18 08:02:37 +00:00
import { Geist_Mono, Inter, Roboto } from "next/font/google"
2026-03-18 04:16:10 +00:00
import "./globals.css"
import { ThemeProvider } from "@/components/theme-provider"
2026-03-18 08:02:37 +00:00
import { cn } from "@/lib/utils"
2026-03-18 04:16:10 +00:00
2026-03-18 08:02:37 +00:00
const inter = Inter({ subsets: ["latin"], variable: "--font-sans" })
2026-03-18 04:16:10 +00:00
const fontMono = Geist_Mono({
subsets: ["latin"],
variable: "--font-mono",
})
2026-03-18 08:02:37 +00:00
const roboto = Roboto({
subsets: ["latin"],
weight: ["400", "700", "900"],
variable: "--font-roboto",
})
2026-03-18 04:16:10 +00:00
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode
}>) {
return (
<html
lang="en"
suppressHydrationWarning
2026-03-18 08:02:37 +00:00
className={cn(
"antialiased",
fontMono.variable,
inter.variable,
roboto.variable,
"font-sans"
)}
2026-03-18 04:16:10 +00:00
>
2026-03-18 08:02:37 +00:00
<body className="min-h-screen bg-[url('/main-background.png')] bg-cover bg-center bg-no-repeat">
2026-03-18 04:16:10 +00:00
<ThemeProvider>{children}</ThemeProvider>
</body>
</html>
)
}