Frontend
This commit is contained in:
parent
44b3099168
commit
0a70984f76
@ -11,9 +11,9 @@ import React from "react";
|
|||||||
const inter = Inter({ subsets: ["latin"] });
|
const inter = Inter({ subsets: ["latin"] });
|
||||||
|
|
||||||
export const metadata = {
|
export const metadata = {
|
||||||
title: "Proxmox VE Helper-Scripts",
|
title: "Proxmox VE Helper-Scripts DEVELOP",
|
||||||
generator: "Next.js",
|
generator: "Next.js",
|
||||||
applicationName: "Proxmox VE Helper-Scripts",
|
applicationName: "Proxmox VE Helper-Scripts DEVELOP",
|
||||||
referrer: "origin-when-cross-origin",
|
referrer: "origin-when-cross-origin",
|
||||||
keywords: [
|
keywords: [
|
||||||
"Proxmox VE",
|
"Proxmox VE",
|
||||||
@ -23,12 +23,13 @@ export const metadata = {
|
|||||||
"scripts",
|
"scripts",
|
||||||
"proxmox",
|
"proxmox",
|
||||||
"VE",
|
"VE",
|
||||||
|
"Development",
|
||||||
],
|
],
|
||||||
authors: { name: "Bram Suurd" },
|
authors: { name: "Bram Suurd" },
|
||||||
creator: "Bram Suurd",
|
creator: "Bram Suurd",
|
||||||
publisher: "Bram Suurd",
|
publisher: "Bram Suurd",
|
||||||
description:
|
description:
|
||||||
"A Front-end for the Proxmox VE Helper-Scripts (Community) Repository. Featuring over 200+ scripts to help you manage your Proxmox VE environment.",
|
"A Front-end for the Proxmox VE Helper-Scripts (DEVELOP) Repository. Featuring over 200+ scripts to help you manage your Proxmox VE environment.",
|
||||||
favicon: "/app/favicon.ico",
|
favicon: "/app/favicon.ico",
|
||||||
formatDetection: {
|
formatDetection: {
|
||||||
email: false,
|
email: false,
|
||||||
@ -37,7 +38,7 @@ export const metadata = {
|
|||||||
},
|
},
|
||||||
metadataBase: new URL(`https://community-scripts.github.io/${basePath}/`),
|
metadataBase: new URL(`https://community-scripts.github.io/${basePath}/`),
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: "Proxmox VE Helper-Scripts",
|
title: "Proxmox VE Helper-Scripts DEVELOP",
|
||||||
description:
|
description:
|
||||||
"A Front-end for the Proxmox VE Helper-Scripts (Community) Repository. Featuring over 200+ scripts to help you manage your Proxmox VE environment.",
|
"A Front-end for the Proxmox VE Helper-Scripts (Community) Repository. Featuring over 200+ scripts to help you manage your Proxmox VE environment.",
|
||||||
url: "/defaultimg.png",
|
url: "/defaultimg.png",
|
||||||
|
@ -7,8 +7,8 @@ export const generateStaticParams = () => {
|
|||||||
|
|
||||||
export default function manifest(): MetadataRoute.Manifest {
|
export default function manifest(): MetadataRoute.Manifest {
|
||||||
return {
|
return {
|
||||||
name: "Proxmox VE Helper-Scripts",
|
name: "Proxmox VE Helper-Scripts Development",
|
||||||
short_name: "Proxmox VE Helper-Scripts",
|
short_name: "Proxmox VE Helper-Scripts Development",
|
||||||
description:
|
description:
|
||||||
"A Re-designed Front-end for the Proxmox VE Helper-Scripts Repository. Featuring over 200+ scripts to help you manage your Proxmox VE environment.",
|
"A Re-designed Front-end for the Proxmox VE Helper-Scripts Repository. Featuring over 200+ scripts to help you manage your Proxmox VE environment.",
|
||||||
theme_color: "#030712",
|
theme_color: "#030712",
|
||||||
|
@ -103,17 +103,12 @@ export default function Page() {
|
|||||||
|
|
||||||
<div className="flex flex-col gap-4">
|
<div className="flex flex-col gap-4">
|
||||||
<h1 className="max-w-2xl text-center text-3xl font-semibold tracking-tighter md:text-7xl">
|
<h1 className="max-w-2xl text-center text-3xl font-semibold tracking-tighter md:text-7xl">
|
||||||
Make managing your Homelab a breeze
|
Beta Scripts
|
||||||
</h1>
|
</h1>
|
||||||
<div className="max-w-2xl gap-2 flex flex-col text-center sm:text-lg text-sm leading-relaxed tracking-tight text-muted-foreground md:text-xl">
|
<div className="max-w-2xl gap-2 flex flex-col text-center sm:text-lg text-sm leading-relaxed tracking-tight text-muted-foreground md:text-xl">
|
||||||
<p>
|
<p>
|
||||||
We are a community-driven initiative that simplifies the setup
|
On this Website you can find a collection of scripts that are under development and open for testing.
|
||||||
of Proxmox Virtual Environment (VE).
|
We do not provide any support for these scripts when run in production, but you can help us by testing them and providing feedback.
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
|
|
||||||
With 300+ scripts to help you manage your <b>Proxmox VE environment</b>. Whether you're a seasoned
|
|
||||||
user or a newcomer, we've got you covered.
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -46,10 +46,10 @@ export default function ScriptAccordion({
|
|||||||
);
|
);
|
||||||
if (category) {
|
if (category) {
|
||||||
setExpandedItem(category.name);
|
setExpandedItem(category.name);
|
||||||
handleSelected(selectedScript);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, [selectedScript, items, handleSelected]);
|
}, [selectedScript, items]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Accordion
|
<Accordion
|
||||||
type="single"
|
type="single"
|
||||||
|
@ -21,6 +21,8 @@ const Sidebar = ({
|
|||||||
return acc;
|
return acc;
|
||||||
}, [] as Script[]);
|
}, [] as Script[]);
|
||||||
|
|
||||||
|
const filteredItems = items.filter(category => category.scripts.length > 0);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex min-w-72 flex-col sm:max-w-72">
|
<div className="flex min-w-72 flex-col sm:max-w-72">
|
||||||
<div className="flex items-end justify-between pb-4">
|
<div className="flex items-end justify-between pb-4">
|
||||||
@ -31,7 +33,7 @@ const Sidebar = ({
|
|||||||
</div>
|
</div>
|
||||||
<div className="rounded-lg">
|
<div className="rounded-lg">
|
||||||
<ScriptAccordion
|
<ScriptAccordion
|
||||||
items={items}
|
items={filteredItems}
|
||||||
selectedScript={selectedScript}
|
selectedScript={selectedScript}
|
||||||
setSelectedScript={setSelectedScript}
|
setSelectedScript={setSelectedScript}
|
||||||
/>
|
/>
|
||||||
@ -40,4 +42,4 @@ const Sidebar = ({
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export default Sidebar;
|
export default Sidebar;
|
||||||
|
@ -47,7 +47,7 @@ function Navbar() {
|
|||||||
src="/ProxmoxVED/logo.png"
|
src="/ProxmoxVED/logo.png"
|
||||||
className=""
|
className=""
|
||||||
/>
|
/>
|
||||||
<span className="hidden md:block">Proxmox VE Helper-Scripts</span>
|
<span className="hidden md:block">Proxmox VE Helper-Scripts DEVELOPMENT REPO</span>
|
||||||
</Link>
|
</Link>
|
||||||
<div className="flex gap-2">
|
<div className="flex gap-2">
|
||||||
<CommandMenu />
|
<CommandMenu />
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"lib": ["dom", "dom.iterable", "esnext"],
|
"lib": [
|
||||||
|
"dom",
|
||||||
|
"dom.iterable",
|
||||||
|
"esnext"
|
||||||
|
],
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
@ -10,7 +14,7 @@
|
|||||||
"moduleResolution": "bundler",
|
"moduleResolution": "bundler",
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
"jsx": "react-jsx",
|
"jsx": "preserve",
|
||||||
"incremental": true,
|
"incremental": true,
|
||||||
"plugins": [
|
"plugins": [
|
||||||
{
|
{
|
||||||
@ -18,7 +22,9 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./src/*"]
|
"@/*": [
|
||||||
|
"./src/*"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"target": "ES2017"
|
"target": "ES2017"
|
||||||
},
|
},
|
||||||
@ -29,5 +35,7 @@
|
|||||||
".next/types/**/*.ts",
|
".next/types/**/*.ts",
|
||||||
"next.config.mjs"
|
"next.config.mjs"
|
||||||
],
|
],
|
||||||
"exclude": ["node_modules"]
|
"exclude": [
|
||||||
|
"node_modules"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user