Files
Proxmox/app/layout.tsx
2024-05-21 15:04:51 +02:00

87 lines
2.3 KiB
TypeScript

import { Inter } from "next/font/google";
import "./globals.css";
import { ThemeProvider } from "@/components/theme-provider";
import { Toaster } from "@/components/ui/sonner";
import Navbar from "@/components/Navbar";
import Footer from "@/components/Footer";
import React from "react";
import { title } from "process";
const inter = Inter({ subsets: ["latin"] });
export const metadata = {
title: "proxmox VE Helper-Scripts | Scripts for Streamlining Your Homelab with Proxmox VE",
generator: "Next.js",
applicationName: "Proxmox VE Helper-Scripts",
referrer: "origin-when-cross-origin",
keywords: [
"Proxmox VE",
"Helper-Scripts",
"tteck",
"helper",
"scripts",
"proxmox",
"VE",
],
authors: [{ name: "tteck" }, { name: "Bram" }],
creator: "tteck, Bram Suurd",
publisher: "tteck, Bram Suurd",
description:
"Scripts for Streamlining Your Homelab with Proxmox VE",
favicon: "/app/favicon.ico",
formatDetection: {
email: false,
address: false,
telephone: false,
},
metadataBase: new URL("https://helper-scripts.com/"),
openGraph: {
title: "Proxmox VE Helper-Scripts",
description: "Scripts for Streamlining Your Homelab with Proxmox VE",
url: "/defaultimg.png",
images: [
{
url: "https://helper-scripts.com/defaultimg.png",
},
],
locale: "en_US",
type: "website",
},
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<head>
<script
defer
src="https://analytics.pvehs.com/script.js"
data-website-id="c43f9685-6302-4359-a049-2936ccc6b7ca"
></script>
</head>
<body className={inter.className}>
<ThemeProvider
attribute="class"
defaultTheme="system"
enableSystem
disableTransitionOnChange
>
<div className="flex w-full flex-col justify-center">
<Navbar />
<div className="flex w-full justify-center">
<div className="w-full max-w-7xl ">
{children}
<Toaster richColors />
</div>
</div>
<Footer />
</div>
</ThemeProvider>
</body>
</html>
);
}