mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-10-01 23:56:18 +00:00
34 lines
958 B
TypeScript
34 lines
958 B
TypeScript
import type React from "react"
|
|
import type { Metadata } from "next"
|
|
import { GeistSans } from "geist/font/sans"
|
|
import { GeistMono } from "geist/font/mono"
|
|
import { Analytics } from "@vercel/analytics/next"
|
|
import { ThemeProvider } from "@/components/theme-provider"
|
|
import { Suspense } from "react"
|
|
import "./globals.css"
|
|
|
|
export const metadata: Metadata = {
|
|
title: "ProxMenux Monitor",
|
|
description: "Proxmox System Dashboard",
|
|
generator: "v0.app",
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<body className={`font-sans ${GeistSans.variable} ${GeistMono.variable}`}>
|
|
<Suspense fallback={null}>
|
|
<ThemeProvider attribute="class" defaultTheme="system" enableSystem disableTransitionOnChange>
|
|
{children}
|
|
</ThemeProvider>
|
|
</Suspense>
|
|
<Analytics />
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|