2025-02-13 17:28:49 +01:00
|
|
|
import "./globals.css"
|
2025-02-18 22:58:20 +01:00
|
|
|
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-18 22:58:20 +01:00
|
|
|
import Footer from "@/components/footer"
|
2025-02-16 11:29:56 +01:00
|
|
|
import type React from "react"
|
2025-02-13 17:28:49 +01:00
|
|
|
|
|
|
|
const inter = Inter({ subsets: ["latin"] })
|
|
|
|
|
2025-02-18 23:03:35 +01:00
|
|
|
|
2025-02-16 11:29:56 +01:00
|
|
|
|
2025-02-18 22:58:20 +01:00
|
|
|
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:
|
|
|
|
"A menu-driven script for Proxmox VE management, designed to simplify and streamline the execution of commands and tasks.",
|
|
|
|
formatDetection: {
|
|
|
|
email: false,
|
|
|
|
address: false,
|
|
|
|
telephone: false,
|
|
|
|
},
|
2025-02-18 23:03:35 +01:00
|
|
|
metadataBase: new URL(`https://macrimi.github.io/ProxMenux/`),
|
2025-02-18 22:58:20 +01:00
|
|
|
openGraph: {
|
|
|
|
title: "ProxMenux",
|
|
|
|
description:
|
|
|
|
"A menu-driven script for Proxmox VE management, designed to simplify and streamline the execution of commands and tasks.",
|
|
|
|
url: "/main.png",
|
|
|
|
siteName: "ProxMenux",
|
|
|
|
images: [
|
|
|
|
{
|
|
|
|
url: `https://raw.githubusercontent.com/MacRimi/ProxMenux/main/web/public/main.png`,
|
|
|
|
width: 1363,
|
|
|
|
height: 735,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
locale: "en_US",
|
|
|
|
type: "website",
|
|
|
|
},
|
|
|
|
twitter: {
|
|
|
|
card: "summary_large_image",
|
|
|
|
title: "ProxMenux",
|
|
|
|
description:
|
|
|
|
"A menu-driven script for Proxmox VE management, designed to simplify and streamline the execution of commands and tasks.",
|
|
|
|
images: [`https://raw.githubusercontent.com/MacRimi/ProxMenux/main/web/public/main.png`],
|
|
|
|
},
|
|
|
|
icons: {
|
|
|
|
icon: [
|
2025-02-18 23:07:41 +01:00
|
|
|
{ url: `https://raw.githubusercontent.com/MacRimi/ProxMenux/main/web/public/favicon.ico`, sizes: "any" },
|
|
|
|
{ url: `https://raw.githubusercontent.com/MacRimi/ProxMenux/main/web/public/icon.svg`, type: "image/svg+xml" },
|
2025-02-18 22:58:20 +01:00
|
|
|
],
|
2025-02-18 23:07:41 +01:00
|
|
|
apple: [{ url: `https://raw.githubusercontent.com/MacRimi/ProxMenux/main/web/public/apple-touch-icon.png`, sizes: "180x180" } as const],
|
2025-02-18 22:58:20 +01:00
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
2025-02-13 17:28:49 +01:00
|
|
|
return (
|
|
|
|
<html lang="en" className="dark">
|
2025-02-18 22:58:20 +01:00
|
|
|
<head>
|
|
|
|
<link rel="canonical" href={metadata.metadataBase.href} />
|
|
|
|
{metadata.icons.icon.map((icon, index) => (
|
|
|
|
<link key={index} rel="icon" type={icon.type} sizes={icon.sizes} href={icon.url} />
|
|
|
|
))}
|
|
|
|
{metadata.icons.apple.map((icon, index) => (
|
|
|
|
<link key={index} rel="apple-touch-icon" sizes={icon.sizes} href={icon.url} />
|
|
|
|
))}
|
|
|
|
</head>
|
2025-02-13 17:28:49 +01:00
|
|
|
<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-18 22:58:20 +01:00
|
|
|
<Footer />
|
2025-02-13 17:28:49 +01:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
)
|
2025-02-18 22:58:20 +01:00
|
|
|
}
|