diff --git a/web/app/layout.tsx b/web/app/layout.tsx index 71c9f35..5bc7839 100644 --- a/web/app/layout.tsx +++ b/web/app/layout.tsx @@ -7,8 +7,6 @@ import type React from "react" const inter = Inter({ subsets: ["latin"] }) - - export const metadata = { title: "ProxMenux", generator: "Next.js", @@ -30,13 +28,14 @@ export const metadata = { 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", + url: "https://macrimi.github.io/ProxMenux/", siteName: "ProxMenux", images: [ { - url: `https://raw.githubusercontent.com/MacRimi/ProxMenux/main/web/public/main.png`, + url: "https://macrimi.github.io/ProxMenux/main.png", width: 1363, height: 735, + alt: "ProxMenux", }, ], locale: "en_US", @@ -47,14 +46,14 @@ export const metadata = { 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`], + images: ["https://macrimi.github.io/ProxMenux/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" }, + { url: "https://macrimi.github.io/ProxMenux/favicon.ico", sizes: "any" }, + { url: "https://macrimi.github.io/ProxMenux/icon.svg", type: "image/svg+xml" }, ], - apple: [{ url: `https://raw.githubusercontent.com/MacRimi/ProxMenux/main/web/public/apple-touch-icon.png`, sizes: "180x180" } as const], + apple: [{ url: "https://macrimi.github.io/ProxMenux/apple-touch-icon.png", sizes: "180x180" } as const], }, } @@ -62,7 +61,18 @@ export default function RootLayout({ children }: { children: React.ReactNode }) return (
+ + + + + + + + + + + {/* Favicon y Apple Icons */} {metadata.icons.icon.map((icon, index) => ( ))} diff --git a/web/app/page.tsx b/web/app/page.tsx index 26d317a..f5a54dd 100644 --- a/web/app/page.tsx +++ b/web/app/page.tsx @@ -1,14 +1,8 @@ -import type { Metadata } from "next" import Hero from "@/components/hero" import Resources from "@/components/resources" import SupportProject from "@/components/support-project" import Footer from "@/components/footer" -export const metadata: Metadata = { - title: "ProxMenux", - description: - "A menu-driven script for Proxmox VE management, designed to simplify and streamline the execution of commands and tasks.", -} export default function Home() { return (