forked from forkanization/Proxmox-arm64
fix github link
This commit is contained in:
@@ -10,8 +10,8 @@ import { basePath } from "@/config/site-config";
|
||||
import { getDisplayValueFromType } from "../script-info-blocks";
|
||||
|
||||
function getInstallCommand(scriptPath = "", isAlpine = false, useGitea = false) {
|
||||
const githubUrl = `https://raw.githubusercontent.com/community-scripts/${basePath}/main/${scriptPath}`;
|
||||
const giteaUrl = `https://git.community-scripts.org/community-scripts/${basePath}/raw/branch/main/${scriptPath}`;
|
||||
const githubUrl = `https://raw.githubusercontent.com/asylumexp/Proxmox/main/${scriptPath}`;
|
||||
const giteaUrl = `https://git.community-scripts.org/asylumexp/Proxmox/raw/branch/main/${scriptPath}`;
|
||||
const url = useGitea ? giteaUrl : githubUrl;
|
||||
return isAlpine ? `bash -c "$(curl -fsSL ${url})"` : `bash -c "$(curl -fsSL ${url})"`;
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ export default function Footer() {
|
||||
Website built by the community. The source code is available on
|
||||
{" "}
|
||||
<Link
|
||||
href={`https://github.com/community-scripts/${basePath}/tree/main/frontend`}
|
||||
href={`https://github.com/asylumexp/Proxmox/tree/main/frontend`}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className="font-semibold underline-offset-2 duration-300 hover:underline"
|
||||
|
||||
@@ -9,7 +9,7 @@ export const basePath = process.env.BASE_PATH || "";
|
||||
|
||||
export const navbarLinks = [
|
||||
{
|
||||
href: `https://github.com/community-scripts/${basePath}`,
|
||||
href: `https://github.com/asylumexp/Proxmox`,
|
||||
event: "Github",
|
||||
icon: <FaGithub className="h-4 w-4" />,
|
||||
text: "Github",
|
||||
@@ -21,14 +21,14 @@ export const navbarLinks = [
|
||||
text: "Discord",
|
||||
},
|
||||
{
|
||||
href: `https://github.com/community-scripts/${basePath}/blob/main/CHANGELOG.md`,
|
||||
href: `https://github.com/asylumexp/Proxmox/blob/main/CHANGELOG.md`,
|
||||
event: "Change Log",
|
||||
icon: <Scroll className="h-4 w-4" />,
|
||||
text: "Change Log",
|
||||
mobileHidden: true,
|
||||
},
|
||||
{
|
||||
href: `https://github.com/community-scripts/${basePath}/discussions`,
|
||||
href: `https://github.com/asylumexp/Proxmox/discussions`,
|
||||
event: "Discussions",
|
||||
icon: <MessagesSquare className="h-4 w-4" />,
|
||||
text: "Discussions",
|
||||
|
||||
Reference in New Issue
Block a user