ProxMenux/web/app/layout.tsx

39 lines
992 B
TypeScript
Raw Normal View History

2025-02-13 17:28:49 +01:00
import "./globals.css"
import { Inter } from "next/font/google"
2025-02-13 23:04:40 +01:00
import Navbar from "@/components/navbar"
import MouseMoveEffect from "@/components/mouse-move-effect"
2025-02-16 11:29:56 +01:00
import type React from "react"
import type { Metadata } from "next"
2025-02-13 17:28:49 +01:00
const inter = Inter({ subsets: ["latin"] })
2025-02-16 11:29:56 +01:00
export const metadata: Metadata = {
title: "ProxMenux",
description: "A menu-driven script for Proxmox VE management",
icons: {
icon: [
{ url: "/favicon.ico", sizes: "any" },
{ url: "/icon.svg", type: "image/svg+xml" },
{ url: "/icon.png", type: "image/png" },
],
apple: [{ url: "/apple-touch-icon.png" }],
},
}
2025-02-13 23:04:40 +01:00
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
2025-02-13 17:28:49 +01:00
return (
<html lang="en" className="dark">
<body className={`${inter.className} bg-background text-foreground antialiased`}>
2025-02-13 23:04:40 +01:00
<Navbar />
<MouseMoveEffect />
<div className="pt-16 md:pt-16">{children}</div>
2025-02-13 17:28:49 +01:00
</body>
</html>
)
}
2025-02-13 23:04:40 +01:00