diff --git a/web/app/layout.tsx b/web/app/layout.tsx index dd46841..1392848 100644 --- a/web/app/layout.tsx +++ b/web/app/layout.tsx @@ -1,26 +1,82 @@ import "./globals.css" -import { Inter } from 'next/font/google' +import { Inter } from "next/font/google" import Navbar from "@/components/navbar" import MouseMoveEffect from "@/components/mouse-move-effect" +import Footer from "@/components/footer" import type React from "react" -import { metadata } from './metadata' const inter = Inter({ subsets: ["latin"] }) -export { metadata } +const basePath = "/ProxMenux" -export default function RootLayout({ - children, -}: { - children: React.ReactNode -}) { +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, + }, + metadataBase: new URL(`https://macrimi.github.io${basePath}/`), + 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: [ + { 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" }, + ], + apple: [{ url: `https://raw.githubusercontent.com/MacRimi/ProxMenux/main/web/public/apple-touch-icon.png` }], + }, +} + +export default function RootLayout({ children }: { children: React.ReactNode }) { return ( + + + {metadata.icons.icon.map((icon, index) => ( + + ))} + {metadata.icons.apple.map((icon, index) => ( + + ))} +
{children}
+