2025-04-01 16:17:55 +02:00
import type { Metadata } from "next" ;
2025-06-28 00:38:09 +02:00
2024-11-04 23:55:08 +01:00
import { NuqsAdapter } from "nuqs/adapters/next/app" ;
2025-06-28 00:38:09 +02:00
import { Inter } from "next/font/google" ;
2024-11-09 20:06:54 +01:00
import React from "react" ;
2024-11-04 23:55:08 +01:00
2025-06-28 00:38:09 +02:00
import { ThemeProvider } from "@/components/theme-provider" ;
import { analytics , basePath } from "@/config/site-config" ;
import "@/styles/globals.css" ;
import QueryProvider from "@/components/query-provider" ;
import { Toaster } from "@/components/ui/sonner" ;
import Footer from "@/components/footer" ;
import Navbar from "@/components/navbar" ;
2024-11-04 23:55:08 +01:00
const inter = Inter ( { subsets : [ "latin" ] } ) ;
2025-06-28 00:38:09 +02:00
export const metadata : Metadata = {
2024-11-04 23:55:08 +01:00
title : "Proxmox VE Helper-Scripts" ,
2025-04-01 16:17:55 +02:00
description :
"The official website for the Proxmox VE Helper-Scripts (Community) Repository. Featuring over 300+ scripts to help you manage your Proxmox VE environment." ,
2024-11-04 23:55:08 +01:00
applicationName : "Proxmox VE Helper-Scripts" ,
2025-04-01 16:17:55 +02:00
generator : "Next.js" ,
2024-11-04 23:55:08 +01:00
referrer : "origin-when-cross-origin" ,
2025-04-01 16:17:55 +02:00
keywords : [
"Proxmox VE" ,
"Helper-Scripts" ,
"tteck" ,
"helper" ,
"scripts" ,
"proxmox" ,
"VE" ,
"virtualization" ,
"containers" ,
"LXC" ,
"VM" ,
] ,
authors : [
{ name : "Bram Suurd" , url : "https://github.com/BramSuurdje" } ,
{ name : "Community Scripts" , url : "https://github.com/Community-Scripts" } ,
] ,
2024-11-04 23:55:08 +01:00
creator : "Bram Suurd" ,
2025-04-01 16:17:55 +02:00
publisher : "Community Scripts" ,
metadataBase : new URL ( ` https://community-scripts.github.io/ ${ basePath } / ` ) ,
alternates : {
canonical : ` https://community-scripts.github.io/ ${ basePath } / ` ,
} ,
viewport : {
width : "device-width" ,
initialScale : 1 ,
maximumScale : 5 ,
} ,
2024-11-04 23:55:08 +01:00
formatDetection : {
email : false ,
address : false ,
telephone : false ,
} ,
openGraph : {
title : "Proxmox VE Helper-Scripts" ,
description :
2025-04-01 16:17:55 +02:00
"The official website for the Proxmox VE Helper-Scripts (Community) Repository. Featuring over 300+ scripts to help you manage your Proxmox VE environment." ,
url : ` https://community-scripts.github.io/ ${ basePath } / ` ,
siteName : "Proxmox VE Helper-Scripts" ,
2024-11-04 23:55:08 +01:00
images : [
{
2024-11-06 23:47:04 +01:00
url : ` https://community-scripts.github.io/ ${ basePath } /defaultimg.png ` ,
2025-04-01 16:17:55 +02:00
width : 1200 ,
height : 630 ,
alt : "Proxmox VE Helper-Scripts" ,
2024-11-04 23:55:08 +01:00
} ,
] ,
locale : "en_US" ,
type : "website" ,
} ,
2025-04-01 16:17:55 +02:00
twitter : {
card : "summary_large_image" ,
title : "Proxmox VE Helper-Scripts" ,
creator : "@BramSuurdje" ,
description :
"The official website for the Proxmox VE Helper-Scripts (Community) Repository. Featuring over 300+ scripts to help you manage your Proxmox VE environment." ,
images : [ ` https://community-scripts.github.io/ ${ basePath } /defaultimg.png ` ] ,
} ,
manifest : "/manifest.webmanifest" ,
appleWebApp : {
capable : true ,
statusBarStyle : "default" ,
title : "Proxmox VE Helper-Scripts" ,
} ,
2024-11-04 23:55:08 +01:00
} ;
export default function RootLayout ( {
children ,
} : Readonly < {
children : React.ReactNode ;
} > ) {
return (
< html lang = "en" suppressHydrationWarning >
< head >
Refactor ScriptItem and Buttons components to enhance layout and integrate dropdown for links. Update InterFaces component for improved styling and structure. (#3567)
* Refactor ScriptItem and Buttons components to enhance layout and integrate dropdown for links. Update InterFaces component for improved styling and structure.
* Add React Query integration and enhance component structure
- Introduced `@tanstack/react-query` for data fetching and state management.
- Added `QueryProvider` component to wrap the application with QueryClient.
- Refactored `ScriptItem` to utilize `useVersions` hook for fetching versions.
- Created `ResourceDisplay` and `VersionBadge` components for better resource representation.
- Improved layout and styling across various components, including `Alerts`, `Buttons`, and `DefaultPassword`.
- Updated `layout.tsx` to include the new `QueryProvider` for global state management.
* Remove bun.lock file to streamline dependency management and prevent potential conflicts.
* Update dependencies in package.json and package-lock.json
- Removed `@vercel/analytics` from dependencies.
- Upgraded `vitest` and related packages to version `3.1.1`.
- Updated various packages to their latest versions for improved performance and compatibility.
- Adjusted Node.js engine requirements to support newer versions.
* Update dependencies in package.json and package-lock.json
- Upgraded various Radix UI components to their latest versions for improved functionality and performance.
- Updated `chart.js`, `class-variance-authority`, `cmdk`, `framer-motion`, `fuse.js`, `nuqs`, `pocketbase`, and other packages to their latest versions.
- Enhanced TypeScript and ESLint packages for better type checking and linting capabilities.
- Updated Tailwind CSS and related plugins for improved styling and utility classes.
- Adjusted Node.js engine requirements in several packages to support newer versions.
2025-04-01 15:38:57 +02:00
< script defer src = { ` https:// ${ analytics . url } /script.js ` } data-website-id = { analytics . token } > < / script >
2025-04-01 16:17:55 +02:00
< link rel = "canonical" href = { metadata . metadataBase ? . href } / >
2024-11-04 23:55:08 +01:00
< link rel = "manifest" href = "manifest.webmanifest" / >
< link rel = "preconnect" href = "https://api.github.com" / >
< / head >
< body className = { inter . className } >
Refactor ScriptItem and Buttons components to enhance layout and integrate dropdown for links. Update InterFaces component for improved styling and structure. (#3567)
* Refactor ScriptItem and Buttons components to enhance layout and integrate dropdown for links. Update InterFaces component for improved styling and structure.
* Add React Query integration and enhance component structure
- Introduced `@tanstack/react-query` for data fetching and state management.
- Added `QueryProvider` component to wrap the application with QueryClient.
- Refactored `ScriptItem` to utilize `useVersions` hook for fetching versions.
- Created `ResourceDisplay` and `VersionBadge` components for better resource representation.
- Improved layout and styling across various components, including `Alerts`, `Buttons`, and `DefaultPassword`.
- Updated `layout.tsx` to include the new `QueryProvider` for global state management.
* Remove bun.lock file to streamline dependency management and prevent potential conflicts.
* Update dependencies in package.json and package-lock.json
- Removed `@vercel/analytics` from dependencies.
- Upgraded `vitest` and related packages to version `3.1.1`.
- Updated various packages to their latest versions for improved performance and compatibility.
- Adjusted Node.js engine requirements to support newer versions.
* Update dependencies in package.json and package-lock.json
- Upgraded various Radix UI components to their latest versions for improved functionality and performance.
- Updated `chart.js`, `class-variance-authority`, `cmdk`, `framer-motion`, `fuse.js`, `nuqs`, `pocketbase`, and other packages to their latest versions.
- Enhanced TypeScript and ESLint packages for better type checking and linting capabilities.
- Updated Tailwind CSS and related plugins for improved styling and utility classes.
- Adjusted Node.js engine requirements in several packages to support newer versions.
2025-04-01 15:38:57 +02:00
< ThemeProvider attribute = "class" defaultTheme = "dark" enableSystem disableTransitionOnChange >
2024-11-04 23:55:08 +01:00
< div className = "flex w-full flex-col justify-center" >
< Navbar / >
< div className = "flex min-h-screen flex-col justify-center" >
< div className = "flex w-full justify-center" >
2025-06-16 17:13:33 +02:00
< div className = "w-full max-w-[1440px] " >
Refactor ScriptItem and Buttons components to enhance layout and integrate dropdown for links. Update InterFaces component for improved styling and structure. (#3567)
* Refactor ScriptItem and Buttons components to enhance layout and integrate dropdown for links. Update InterFaces component for improved styling and structure.
* Add React Query integration and enhance component structure
- Introduced `@tanstack/react-query` for data fetching and state management.
- Added `QueryProvider` component to wrap the application with QueryClient.
- Refactored `ScriptItem` to utilize `useVersions` hook for fetching versions.
- Created `ResourceDisplay` and `VersionBadge` components for better resource representation.
- Improved layout and styling across various components, including `Alerts`, `Buttons`, and `DefaultPassword`.
- Updated `layout.tsx` to include the new `QueryProvider` for global state management.
* Remove bun.lock file to streamline dependency management and prevent potential conflicts.
* Update dependencies in package.json and package-lock.json
- Removed `@vercel/analytics` from dependencies.
- Upgraded `vitest` and related packages to version `3.1.1`.
- Updated various packages to their latest versions for improved performance and compatibility.
- Adjusted Node.js engine requirements to support newer versions.
* Update dependencies in package.json and package-lock.json
- Upgraded various Radix UI components to their latest versions for improved functionality and performance.
- Updated `chart.js`, `class-variance-authority`, `cmdk`, `framer-motion`, `fuse.js`, `nuqs`, `pocketbase`, and other packages to their latest versions.
- Enhanced TypeScript and ESLint packages for better type checking and linting capabilities.
- Updated Tailwind CSS and related plugins for improved styling and utility classes.
- Adjusted Node.js engine requirements in several packages to support newer versions.
2025-04-01 15:38:57 +02:00
< QueryProvider >
< NuqsAdapter > { children } < / NuqsAdapter >
< / QueryProvider >
2024-11-04 23:55:08 +01:00
< Toaster richColors / >
< / div >
< / div >
< Footer / >
< / div >
< / div >
< / ThemeProvider >
< / body >
< / html >
) ;
}