ProxMenux/web/app/layout.tsx
2025-02-18 18:47:35 +01:00

60 lines
1.6 KiB
TypeScript

import "./globals.css"
import { Inter } from "next/font/google"
import Navbar from "@/components/navbar"
import MouseMoveEffect from "@/components/mouse-move-effect"
import type React from "react"
import type { Metadata } from "next"
const inter = Inter({ subsets: ["latin"] })
const basePath = "/ProxMenux"
const description =
"A menu-driven script for Proxmox VE management, designed to facilitate productivity, it simplifies automation and streamlines task execution."
export const metadata = {
title: "ProxMenux",
generator: "Next.js",
applicationName: "ProxMenux",
referrer: "origin-when-cross-origin",
keywords: ["Proxmox VE", "VE", "ProxMenux", "MacRimi", "menu-driven", "menu", "scripts", "virtualization"],
authors: { name: "MacRimi" },
creator: "MacRimi",
publisher: "MacRimi",
description,
favicon: "/favicon.ico",
formatDetection: {
email: false,
address: false,
telephone: false,
},
metadataBase: new URL(`https://macrimi.github.io${basePath}/`),
openGraph: {
title: "ProxMenux",
description,
url: "/main.png",
images: [
{
url: `https://macrimi.github.io${basePath}/main.png`,
},
],
locale: "en_US",
type: "website",
},
}
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en" className="dark">
<body className={`${inter.className} bg-background text-foreground antialiased`}>
<Navbar />
<MouseMoveEffect />
<div className="pt-16 md:pt-16">{children}</div>
</body>
</html>
)
}