From 811c9b03bb855735f3dc02ecd3ce06028f6cb429 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Tue, 18 Feb 2025 22:20:33 +0100 Subject: [PATCH] Update --- web/app/layout.tsx | 28 ++++++++++++++++++++-------- web/app/page.tsx | 41 ++++------------------------------------- 2 files changed, 24 insertions(+), 45 deletions(-) diff --git a/web/app/layout.tsx b/web/app/layout.tsx index dd46841..f6f3f9f 100644 --- a/web/app/layout.tsx +++ b/web/app/layout.tsx @@ -1,21 +1,31 @@ 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 { metadata } from './metadata' +import { metadata } from "./metadata" const inter = Inter({ subsets: ["latin"] }) export { metadata } -export default function RootLayout({ - children, -}: { - children: React.ReactNode -}) { +export default function RootLayout({ children }: { children: React.ReactNode }) { return ( + + {metadata.title?.default} + + + + + + + + + + + + @@ -23,4 +33,6 @@ export default function RootLayout({ ) -} \ No newline at end of file +} + + diff --git a/web/app/page.tsx b/web/app/page.tsx index 1b8b5e7..1c16091 100644 --- a/web/app/page.tsx +++ b/web/app/page.tsx @@ -1,39 +1,7 @@ -import dynamic from "next/dynamic" -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 = { - ...siteMetadata, - title: "ProxMenux ", - description: - "A menu-driven script for Proxmox VE management, designed to simplify and streamline the execution of commands and tasks.", - openGraph: { - ...siteMetadata.openGraph, - title: "ProxMenux ", - description: - "A menu-driven script for Proxmox VE management, designed to simplify and streamline the execution of commands and tasks.", - images: [ - { - url: "https://macrimi.github.io/ProxMenux/main.png", - width: 1363, - height: 735, - alt: "ProxMenux ", - }, - ], - }, - twitter: { - ...siteMetadata.twitter, - title: "ProxMenux", - description: - "A menu-driven script for Proxmox VE management, designed to simplify and streamline the execution of commands and tasks.", - images: [`https://macrimi.github.io/ProxMenux/main.png`], - }, -} +import Hero from "@/components/hero" +import Resources from "@/components/resources" +import SupportProject from "@/components/support-project" +import Footer from "@/components/footer" export default function Home() { return ( @@ -45,4 +13,3 @@ export default function Home() { ) } -