mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 04:06:54 +00:00
Update
This commit is contained in:
parent
d34890988b
commit
249934786c
@ -1,48 +1,13 @@
|
||||
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 type React from "react"
|
||||
import type { Metadata } from "next"
|
||||
import { metadata } from './metadata'
|
||||
|
||||
const inter = Inter({ subsets: ["latin"] })
|
||||
|
||||
const basePath = "/ProxMenux"
|
||||
|
||||
const description =
|
||||
"A menu-driven script for Proxmox VE management, designed to facilitate productivity, it simplifies automation and streamlines task execution."
|
||||
|
||||
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,
|
||||
favicon: "/favicon.ico",
|
||||
apple: "/apple-touch-icon.png",
|
||||
formatDetection: {
|
||||
email: false,
|
||||
address: false,
|
||||
telephone: false,
|
||||
},
|
||||
metadataBase: new URL(`https://macrimi.github.io${basePath}/`),
|
||||
openGraph: {
|
||||
title: "ProxMenux",
|
||||
description,
|
||||
url: "/main.png",
|
||||
images: [
|
||||
{
|
||||
url: `https://macrimi.github.io${basePath}/main.png`,
|
||||
},
|
||||
],
|
||||
locale: "en_US",
|
||||
type: "website",
|
||||
},
|
||||
}
|
||||
export { metadata }
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
|
54
web/app/metadata.ts
Normal file
54
web/app/metadata.ts
Normal file
@ -0,0 +1,54 @@
|
||||
import type { Metadata } from 'next'
|
||||
|
||||
const basePath = "/ProxMenux"
|
||||
|
||||
const description = "A menu-driven script for Proxmox VE management, designed to facilitate productivity, it simplifies automation and streamlines task execution."
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: {
|
||||
default: "ProxMenux",
|
||||
template: "%s | ProxMenux",
|
||||
},
|
||||
description,
|
||||
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",
|
||||
formatDetection: {
|
||||
email: false,
|
||||
address: false,
|
||||
telephone: false,
|
||||
},
|
||||
metadataBase: new URL(`https://macrimi.github.io${basePath}/`),
|
||||
openGraph: {
|
||||
title: "ProxMenux",
|
||||
description,
|
||||
url: `https://macrimi.github.io${basePath}/`,
|
||||
siteName: "ProxMenux",
|
||||
images: [
|
||||
{
|
||||
url: `https://macrimi.github.io${basePath}/main.png`,
|
||||
width: 1363,
|
||||
height: 735,
|
||||
},
|
||||
],
|
||||
locale: "en_US",
|
||||
type: "website",
|
||||
},
|
||||
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" }],
|
||||
},
|
||||
}
|
@ -1,29 +1,22 @@
|
||||
import dynamic from "next/dynamic"
|
||||
import { Metadata } from "next"
|
||||
import type { Metadata } from "next"
|
||||
import { metadata as siteMetadata } from './metadata'
|
||||
|
||||
const Hero = dynamic(() => import("@/components/hero"), { ssr: false })
|
||||
const Resources = dynamic(() => import("@/components/resources"), { ssr: false })
|
||||
const SupportProject = dynamic(() => import("@/components/support-project"), { ssr: false })
|
||||
const Footer = dynamic(() => import("@/components/footer"), { ssr: false })
|
||||
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "ProxMenux",
|
||||
description:
|
||||
"A menu-driven script for Proxmox VE management, designed to facilitate productivity, it simplifies automation and streamlines task execution.",
|
||||
...siteMetadata,
|
||||
title: "ProxMenux - Home",
|
||||
openGraph: {
|
||||
title: "ProxMenux",
|
||||
description:
|
||||
"A menu-driven script for Proxmox VE management, designed to facilitate productivity, it simplifies automation and streamlines task execution.",
|
||||
url: "https://macrimi.github.io/ProxMenux/",
|
||||
siteName: "ProxMenux",
|
||||
images: [
|
||||
{
|
||||
url: "https://macrimi.github.io/ProxMenux/main.png",
|
||||
...siteMetadata.openGraph,
|
||||
title: "ProxMenux - Home",
|
||||
},
|
||||
],
|
||||
locale: "en_US",
|
||||
type: "website",
|
||||
twitter: {
|
||||
...siteMetadata.twitter,
|
||||
title: "ProxMenux - Home",
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user