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