ProxMenux/web/app/layout.tsx

60 lines
1.6 KiB
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-17 18:45:13 +01:00
const basePath = "/ProxMenux"
const description =
"A menu-driven script for Proxmox VE management, designed to facilitate productivity, it simplifies automation and streamlines task execution."
2025-02-18 18:47:35 +01:00
export const metadata = {
title: "ProxMenux",
2025-02-18 17:09:54 +01:00
generator: "Next.js",
applicationName: "ProxMenux",
referrer: "origin-when-cross-origin",
keywords: ["Proxmox VE", "VE", "ProxMenux", "MacRimi", "menu-driven", "menu", "scripts", "virtualization"],
2025-02-18 18:47:35 +01:00
authors: { name: "MacRimi" },
2025-02-18 17:09:54 +01:00
creator: "MacRimi",
publisher: "MacRimi",
2025-02-18 18:47:35 +01:00
description,
favicon: "/favicon.ico",
2025-02-18 17:09:54 +01:00
formatDetection: {
email: false,
address: false,
telephone: false,
},
2025-02-18 18:11:53 +01:00
metadataBase: new URL(`https://macrimi.github.io${basePath}/`),
2025-02-18 17:09:54 +01:00
openGraph: {
title: "ProxMenux",
description,
2025-02-18 18:47:35 +01:00
url: "/main.png",
2025-02-18 17:09:54 +01:00
images: [
{
url: `https://macrimi.github.io${basePath}/main.png`,
},
],
locale: "en_US",
type: "website",
},
2025-02-18 18:15:09 +01:00
}
2025-02-16 11:29:56 +01:00
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 />
2025-02-17 22:25:11 +01:00
<div className="pt-16 md:pt-16">{children}</div>
2025-02-13 17:28:49 +01:00
</body>
</html>
)
2025-02-18 18:47:35 +01:00
}