From e8f52689e1e2d3105580f4ead105f41892e8a4c8 Mon Sep 17 00:00:00 2001 From: Bram Suurd Date: Sat, 3 Aug 2024 14:48:35 +0200 Subject: [PATCH] bun format --- CONTRIBUTING.md | 6 +-- README.md | 6 +++ app/page.tsx | 2 +- components/Footer.tsx | 2 +- components/ScriptItem.tsx | 3 +- components/theme-toggle.tsx | 2 +- components/ui/dropdown-menu.tsx | 2 +- config/siteConfig.tsx | 69 ++++++++++++++++++--------------- 8 files changed, 51 insertions(+), 41 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9dfdcc4..8fc01e8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,9 +6,9 @@ Reading and following these guidelines will help us make the contribution proces ## Quicklinks -* [Getting Started](#getting-started) - * [Issues](#issues) - * [Pull Requests](#pull-requests) +- [Getting Started](#getting-started) + - [Issues](#issues) + - [Pull Requests](#pull-requests) ## Getting Started diff --git a/README.md b/README.md index 7a5e11f..89027ca 100644 --- a/README.md +++ b/README.md @@ -19,22 +19,28 @@ ## 👀 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. ## Getting Started ### Prerequisites + - Proxmox VE installed ### Contributing + Contributions are welcome! Please read the [contributing guidelines](CONTRIBUTING.md) for more information. ### License + This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details. ### Contact + For questions or support, please open an issue on GitHub. diff --git a/app/page.tsx b/app/page.tsx index 00469b7..e89ac76 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -15,7 +15,7 @@ export default function LandingPage() {

Proxmox VE Helper-Scripts

-

+

Proxmox VE Scripts for{" "} -

+
Build by{" "} - Theme + Theme setTheme("light")} className="mt-1"> Light diff --git a/components/ui/dropdown-menu.tsx b/components/ui/dropdown-menu.tsx index c730d0c..8d94a86 100644 --- a/components/ui/dropdown-menu.tsx +++ b/components/ui/dropdown-menu.tsx @@ -65,7 +65,7 @@ const DropdownMenuContent = React.forwardRef< ref={ref} sideOffset={sideOffset} className={cn( - "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] overflow-hidden rounded-md border glass bg-popover/50 p-1 text-popover-foreground shadow-md", + "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 glass z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover/50 p-1 text-popover-foreground shadow-md", className, )} {...props} diff --git a/config/siteConfig.tsx b/config/siteConfig.tsx index 27a364c..4581e3b 100644 --- a/config/siteConfig.tsx +++ b/config/siteConfig.tsx @@ -1,35 +1,40 @@ -import { LucideBookOpenCheck, LucideClipboardSignature, LucideGitPullRequestDraft, MessageSquareText } from "lucide-react"; +import { + LucideBookOpenCheck, + LucideClipboardSignature, + LucideGitPullRequestDraft, + MessageSquareText, +} from "lucide-react"; import { FaGithub } from "react-icons/fa"; export const navBarLinks = [ - { - href: "https://github.com/tteck/Proxmox/discussions", - event: "Discussions", - icon: , - text: "Discussions", - }, - { - href: "https://github.com/tteck/Proxmox/blob/main/.github/CONTRIBUTING.md", - event: "Contributing", - icon: , - text: "Contribute", - }, - { - href: "https://github.com/tteck/Proxmox/blob/main/USER_SUBMITTED_GUIDES.md", - event: "Guides", - icon: , - text: "Guides", - }, - { - href: "https://github.com/tteck/Proxmox/blob/main/CHANGELOG.md", - event: "Change Log", - icon: , - text: "Changelog", - }, - { - href: "https://github.com/tteck/Proxmox", - event: "View on GitHub", - icon: , - text: "View on Github", - }, - ] \ No newline at end of file + { + href: "https://github.com/tteck/Proxmox/discussions", + event: "Discussions", + icon: , + text: "Discussions", + }, + { + href: "https://github.com/tteck/Proxmox/blob/main/.github/CONTRIBUTING.md", + event: "Contributing", + icon: , + text: "Contribute", + }, + { + href: "https://github.com/tteck/Proxmox/blob/main/USER_SUBMITTED_GUIDES.md", + event: "Guides", + icon: , + text: "Guides", + }, + { + href: "https://github.com/tteck/Proxmox/blob/main/CHANGELOG.md", + event: "Change Log", + icon: , + text: "Changelog", + }, + { + href: "https://github.com/tteck/Proxmox", + event: "View on GitHub", + icon: , + text: "View on Github", + }, +];