forked from forkanization/Proxmox-arm64
fix errors
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
"use client";
|
"use client";
|
||||||
import { ArrowRightIcon, ExternalLink } from "lucide-react";
|
import { ArrowRightIcon, ExternalLink } from "lucide-react";
|
||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import { FaGithub } from "react-icons/fa";
|
import { FaGithub } from "react-icons/fa";
|
||||||
@@ -18,7 +18,6 @@ import { Separator } from "@/components/ui/separator";
|
|||||||
import { CardFooter } from "@/components/ui/card";
|
import { CardFooter } from "@/components/ui/card";
|
||||||
import Particles from "@/components/ui/particles";
|
import Particles from "@/components/ui/particles";
|
||||||
import { Button } from "@/components/ui/button";
|
import { Button } from "@/components/ui/button";
|
||||||
import { basePath } from "@/config/site-config";
|
|
||||||
import FAQ from "@/components/faq";
|
import FAQ from "@/components/faq";
|
||||||
import { cn } from "@/lib/utils";
|
import { cn } from "@/lib/utils";
|
||||||
|
|
||||||
@@ -82,7 +81,6 @@ export default function Page() {
|
|||||||
className="flex items-center justify-center"
|
className="flex items-center justify-center"
|
||||||
>
|
>
|
||||||
<FaGithub className="mr-2 h-4 w-4" />
|
<FaGithub className="mr-2 h-4 w-4" />
|
||||||
{" "}
|
|
||||||
Tteck's GitHub
|
Tteck's GitHub
|
||||||
</a>
|
</a>
|
||||||
</Button>
|
</Button>
|
||||||
@@ -94,19 +92,17 @@ export default function Page() {
|
|||||||
className="flex items-center justify-center"
|
className="flex items-center justify-center"
|
||||||
>
|
>
|
||||||
<ExternalLink className="mr-2 h-4 w-4" />
|
<ExternalLink className="mr-2 h-4 w-4" />
|
||||||
{" "}
|
|
||||||
Upstream - Proxmox Helper Scripts
|
Upstream - Proxmox Helper Scripts
|
||||||
</a>
|
</a>
|
||||||
</Button>
|
</Button>
|
||||||
<Button className="w-full" asChild>
|
<Button className="w-full" asChild>
|
||||||
<a
|
<a
|
||||||
href={`https://github.com/asylumexp/Proxmox`}
|
href="https://github.com/asylumexp/Proxmox"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="flex items-center justify-center"
|
className="flex items-center justify-center"
|
||||||
>
|
>
|
||||||
<ExternalLink className="mr-2 h-4 w-4" />
|
<ExternalLink className="mr-2 h-4 w-4" />
|
||||||
{" "}
|
|
||||||
Proxmox Helper Scripts ARM64
|
Proxmox Helper Scripts ARM64
|
||||||
</a>
|
</a>
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@@ -120,7 +120,8 @@ export default function ScriptAccordion({
|
|||||||
className="mr-1 w-4 h-4 rounded-full"
|
className="mr-1 w-4 h-4 rounded-full"
|
||||||
/>
|
/>
|
||||||
<span className="flex items-center gap-2">
|
<span className="flex items-center gap-2">
|
||||||
{script.status} {script.name}
|
{script.status}
|
||||||
|
{script.name}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{formattedBadge(script.type)}
|
{formattedBadge(script.type)}
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ import {
|
|||||||
DropdownMenuTrigger,
|
DropdownMenuTrigger,
|
||||||
} from "@/components/ui/dropdown-menu";
|
} from "@/components/ui/dropdown-menu";
|
||||||
import { Button } from "@/components/ui/button";
|
import { Button } from "@/components/ui/button";
|
||||||
import { basePath } from "@/config/site-config";
|
|
||||||
|
|
||||||
function generateInstallSourceUrl(slug: string) {
|
function generateInstallSourceUrl(slug: string) {
|
||||||
const baseUrl = `https://raw.githubusercontent.com/asylumexp/Proxmox/main`;
|
const baseUrl = `https://raw.githubusercontent.com/asylumexp/Proxmox/main`;
|
||||||
|
|||||||
Reference in New Issue
Block a user