ProxMenux/web/app/layout.tsx

89 lines
2.2 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:02:02 +01:00
export const metadata: Metadata = {
title: {
default: "ProxMenux",
template: "%s | ProxMenux",
},
description,
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:02:02 +01:00
authors: [{ name: "MacRimi" }],
2025-02-18 17:09:54 +01:00
creator: "MacRimi",
publisher: "MacRimi",
formatDetection: {
email: false,
address: false,
telephone: false,
},
2025-02-18 18:02:02 +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:02:02 +01:00
url: `https://macrimi.github.io${basePath}/`,
siteName: "ProxMenux",
2025-02-18 17:09:54 +01:00
images: [
{
url: `https://macrimi.github.io${basePath}/main.png`,
2025-02-18 18:02:02 +01:00
width: 1200,
height: 630,
alt: "ProxMenux Dashboard Preview",
2025-02-18 17:09:54 +01:00
},
],
locale: "en_US",
type: "website",
},
2025-02-18 18:02:02 +01:00
twitter: {
card: "summary_large_image",
title: "ProxMenux",
description,
images: [`https://macrimi.github.io${basePath}/main.png`],
},
icons: {
icon: [
{ url: "/favicon.ico", sizes: "any" },
{ url: "/icon.svg", type: "image/svg+xml" },
],
apple: [{ url: "/apple-touch-icon.png" }],
favicon: "/app/favicon.ico",
}
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-13 23:04:40 +01:00
2025-02-18 17:09:54 +01:00