Redesign of the Proxmox VE Helper Scripts website. optimized for readablity and security
-
> [!WARNING]
> always check the source code of the scripts before running them. Copying random scripts without understanding what they do can lead to data loss or other security issues.
-## 👀 Why even use the Re-design?
-
-### Overview
-
-This repository contains a collection of helper scripts for Proxmox VE, designed to enhance and simplify the user experience. The scripts include various functionalities such as easier access to source code for improved security and a redesigned website for better script viewing.
-
-### Features
-
-- **Script Source Access**: Easily access the source code of each script to review and enhance security.
-- **Redesigned Website**: Improved layout for easier script viewing.
-
### Tech Stack
- [Next.js](https://nextjs.org/) with Typescript for the frontend
- [Tailwind CSS](https://tailwindcss.com/) for styling
From bf429b7d8b3d1682550d903b2e654148ee1f0a6b Mon Sep 17 00:00:00 2001
From: Bram Suurd <78373894+BramSuurdje@users.noreply.github.com>
Date: Sat, 2 Nov 2024 00:06:14 +0100
Subject: [PATCH 2/7] Update package.json
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index 672c947..aa06d79 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,7 @@
"private": true,
"author": {
"name": "Bram Suurd",
- "url": "https://github.com/BramSuurdje"
+ "url": "https://github.com/community-scripts"
},
"type": "module",
"scripts": {
From 217a734f0e4214183c37c2d620ee9a0c2f1729e8 Mon Sep 17 00:00:00 2001
From: Bram Suurd
Date: Sat, 2 Nov 2024 10:38:48 +0100
Subject: [PATCH 3/7] Add fallback logo handling for scripts in ScriptBrowser,
ScriptItem, and CommandMenu components
---
src/app/scripts/_components/ScriptBrowser.tsx | 108 +++++++++---------
src/app/scripts/_components/ScriptItem.tsx | 4 +
src/components/CommandMenu.tsx | 4 +
3 files changed, 64 insertions(+), 52 deletions(-)
diff --git a/src/app/scripts/_components/ScriptBrowser.tsx b/src/app/scripts/_components/ScriptBrowser.tsx
index 6544f97..3ceda3b 100644
--- a/src/app/scripts/_components/ScriptBrowser.tsx
+++ b/src/app/scripts/_components/ScriptBrowser.tsx
@@ -115,59 +115,63 @@ const ScriptBrowser = ({
}
className="pt-0"
>
- {category.expand.items
- .slice()
- .sort((a, b) => a.title.localeCompare(b.title))
- .map((script, index) => (
-