Update frontend links, navbar, etc.

This commit is contained in:
Sam Heinz
2025-01-09 21:57:06 +10:00
parent 2cd120429e
commit b5036f77a3
6 changed files with 23 additions and 27 deletions
+16 -12
View File
@@ -70,9 +70,9 @@ export default function Page() {
<DialogHeader> <DialogHeader>
<DialogTitle>Thank You!</DialogTitle> <DialogTitle>Thank You!</DialogTitle>
<DialogDescription> <DialogDescription>
A big thank you to Tteck and the many contributors who have A big thank you to Tteck, for your hard work over all of these years,
made this project possible. Your hard work is truly and also to the many other contributors to the project.
appreciated by the entire Proxmox community! Your hard work is truly appreciated by the entire Proxmox community!
</DialogDescription> </DialogDescription>
</DialogHeader> </DialogHeader>
<CardFooter className="flex flex-col gap-2"> <CardFooter className="flex flex-col gap-2">
@@ -93,7 +93,18 @@ export default function Page() {
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" /> Proxmox Helper <ExternalLink className="mr-2 h-4 w-4" /> Upstream Proxmox Helper
Scripts
</a>
</Button>
<Button className="w-full" asChild>
<a
href={`https://github.com/asylumexp/${basePath}`}
target="_blank"
rel="noopener noreferrer"
className="flex items-center justify-center"
>
<ExternalLink className="mr-2 h-4 w-4" /> ARM64 port - Proxmox Helper
Scripts Scripts
</a> </a>
</Button> </Button>
@@ -106,8 +117,7 @@ export default function Page() {
Make managing your Homelab a breeze Make managing your Homelab a breeze
</h1> </h1>
<p className="max-w-2xl text-center text-lg leading-relaxed tracking-tight text-muted-foreground md:text-xl"> <p className="max-w-2xl text-center text-lg leading-relaxed tracking-tight text-muted-foreground md:text-xl">
We are a community-driven initiative that simplifies the setup of This project aims to take the community-made Proxmox Helper Scripts, originally started by tteck, and port it to arm64.
Proxmox Virtual Environment (VE).
<br /> <br />
<br /> <br />
Originally created by{" "} Originally created by{" "}
@@ -118,12 +128,6 @@ export default function Page() {
<br /> <br />
the process of creating and configuring Linux containers (LXC) and the process of creating and configuring Linux containers (LXC) and
virtual machines (VMs) on Proxmox VE. virtual machines (VMs) on Proxmox VE.
<br />
<br />
With 200+ scripts to help you manage your{" "}
<b>Proxmox VE environment</b>.<br />
Whether you&#39;re a seasoned user or a newcomer, we&#39;ve got
you covered.
</p> </p>
</div> </div>
<div className="flex flex-row gap-3"> <div className="flex flex-row gap-3">
@@ -54,17 +54,9 @@ function ScriptItem({
<div className="ml-4 flex flex-col justify-between"> <div className="ml-4 flex flex-col justify-between">
<div className="flex h-full w-full flex-col justify-between"> <div className="flex h-full w-full flex-col justify-between">
<div> <div>
<h1 className="text-lg font-semibold"> <h1 className="text-lg font-semibold">
<span title={ {item.status} {item.name} {getDisplayValueFromType(item.type)}
item.status === '✅' ? 'This has been tested and should work.' : </h1>
item.status === '❌' ? 'This is not supported.' :
item.status === '🚧' ? 'This has not been ported yet.' :
item.status === '🧪' ? 'This has been ported but not tested yet.' :
''
}>
{item.status}
</span> {item.name} {getDisplayValueFromType(item.type)}
</h1>
<p className="w-full text-sm text-muted-foreground"> <p className="w-full text-sm text-muted-foreground">
Date added: {extractDate(item.date_created)} Date added: {extractDate(item.date_created)}
</p> </p>
@@ -5,7 +5,7 @@ import { Script } from "@/lib/types";
import { getDisplayValueFromType } from "../ScriptInfoBlocks"; import { getDisplayValueFromType } from "../ScriptInfoBlocks";
const getInstallCommand = (scriptPath?: string, isAlpine = false) => { const getInstallCommand = (scriptPath?: string, isAlpine = false) => {
return `bash -c "$(wget -q${isAlpine ? "" : "L"}O - https://github.com/community-scripts/${basePath}/raw/main/${scriptPath})"`; return `bash -c "$(wget -q${isAlpine ? "" : "L"}O - https://github.com/asylumexp/${basePath}/raw/main/${scriptPath})"`;
}; };
export default function InstallCommand({ item }: { item: Script }) { export default function InstallCommand({ item }: { item: Script }) {
+1 -1
View File
@@ -51,7 +51,7 @@ function Navbar() {
alt="logo" alt="logo"
src="logo.png" src="logo.png"
/> />
<span className="hidden lg:block">Proxmox VE Helper-Scripts</span> <span className="hidden lg:block">Proxmox ARM64 Helper-Scripts</span>
</Link> </Link>
<div className="flex gap-2"> <div className="flex gap-2">
<CommandMenu /> <CommandMenu />
@@ -13,7 +13,7 @@ export default function StarOnGithubButton() {
const fetchStars = async () => { const fetchStars = async () => {
try { try {
const res = await fetch( const res = await fetch(
`https://api.github.com/repos/community-scripts/${basePath}`, `https://api.github.com/repos/asylumexp/${basePath}`,
{ {
next: { revalidate: 60 * 60 * 24 }, next: { revalidate: 60 * 60 * 24 },
}, },
+1 -1
View File
@@ -34,7 +34,7 @@ export const navbarLinks = [
export const mostPopularScripts = [ export const mostPopularScripts = [
"Proxmox VE Post Install", "Proxmox VE Post Install",
"Docker", "Docker",
"Home Assistant OS", "PiMox HAOS",
]; ];
export const analytics = { export const analytics = {