Merge remote-tracking branch 'upstream/main'

This commit is contained in:
Sam Heinz
2025-01-17 19:02:30 +10:00
39 changed files with 1257 additions and 83 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ export default function Footer() {
<div className="supports-backdrop-blur:bg-background/90 mt-auto flex border-t border-border bg-background/40 py-6 backdrop-blur-lg">
<div className="flex w-full justify-between">
<div className="mx-6 w-full max-w-7xl text-sm text-muted-foreground">
Website build by the community. The source code is avaliable on{" "}
Website built by the community. The source code is avaliable on{" "}
<Link
href={`https://github.com/community-scripts/${basePath}`}
target="_blank"
+14 -9
View File
@@ -1,12 +1,15 @@
import { OperatingSystem } from "@/lib/types";
import { MessagesSquare, Scroll } from "lucide-react";
import { FaDiscord, FaGithub } from "react-icons/fa";
import React from "react";
export const basePath = process.env.BASE_PATH;
const isMobile = typeof window !== "undefined" && window.innerWidth < 640;
export const navbarLinks = [
{
href: `https://github.com/asylumexp/${basePath}`,
href: `https://github.com/asylumexp/Proxmox`,
event: "Github",
icon: <FaGithub className="h-4 w-4" />,
text: "Github",
@@ -18,18 +21,20 @@ export const navbarLinks = [
text: "Discord",
},
{
href: `https://github.com/asylumexp/${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",
},
{
href: `https://github.com/asylumexp/${basePath}/discussions`,
event: "Discussions",
icon: <MessagesSquare className="h-4 w-4 hidden sm:block" />,
text: "Discussions",
},
];
!isMobile
? {
href: `https://github.com/asylumexp/Proxmox/discussions`,
event: "Discussions",
icon: <MessagesSquare className="h-4 w-4" />,
text: "Discussions",
}
: null,
].filter(Boolean) as { href: string; event: string; icon: React.ReactNode; text: string }[];
export const mostPopularScripts = [
"Proxmox VE Post Install",