Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Commit e8f5268

Browse files
committed
bun format
1 parent dabd29e commit e8f5268

File tree

8 files changed

+51
-41
lines changed

8 files changed

+51
-41
lines changed

CONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Reading and following these guidelines will help us make the contribution proces
66

77
## Quicklinks
88

9-
* [Getting Started](#getting-started)
10-
* [Issues](#issues)
11-
* [Pull Requests](#pull-requests)
9+
- [Getting Started](#getting-started)
10+
- [Issues](#issues)
11+
- [Pull Requests](#pull-requests)
1212

1313
## Getting Started
1414

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,28 @@
1919
## 👀 Why even use the Re-design?
2020

2121
### Overview
22+
2223
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.
2324

2425
### Features
26+
2527
- **Script Source Access**: Easily access the source code of each script to review and enhance security.
2628
- **Redesigned Website**: Improved layout for easier script viewing.
2729

2830
## Getting Started
2931

3032
### Prerequisites
33+
3134
- Proxmox VE installed
3235

3336
### Contributing
37+
3438
Contributions are welcome! Please read the [contributing guidelines](CONTRIBUTING.md) for more information.
3539

3640
### License
41+
3742
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
3843

3944
### Contact
45+
4046
For questions or support, please open an issue on GitHub.

app/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default function LandingPage() {
1515
<h1 className="relative z-20 bg-gradient-to-b from-[#0080C4] to-[#004c75] bg-clip-text py-4 text-center text-4xl font-bold text-transparent sm:text-left sm:text-5xl">
1616
Proxmox VE Helper-Scripts
1717
</h1>
18-
<p className="bg-gradient-to-b from-neutral-200 to-neutral-500 tracking-tight leading-loose bg-clip-text text-center text-xl sm:text-left">
18+
<p className="bg-gradient-to-b from-neutral-200 to-neutral-500 bg-clip-text text-center text-xl leading-loose tracking-tight sm:text-left">
1919
Proxmox VE Scripts for{" "}
2020
<Typewriter
2121
words={[

components/Footer.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import React from "react";
44
export default function Footer() {
55
return (
66
<div className="supports-backdrop-blur:bg-background/90 mt-auto flex justify-center border-t border-border bg-background/40 py-6 backdrop-blur-lg">
7-
<div className="max-w-7xl mx-6 w-full text-sm">
7+
<div className="mx-6 w-full max-w-7xl text-sm">
88
Build by{" "}
99
<Link
1010
href="https://github.com/BramSuurdje"

components/ScriptItem.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@ function ScriptItem({
105105
"be careful when copying scripts from the internet. Always remember check the source!",
106106
{ duration: 8000 },
107107
);
108-
}
109-
, 500);
108+
}, 500);
110109
} else {
111110
amountOfScriptsCopied = (parseInt(amountOfScriptsCopied) + 1).toString();
112111
localStorage.setItem("amountOfScriptsCopied", amountOfScriptsCopied);

components/theme-toggle.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function ModeToggle() {
2525
</Button>
2626
</DropdownMenuTrigger>
2727
<DropdownMenuContent align="end">
28-
<span className="text-sm ml-2 font-semibold">Theme</span>
28+
<span className="ml-2 text-sm font-semibold">Theme</span>
2929
<DropdownMenuItem onClick={() => setTheme("light")} className="mt-1">
3030
<Sun className="mr-2 h-4 w-4" />
3131
Light

components/ui/dropdown-menu.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const DropdownMenuContent = React.forwardRef<
6565
ref={ref}
6666
sideOffset={sideOffset}
6767
className={cn(
68-
"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",
68+
"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",
6969
className,
7070
)}
7171
{...props}

config/siteConfig.tsx

+37-32
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,40 @@
1-
import { LucideBookOpenCheck, LucideClipboardSignature, LucideGitPullRequestDraft, MessageSquareText } from "lucide-react";
1+
import {
2+
LucideBookOpenCheck,
3+
LucideClipboardSignature,
4+
LucideGitPullRequestDraft,
5+
MessageSquareText,
6+
} from "lucide-react";
27
import { FaGithub } from "react-icons/fa";
38

49
export const navBarLinks = [
5-
{
6-
href: "https://github.com/tteck/Proxmox/discussions",
7-
event: "Discussions",
8-
icon: <MessageSquareText className="mr-2 h-4 w-4" />,
9-
text: "Discussions",
10-
},
11-
{
12-
href: "https://github.com/tteck/Proxmox/blob/main/.github/CONTRIBUTING.md",
13-
event: "Contributing",
14-
icon: <LucideGitPullRequestDraft className="mr-2 h-4 w-4" />,
15-
text: "Contribute",
16-
},
17-
{
18-
href: "https://github.com/tteck/Proxmox/blob/main/USER_SUBMITTED_GUIDES.md",
19-
event: "Guides",
20-
icon: <LucideBookOpenCheck className="mr-2 h-4 w-4" />,
21-
text: "Guides",
22-
},
23-
{
24-
href: "https://github.com/tteck/Proxmox/blob/main/CHANGELOG.md",
25-
event: "Change Log",
26-
icon: <LucideClipboardSignature className="mr-2 h-4 w-4" />,
27-
text: "Changelog",
28-
},
29-
{
30-
href: "https://github.com/tteck/Proxmox",
31-
event: "View on GitHub",
32-
icon: <FaGithub className="mr-2 h-4 w-4" />,
33-
text: "View on Github",
34-
},
35-
]
10+
{
11+
href: "https://github.com/tteck/Proxmox/discussions",
12+
event: "Discussions",
13+
icon: <MessageSquareText className="mr-2 h-4 w-4" />,
14+
text: "Discussions",
15+
},
16+
{
17+
href: "https://github.com/tteck/Proxmox/blob/main/.github/CONTRIBUTING.md",
18+
event: "Contributing",
19+
icon: <LucideGitPullRequestDraft className="mr-2 h-4 w-4" />,
20+
text: "Contribute",
21+
},
22+
{
23+
href: "https://github.com/tteck/Proxmox/blob/main/USER_SUBMITTED_GUIDES.md",
24+
event: "Guides",
25+
icon: <LucideBookOpenCheck className="mr-2 h-4 w-4" />,
26+
text: "Guides",
27+
},
28+
{
29+
href: "https://github.com/tteck/Proxmox/blob/main/CHANGELOG.md",
30+
event: "Change Log",
31+
icon: <LucideClipboardSignature className="mr-2 h-4 w-4" />,
32+
text: "Changelog",
33+
},
34+
{
35+
href: "https://github.com/tteck/Proxmox",
36+
event: "View on GitHub",
37+
icon: <FaGithub className="mr-2 h-4 w-4" />,
38+
text: "View on Github",
39+
},
40+
];

0 commit comments

Comments
 (0)